Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    LTE modem stops to reply

    Scheduled Pinned Locked Moved GPy
    gpy nbiot
    3 Posts 3 Posters 517 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      abrilevskiy
      last edited by abrilevskiy

      
      
      rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      configsip: 0, SPIWP:0xee
      clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
      mode:DIO, clock div:1
      load:0x3fff8028,len:8
      load:0x3fff8030,len:1728
      load:0x4009fa00,len:0
      load:0x4009fa00,len:14584
      entry 0x400a059c
      Pycom MicroPython 1.18.1.r1 [v1.8.6-849-b0520f1] on 2018-08-29; GPy with ESP32
      Type "help()" for more information.
      >>> from network import LTE
      >>>
      >>>
      >>> lte = LTE()
      >>>
      >>>
      >>>
      >>> lte.send_at_cmd('AT')
      '\r\nOK\r\n'
      >>> lte.attach()
      >>>
      >>>
      >>>
      >>> lte.is
      isattached      isconnected
      >>> lte.isattached()
      False
      >>>
      >>>
      >>>
      >>>
      >>> lte.isattached()
      False
      >>>
      >>>
      >>>
      >>> lte.isattached()
      False
      >>>
      >>>
      >>>
      >>> slte.e
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>> lte.send_at_cmd('AT!="ifconfig"')
      '\r\n    lo0\tLink HWaddrLen 0 HWaddr 00:00:00:00:00:00\r\n       \tUP MTU:0\r\n       \tinet Addr:127.0.0.1  Gw:127.0.0.1  Mask:255.0.0.0\r\n       \tinet6 Addr: ::1\r\n\r\nOK\r\n'
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>>
      >>>
      >>>
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CEREG?')
      '\r\n+CEREG: 2,2\r\n\r\nOK\r\n'
      >>>
      >>> lte.send_at_cmd('AT+CPIN?')
      '\r\n+CPIN: READY\r\n\r\nOK\r\n'
      >>> lte.send_at_cmd('AT+COPS?')
      '\r\n+COPS: 0\r\n\r\nOK\r\n'
      >>>
      >>>
      >>>
      >>> lte.send_at_cmd('AT+COPS=?')
      ''
      >>>
      >>>
      >>> lte.send_at_cmd('AT+CFUN=?')
      ''
      >>>
      >>> lte.send_at_cmd('AT+CFUN?')
      ''
      >>>
      >>>
      >>>
      >>>
      >>> lte.send_at_cmd('AT')
      ''
      >>> ets Jun  8 2016 00:22:57
      
      rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      configsip: 0, SPIWP:0xee
      clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
      mode:DIO, clock div:1
      load:0x3fff8028,len:8
      load:0x3fff8030,len:1728
      load:0x4009fa00,len:0
      load:0x4009fa00,len:14584
      entry 0x400a059c
      Pycom MicroPython 1.18.1.r1 [v1.8.6-849-b0520f1] on 2018-08-29; GPy with ESP32
      Type "help()" for more information.
      >>> from network import LTE
      >>> lte = LTE()
      

      and freeze there....

      SYSTEM VERSION

      FIRMWARE VERSION
      Bootloader0 : 5.1.1.0 [33080]
      Bootloader1 : 5.1.1.0 [38638]
      Bootloader2* : 6.0.0.0 [38729]
      NV Info : 1.1,0,0
      Software : 6.0.0.0 [38729] by robot-soft at 2018-08-23 15:18:03
      UE : 6.0.0.0
      COMPONENTS
      ZSP0 : 1.0.98-3150
      ZSP1 : 1.0.98-3140

      robert-hhR 1 Reply Last reply Reply Quote 1
      • robert-hhR Offline
        robert-hh @abrilevskiy
        last edited by

        @abrilevskiy AT+COPS=? can take a very long time to finish, longer than the 10 seconds the send_at_command waits for an answer. So if you wait a while, even several minutes, you'll back to normal response. Just use a single AT command for checking.

        1 Reply Last reply Reply Quote 0
        • D Offline
          danielm
          last edited by

          You may be encountering issue mentioned here:
          https://github.com/pycom/pycom-micropython-sigfox/issues/225

          1 Reply Last reply Reply Quote 0

          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
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom