RS232 Listener Implementation | Thales IoT Developer Community
March 26, 2015 - 12:57am, 3170 views
I am looking at implementing an RS232 Listener.
I would appreciate any help in locating an example or documentation for its implementation. This will include initially ensuring I am listening on the required port, ASC0 or ASC1 on the EHS6T.
On the system I am looking at designing there will also be a ATCommand Listener. Since I need to be able to respond to either Listener, which operate asynchronously with other, and not lose data. Will that mean I will need to create a protocol so that the transmitting end will effectively poll the GSM device until one of the Listeners respond, before I start transmitting data. I am initially assuming the device will not be fast enough to service the code associated with both Listeners simultaneously, due to the delay with threads trying to time-slice between the two threads?