sgcWebSockets 4.2.3

From sgcWebSockets 4.2.3 Amazon AWS IoT is supported

AWS IoT provides device software, control services, and data services. Device software enables you to securely connect devices, gather data, and take intelligent actions locally, even when Internet connectivity is not available. Control services allow you to control, manage, and secure large and diverse device fleets. Data services help you extract value from IoT data.

Good candidates for Amazon AWS IoT:

  • Industrial: AWS IoT customers are building industrial IoT applications for predictive quality and maintenance and to remotely monitor operations.  
  • Connected Home: AWS IoT customers are building connected home applications for home automation, home security and monitoring, and home networking.
  • Commercial: AWS IoT customers are building commercial applications for traffic monitoring, public safety, and health monitoring.

 

Changes included

 [+] : New Component "TsgcIoTAmazon_MQTT_Client", MQTT client to connect to Amazon AWS IoT Server Broker.

 [+] : New Method "Connect" TsgcWebSocketClient, try to connect to the server and wait till the connection is successful.

 [+] : New Method "Disconnect" TsgcWebSocketClient, try to disconnect from the server and wait till disconnection is successful.

 [+] : New method "Invite" Client Presence protocol, allows sending an invitation to another member to subscribe to a channel.

 [+] : If TsgcWebSocketClient.Options.CleanDisconnect = True, when set Active := False, client sends a message to the server to close connection.

 [+] : New Property in HTTP API Server, Asynchronous, if enabled, messages are sent asynchronously, by default is disabled so waits till a message is sent to client.

 [+] : New Event in HTTP API Server, OnAsynchronous, this event is called after an asynchronous completion call.

 

 [*] : Fixed Bug TsgcWebsocketServer_HTTPAPI, if there was an error sending heartbeat to a client, the process not continue with the next client.

 [*] : Fixed Bug TsgcWebSocketServer_HTTPAPI, SSLHash was not set in NewBinding method.

 [*] : Fixed Bug TsgcWebsocketServer_HTTPAPI, GetURL was not implemented.

 [*] : Fixed Bug TsgcWebsocketServer_HTTPAPI, if connections are free delayed, when a protocols was attached, connection was not added to queue.

 [*] : Fixed Memory Leak in TsgcWebSocketServer_HTTPAPI server component.

 [*] : Fixed Bug STOMP Protocol when NotifyEvents = neNosync, events where not called.