This topic has 2 replies, 2 voices, and was last updated 1 year, 5 months ago by Pontus. This post has been viewed 904 times

  • Author
  • #614


    I am programming my FiPy to send UDP packages over the NB-IoT network and therefore trying to get the IMSI number from the SIM card installed.
    I am using AT commands in the REPL:

    >>> from network import LTE
    >>> lte = LTE()
    >>> lte.send_at_cmd(“AT+CIMI”)

    I have tried changing to another SIM card, but remained unsuccessful in getting the IMSI.
    Anyone who can help?

    PS. The AT command to get the IMEI number works without difficulty.
    >>> lte.send_at_cmd(“AT+CGSN”)


    New update: I figured it out!

    I used a sequence in the REPL that I find fixes almost anything, and after this it worked.

    >>>from network import LTE
    >>>lte = LTE()

    Hope this can be helpful for someone else as well. 🙂


    Glad it worked out and thanks for sharing! 🙂

    I’ll add that it can also help to check that the SIM card is inserted and in the correct position whenever there is trouble with SIM related operations 😁

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

© 2021 Telenor Start IoT

Log in with your credentials

Forgot your details?