I want to be able to "listen for" and "transmit" modem messages concurently.
Basically, I want to activley be listening for incoming messages, but during that time I may want to send messages as well. Additionally, once a message is received, I want to do something about it, whilst going back to "listening" for messages again.
Listener()
-> Add incoming message to queue
Processor()
-> Process message queue
Sender()
-> Send messages as needed
I have the general idea, I am just unsure how to execute this (if even possible) with LUA and OC.
Any psudo code or hi