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?
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.
Regards
Lauri
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.
Hi
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.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi
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?
Regards
Lauri
AT&S refers to serial flow control.
Doesn’t this relate with your DCD thread?
Hi
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.
Regards
Lauri
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.
Hi
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.
Lauri