LTE deinit() not working.



  • Hi

    >>> from network import LTE
    >>> lte=LTE()
    >>> lte.deinit()
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    OSError: the requested operation failed
    >>> lte.deinit()
    >>>
    

    I am using a FyPy module and the above error is what I get when I try to deinit LTE. But, when I give the command lte.deinit() again, it works.
    When I put the code in my program file, the program stops when the operation fails.

    Is there any other way to disable LTE on boot, like, lte_on_boot(False) or something?

    Thank you



  • @akshayjames

    try

    lte.deinit(reset=True)
    

Log in to reply
 

Pycom on Twitter