Commit Graph

229 Commits

Author SHA1 Message Date
Joshua Gutenplan
214e1d215c Added the client config object, and added the receive queue and thread with event to the Secure TCP server and client. Will need to duplicate to the unsecure at some point after testing. 2019-06-13 19:17:09 -07:00
Neil Dorin
3d270499ba Incremented Assembly version to 1.0.22. Set build option to generate .xml file. Added .xml file to CLZ Builds folder as well as compiled output 2019-06-12 12:10:45 -06:00
Neil Dorin
763a11da7d Merge remote-tracking branch 'origin/development' into HEAD 2019-06-12 12:01:07 -06:00
Joshua Gutenplan
fcc1ef3d1d add same updates to secure tcp client for server. Moves on ready to fire on connect call back and makes sure that first message fires text received when shared key not enabled. 2019-06-10 02:23:34 -07:00
Joshua Gutenplan
229723b50f Moved on ready to call on connect callback if shared key not required and connected. Moved text received event to else to get called on first message if shared key is off 2019-06-10 02:07:00 -07:00
Joshua Gutenplan
8362197030 Updated to add check for heartbeat enabled before setting a SendOrReceiveTimeOutInMs. Used find to find all refs of that prop being set and added check for heartbeat enable. 2019-06-06 15:05:01 -07:00
Jason DeVito
2b79071bd8 Updates to json2.4.1 to resolve issues with reading nested array objects 2019-06-03 13:30:13 -05:00
Heath Volmer
40b8ae6219 Changed Array module Initialize to InitializeWithAppend 2019-05-29 08:15:31 -06:00
Heath Volmer
ef489ab48e Added AppendToPathPrefix to JSON array modules, to facilitate array lookup modules chained together; corresponds to 2.4.1 modules 2019-05-28 16:48:57 -06:00
Neil Dorin
0cf77f1c51 Merge remote-tracking branch 'origin/development' into maintenance/PR-1
# Conflicts:
#	Pepperdash Core/Pepperdash Core/Properties/AssemblyInfo.cs
2019-05-23 14:10:26 -06:00
Neil Dorin
27940027ad Merge remote-tracking branch 'origin/feature/PDC-9_ReceivedDataAsyncCallbackFixes' into maintenance/PR-1
# Conflicts:
#	Pepperdash Core/Pepperdash Core/Properties/AssemblyInfo.cs
2019-05-23 14:08:37 -06:00
Neil Dorin
7208f4dc80 Updated Assembly version to 1.0.20. 2019-05-23 14:06:43 -06:00
Neil Dorin
1a17843399 Adds revision number to PepperDashCoreVersion string. 2019-05-23 09:15:23 -06:00
Jason T Alborough
03e42cdb5b # PDC-9_ReceivedDataAsync
- Fixes the ReceivedDataAsyncCallback on GenericTcpServer and GenericSecureTcpServer per internal code review.
2019-05-21 16:20:30 -04:00
Trevor Payne
87e8223d35 pdc-8 : Added PepperDashVersion property to Debug Class 2019-05-16 15:00:58 -05:00
Neil Dorin
f330cc0f5a Minor adjustment to event registration for SocketStatusChange 2019-05-16 11:44:09 -06:00
Neil Dorin
4aded28792 Resolves both bugfix pdc-6 and pdc-7 2019-05-16 10:53:15 -06:00
Neil Dorin
ada6090b43 Resoves bug where on program stop event, GenericSshClient was only calling Client.Disconnect() instead of its own Disconnect() methods which disconnects the client and also prevents auto reconnect attempts. 2019-05-07 16:50:36 -06:00
Jason T Alborough
b3a003352e # PDC-5 AddQueueToGenericUdpServer
- Removed the Finally statement. Using finally caused a null refence exception for the CCriticalSection object at shutdown.
2019-04-25 08:32:46 -04:00
Neil Dorin
9e76a817fc Added additional inline comments for clarity 2019-04-24 11:30:58 -06:00
Neil Dorin
860118b3c6 Updated Assembly Version to 1.0.17 2019-04-24 11:21:13 -06:00
Neil Dorin
47b0399e3a Reworks dequeueing and CCriticalSection usage to ensure proper threading behavoir. 2019-04-24 11:16:57 -06:00
Jason T Alborough
54324d7e43 # GenericUdpServer
- Adds an event GenericUdpReceiveTextExtraArgs which has args that include TextRx, BytesRx, IpAddressRecivedFrom, PortRecievedFrom
- Removes the getter property for LastMessageReceivedFrom
2019-04-22 10:30:39 -04:00
Jason T Alborough
73b9cd8c31 Adds a getter in GenericUdpServer for the UdpServer property IPAddressLastMessageReceivedFrom 2019-04-19 11:31:59 -04:00
Neil Dorin
b693c1850a Adds feature to print to console and log the Assembly version of the library on program start, for debug and reference purposes. 2019-04-03 14:02:34 -06:00
Neil Dorin
1bd0d2df9c Attempts to resolve exception thrown from inside CrestronLogger.Initialize() that occurs when RM is present, but cannot be accessed for some reason. 2019-04-02 15:38:05 -06:00
Neil Dorin
d075f56b2a Update to attempt to resolve issue with intitializing Crestron Logger if RM is not present. 2019-04-02 13:10:38 -06:00
Neil Dorin
c723545dc6 Merge remote-tracking branch 'origin/release' into bugfiix/pdc-3
# Conflicts:
#	Pepperdash Core/Pepperdash Core/Properties/AssemblyInfo.cs
2019-04-01 16:19:28 -06:00
Neil Dorin
5b1f1e683f Updates merge methods to handle unkeyed arrays by replacing the template array with the system array 2019-04-01 16:18:29 -06:00
Jason T Alborough
46c71d8f70 Changes GenericTCPServer to use Non Secure TCPServer Classes. 2019-02-20 11:30:32 -05:00
Joshua Gutenplan
b3203cf961 updated the secure and non secure servers and added clients that are meant to be used with our server classes. The clients add the shared key and other stability features when we manage the server. 2019-02-18 15:49:45 -08:00
Heath Volmer
e5efbdec5e v1.0.13; clz builds; touchups 2019-02-12 12:50:16 -07:00
Heath Volmer
255095ee7f Added step to merge arrays on key property; try/catch in merge with some additional path debugging 2019-02-12 12:26:34 -07:00
Neil Dorin
c58a2633de Added missing third constuctor to EventArgs classes for JsonToSimpl 2019-02-07 14:21:48 -07:00
Neil Dorin
4fc70731c1 Updates to Device to add PreActivate and PostActivate methods. GenericUdpServer initially tested and working. 2018-12-14 16:54:31 -07:00
Neil Dorin
61a94ec6d6 Initial work on GenericUdpServer 2018-12-12 16:26:18 -07:00
Neil Dorin
28a42791a4 Adds properties for Cec 2018-10-03 17:45:49 -06:00
Heath Volmer
50f34a5af2 Fixed StackOverflow when accessing EthernetHelper.LanHelper (which nobody has probably ever accessed.) 2018-09-07 18:02:12 -06:00
Heath Volmer
07aef1878c Changed Debug.Console methods to log all messages marked as such to log; ssh cleanup 2018-08-31 11:50:01 -05:00
Heath Volmer
7c2f4c2c24 sshClient, removing comments and repairing indentation 2018-08-18 08:17:09 -06:00
Heath Volmer
e829ba74d5 ecs-732; Fixed reconnect on initial connection; changed debug levels to 1 2018-06-05 10:25:27 -06:00
Heath Volmer
88a35b0e40 v1.0.6; added clz/dll for previous commit 2018-05-23 12:13:28 -06:00
Heath Volmer
14c4a9dd6b Revised debugging in JSONToSimpl classes; added new JsonToSimplPortalFileMaster to read portal system/template files and merge; copied merge code in from Essentials and reworked (note that Essentials does not yet use this merge code); added 'global' object to the top-level objects that are merged 2018-05-23 12:11:20 -06:00
Heath Volmer
494b8b09e1 1.0.5 fix for array lookups that fail stepping on index 0. Reduced debugging output 2018-05-11 15:05:22 -06:00
Heath Volmer
cb63734fba Pull request and build 2018-02-22 15:10:33 -07:00
Neil Dorin
b8b3324243 v1.0.4.* - Updated AssemblyInfo Version 2018-02-07 10:21:38 -07:00
Neil Dorin
7b84400332 Updates to GenericTcpIpClient Class to improve stablity and not leave unused sockets behind when disconnecting and reconnecting. Fixed edge case NullReferenceExceptions 2018-02-07 10:17:26 -07:00
Heath Volmer
0f2d1d9d15 Added release package back in! 2018-02-06 13:22:43 -07:00
Heath Volmer
4409644cf7 Added hybrid ipid/tcp eControlType for HD-MD things 2018-02-06 12:40:50 -07:00
Heath Volmer
292183098f merged in master 2018-01-29 20:57:06 -07:00