AnsweredAssumed Answered

Trouble with exiting data mode

Question asked by lainovic.marko on Apr 23, 2015
Latest reply on Apr 24, 2015 by Gerardo Gallucci

I have a problem trying to exit data mode upon establishing the connection as the socket server. The problem is that the escape sequence is interpreted as yet another data chunk to be sent to the client. Increasing sockd_timeout variable didn't help. I tried with both default and custom escape sequences.

I am simply unable to leave data mode!

Some other things I noticed, which might be of help:
- while in command mode, if I enter the current valid custom escape sequance (reported by examining escape_seq variable), I am greeted with the message "ERROR: command not found". On the other hand, if I enter default "AT+S." sequence, I get the message saying data mode is unavailable.
Is this behavior expected?

- When I try to shut down the socket server, either before entering data mode (which I cannot leave), or after client disconnects (thus forcing the module back into command mode), hard fault always ensues.

I am not sure what else to do. Any thoughts?