Commit Graph

269 Commits

Author SHA1 Message Date
jdevito
897b1c86e1 fix: rebased on latest development branch, added missing XML comments to resolve warnings in Web classes 2023-01-24 11:54:03 -06:00
jdevito
78631be830 refactor: Changed CWS references to WebApi, re-organized Web folder 2023-01-18 15:22:50 -06:00
jdevito
e98aae2d89 fix: Added CwsBaseHandler, refactored CwsDefaultRequestHandler 2023-01-18 13:30:27 -06:00
jdevito
1cbdc5aaef feat: added crestron web server (cws) generic base 2023-01-17 09:50:39 -06:00
Jason T Alborough
dd0a9285a5 Merge branch 'development' into hotfix/ssh-tcp-reconnect-fix
# Conflicts:
#	Pepperdash Core/Pepperdash Core/Comm/GenericSshClient.cs
#	Pepperdash Core/Pepperdash Core/Comm/GenericTcpIpClient.cs
2022-09-08 11:27:29 -04:00
Alex Johnson
9326703454 Changes lock to CCriticalSection 2022-09-07 11:46:06 -04:00
Alex Johnson
4139556149 Changes some debug levels to notify upon errors in console 2022-09-02 15:00:57 -04:00
Alex Johnson
c722542b04 Adds lock to ssh and tcp classes to prevent possible threading issues. 2022-09-02 14:50:15 -04:00
Alex Johnson
b12e798041 Reworks reconnect timer due to issues seen on 4 series where autoreconnect cycle breaks. 2022-08-24 14:11:46 -04:00
Alex Johnson
f135029ad6 Reduces error log messages from SSH client on basic disconnects 2022-07-07 10:51:37 -04:00
Jason DeVito
33c3aa9979 feat: added roomName reporting to EvaluateFile, updated constants used by JSON wrapper modules, refactored programCompatibility checks 2022-06-15 11:16:45 -05:00
Jason DeVito
3fa94a92d2 fix: updated EvaluateFile method to resolve issues reading files on an appliance discovered when testing on a 3-series 2022-06-15 10:01:19 -05:00
Jason DeVito
8be02fa458 fix: updated JsonToSimplFileMaster EvaluateFile method, added event arg constant in support of data being passed to simpl 2022-06-14 20:19:23 -05:00
Neil Dorin
e86edbd2fb docs(core): Resolves remaining XML comment compiler warnings 2022-06-08 14:27:09 -06:00
Neil Dorin
afcaa89125 docs(core): Adds missing XML comments for public members 2022-06-07 16:45:20 -06:00
Neil Dorin
383d01b734 fix(essentials): Fixes regex lines check in delimiter loop 2022-02-10 13:11:13 -07:00
Neil Dorin
720c8d9ee3 fix(essentials): appends correct delimiter 2022-02-10 12:20:39 -07:00
Neil Dorin
b2d3faf208 feat(essentials): #128 Adds ability for CommunicationGather to take multiple delimiters 2022-02-10 10:22:28 -07:00
Andrew Welker
bbbd6d2290 refactor: fix missing } 2022-02-09 10:07:59 -07:00
Andrew Welker
b64aa97a3f Merge branch 'development' into hotfix/ssh-logging 2022-02-09 09:49:27 -07:00
Andrew Welker
664b26908b Merge branch 'main' into hotfix/ssh-logging 2022-02-09 09:14:07 -07:00
Alex Johnson
0c950404d6 Removes ReconnectTimer = null action from HandleConnectionFailure timer event and moves some debug to level 1 for better visibility. 2022-02-08 16:21:55 -05:00
Andrew Welker
e565144830 refactor: Move failure handling out of catch blocks just in case 2021-10-18 12:16:22 -06:00
Andrew Welker
f947bb8939 refactor: Add logging of some messages to error log
Also moves some error handling and status notifications into the catch blocks in the `Connectr()` method.
2021-10-18 12:04:51 -06:00
Jason DeVito
195cf3fe0d fix: changed ConnectionChange event and handler to use GenericSocketStatusChangeEventArgs. 2021-09-20 11:12:45 -05:00
Jason DeVito
e8eeda36c1 fix: changed SecureTcpClient to private. fix: removed the ConnectionHasHungCallbackDelegate, was unused. 2021-09-15 08:01:47 -05:00
Jason DeVito
1d04442625 feat: Created new GenericSecureTcpIpClient from GenericSecureTcpIpClient_ForServer, implementing ISocektStatusWithStreamDebugging. chore: Added JsonProperty decorators to TcpClientConfigObject.cs. 2021-09-14 18:09:34 -05:00
Jason DeVito
3998369244 feat: added SecureTcpIp to eControlMethod enum for plugin. Actual SecureTcpIp client is not currently available. 2021-09-14 15:34:37 -05:00
Neil Dorin
4af5eede40 feat(PepperDashCore): #114 Adds QscCoreDoubleTcpIpClient 2021-08-24 10:28:46 -06:00
Neil Dorin
5779842e9a fix(GenericSshClient): #110 Adds check to ensure TheStream != null and IsConnected in SendText() and SentBytes() 2021-07-30 13:49:57 -06:00
Neil Dorin
aa8951e45a Merge pull request #105 from PepperDash/hotfix/udp-server-queue
Hotfix/udp server queue
2021-07-23 15:01:01 -06:00
Andrew Welker
ee7e5f1548 feat: Add Initialize method
This method is to be used for starting communications with a device, or other actions that aren't internal to the program.
2021-07-23 14:46:32 -06:00
Andrew Welker
fcc7169be9 Merge branch 'development' into hotfix/udp-server-queue 2021-07-01 14:24:41 -06:00
Andrew Welker
43efa2de18 fix: (PepperDash Core) Fix issue with stream debugging and bytes received
Also fixed some spelling errors and added length info to the received messages for UDP, TCP, and SSH clients
2021-07-01 14:00:27 -06:00
Nick Genovese
14b3f1b493 removed udp server queue 2021-06-17 08:51:31 -07:00
Neil Dorin
751c20f0d1 Merge pull request #100 from PepperDash/hotfix/xsig-digital-token-fix
Fix XSigToken Indexing
2021-06-10 09:35:57 -06:00
Andrew Welker
a92b489e52 fix formatting 2021-06-10 09:00:38 -06:00
Andrew Welker
0a77b8681d fix indexing for tokens 2021-06-09 16:41:49 -06:00
Neil Dorin
8d90247425 Merge pull request #96 from PepperDash/hotfix/tcp-client-disconnect-timer-exeption
Hotfix/tcp client disconnect timer exeption
2021-04-22 14:39:18 -06:00
Neil Dorin
81b274fa99 #94 adds null check in timer callback and stops timer on user disconnect call 2021-04-22 14:26:36 -06:00
Alex Johnson
e7d54092d8 Simplifies regex for detecting non-printable characters 2021-03-04 12:07:07 -05:00
Alex Johnson
1ae2483110 Uses existing method to get escaped text for console 2021-03-04 11:47:25 -05:00
Alex Johnson
3725980462 Adds better stream debugging for SendText methods 2021-03-04 11:02:19 -05:00
Neil Dorin
c95f6e0512 #87 Adds joinMap object to merge operation 2021-01-21 16:12:43 -07:00
Andrew Welker
14aa1bd867 Merge branch 'main' into hotfix/commGather-debug 2020-12-21 12:36:49 -07:00
Andrew Welker
fa451e980b remove additional debug statement 2020-12-21 12:35:54 -07:00
Andrew Welker
72c3684e57 Merge pull request #81 from PepperDash/hotfix/commGather-debug
Hotfix/comm gather debug
2020-12-21 12:09:40 -07:00
Neil Dorin
f3843c58a2 Merge pull request #69 from PepperDash/feature/debug-settings-storage
Update debug settings to move to user instead of nvram
2020-12-21 11:47:53 -07:00
Andrew Welker
9f84090f3d remove debug statement 2020-12-21 11:45:25 -07:00
Andrew Welker
5c603a636c stop AutoReconnect on initial connect
also corrected a debug call to add the key
2020-11-10 16:06:53 -07:00