Shutting module down via python

7 thoughts on “Shutting module down via python

  1. Is there a better way to shutdown a module from within a python script?

    Currently we are using the He910.

    When at#shdn is executed the script continues running and the module never shuts down.

      1. Try AT#SYSHALT.

        I attempted at#syshalt=0,0,1 and at#syshalt=? but the command returned error. This was attempted directly from the at command prompt via serial port and not python.

        My module is running sw version 12.00.007 and selint is set to 2.

        Same error message for at#fastsyshalt.

        Do I need to update the firmware?

        Thanks

        Mike

        1. I am sorry I didn’t notice you hae a HE910 and was misleaded by the Python 1.5.2+ forum category here.

          AT#(FAST)SYSHALT is not available in HE910/UE910.

          1. I am sorry I didn’t notice you hae a HE910 and was misleaded by the Python 1.5.2+ forum category here.

            AT#(FAST)SYSHALT is not available in HE910/UE910.

            Sorry about the category. This is python 2.7.

          2. Should there be a different when using at#shdn vs AT#SHDN?

            It appears using all caps changes the behavior of the interrupter.

            We are still looking into to make sure there was nothing else changed but as of now using all caps works while lower case doesn’t. 

            Any thoughts?

          3. It shouldn’t be any difference with the caps. Rather make sure there are anything transmitted after CR, the command terminator, ie not CRLF.