Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    LTE scan error -140

    Spresense
    2
    2
    2391
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • bobwilmes 0 1 1
      bobwilmes 0 1 1 last edited by

      Yippee! partial success I took the hardware stack apart and reseated the LTE board to the Spresense and it seems to have worked. Now when I run the LteScanNetworks eample I get this error which seems to be caused by a locked SIM.

                          DEBUG: Successful modem poweron.
                                                          DEBUG: Successful start searching.
            DEBUG: Successful get IMS capability : FALSE 
                                                         DEBUG: Successful set RAT : 0
      DEBUG: Report netinfo stat : 0
                                    DEBUG: Report netinfo stat : 2
                                                                  DEBUG: Report netinfo stat : 3
                DEBUG: Report netinfo err_type : 1
                                                  ERROR: Rejected from the network.
      

      ERROR: lte_activate_pdn_sync result error : -140
      An error has occurred. Shutdown and retry the network attach process after 1 second.
      DEBUG: Modem restart : 0
      DEBUG: Successful modem poweron.
      DEBUG: Successful start searching.
      DEBUG: Successful get IMS capability : FALSE
      DEBUG: Successful set RAT : 0

      How can I supply the SIM the PIN1 and PIN2 from Truphone ???

      C 1 Reply Last reply Reply Quote
      • C
        CamilaSouza DeveloperWorld @bobwilmes 0 1 1 last edited by

        Hey, @bobwilmes-0-1-1!
        Nice to see you so active in our forum!

        Going through the Arduino sketch I don't see a way of providing the sim card password.
        I can investigate more, but I'm thinking.. What if you put the SIM card in a cellphone and unlock it using the PIN? That might make things easier.

        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Legal