AT Commands

  • Pycom MicroPython 1.18.1.r1 [v1.8.6-849-b0520f1] on 2018-08-29; GPy with ESP32

    Regarding the LTE command:


    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"


Pycom on Twitter