AT Commands
-
Pycom MicroPython 1.18.1.r1 [v1.8.6-849-b0520f1] on 2018-08-29; GPy with ESP32
Regarding the LTE command:
lte.send_at_cmd(cmd)The manual states:
"Send an AT command directly to the modem. Returns the raw response from the modem as a string object. IMPORTANT: If a data session is active (i.e. the modem is connected), sending the AT commands requires to pause and then resume the data session. This is all done automatically, but makes the whole request take around 2.5 seconds."
The bold section above does not appear to be the case. When called during a data session I get the exception:
"OSError: LTE modem is in data state, cannot send AT commands"
-
I know this post is a couple of months old, but I experience the same thing. I have to manually disconnect and reconnect LTE to send AT commands. I'm not sure if it's truly necessary, but I also added a half second sleep after disconnect() before I send the AT command.
-
Hi,
I'm experiencing the same issue. I was wondering if any of you two had news on this matter.
Thanks. -
@arnaudp
Check lte.pppsuspend() and lte.pppresume() methods.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login