-
Couldn't load subscription status.
- Fork 18
Open
Description
My use case is to simulate a basic serial device over tcp that responds to commands but also sends unsolicited messages
The doc's strings and Readthedocs are great but I feel I am missing something
I am using a TCP Stream Based on Motor Example
I have successfully implemented Cmd's and get the correct responses
I would like to get an unsolicited_reply() from the StreamHandler when the following events happen
- a new connection is made to the simulation interface with Telnet Host:Port (no data yet sent from Client) -> Generates a Welcome message
- a periodic (Non Regular - random time interval) event happens in the simulated Device subclassing
StateMachineDeviceand sends anunsolicited_replyto the TCP client, ie simulating a state change throughlewis-control device .... - a periodic (regular - fixed time interval) variant of 2.
Metadata
Metadata
Assignees
Labels
No labels