Is there a possibility to have any of the pins reporting if the module (UL865) is in command or data mode?
For example: AT&S for configuring DSR has the option:
3 – High when device is ready to receive commands (factory default).
But that seems to be high all the time. It would be so nice if it would go low in data mode. Or am I missing something – what is the “usual” way to detect if data/command modes?
AT&S refers to serial flow control.
Doesn’t this relate with your DCD thread?
It is also my understanding that AT&S refers to USART flow ontrol. So the description “ready to receive cmmands” is a bit misleading – in data mode.
This question is not related to my DCD question. DCD is an easy way to check if there is an active connection. Connection can be kept open also in command mode. But how to check if Telit is in command mode or data mode? Would be so nice if there could be a pin to signal that.
We are speaking then about how a socket connection is open, in online or command mode, but this is as a result of your application action so it should not loose track of this I suppose? I can’t imagine how this would happen.
Yes, exactly, I need to keep track on that right now. I was a bit afraid if that goes out of sync somehow. Right now I open a connection in data mode I expect it to stay in this until DCD is asserted (if I don’t explicitly do anything). If you say that it’s the standard use and Telit will never go back to command mode by itself (when connection is still up), I could keep that logic and relay on that.
Hit enter to search or ESC to close
Knowledge Base & Download Zone