Can not connect Boron with 3rd party sim

boron
Tags: #<Tag:0x00007f03930266b8>

#1

I followed the instructions here https://docs.particle.io/support/particle-devices-faq/electron-3rdparty-sims/#setting-up-a-3rd-party-sim-card-boron and have uploaded tinker with serial debugging. Here is the output.

0000001841 [hal] TRACE: Modem powered off
0000001841 [hal] TRACE: Powering modem on
0000001993 [hal] TRACE: Modem powered on
0000001994 [hal] TRACE: Setting UART voltage translator state 1
0000002995 [ncp.at] TRACE: > AT
0000003995 [ncp.at] TRACE: > AT
0000004995 [ncp.at] TRACE: > AT
0000005995 [ncp.at] TRACE: > AT
0000006995 [ncp.at] TRACE: > AT
0000006998 [ncp.at] TRACE: < AT
0000006999 [ncp.at] TRACE: < OK
0000007999 [hal] TRACE: NCP ready to accept AT commands
0000007999 [ncp.at] TRACE: > AT+UGPIOC?
0000008003 [ncp.at] TRACE: < AT+UGPIOC?
0000008004 [ncp.at] TRACE: < +UGPIOC:
0000008004 [ncp.at] TRACE: < 16,255
0000008005 [ncp.at] TRACE: < 19,255
0000008006 [ncp.at] TRACE: < 23,0
0000008006 [ncp.at] TRACE: < 24,255
0000008007 [ncp.at] TRACE: < 25,255
0000008008 [ncp.at] TRACE: < 42,255
0000008009 [ncp.at] TRACE: < OK
0000008009 [ncp.at] TRACE: > AT+UGPIOR=23
0000008014 [ncp.at] TRACE: < AT+UGPIOR=23
0000008015 [ncp.at] TRACE: < +UGPIOR: 23,0
0000008016 [ncp.at] TRACE: < OK
0000008016 [hal] INFO: Using external Nano SIM card
0000008017 [ncp.at] TRACE: > AT+CPIN?
0000008020 [ncp.at] TRACE: < AT+CPIN?
0000008022 [ncp.at] TRACE: < +CPIN: READY
0000008022 [ncp.at] TRACE: < OK
0000008023 [ncp.at] TRACE: > AT+CCID
0000008025 [ncp.at] TRACE: < AT+CCID
0000008028 [ncp.at] TRACE: < +CCID: 8901260881215248302
0000008028 [ncp.at] TRACE: < OK
0000008029 [ncp.at] TRACE: > AT+COPS=2
0000008032 [ncp.at] TRACE: < AT+COPS=2
0000008039 [ncp.at] TRACE: < OK
0000008039 [ncp.at] TRACE: > AT+CEDRXS=0
0000008042 [ncp.at] TRACE: < AT+CEDRXS=0
0000008043 [ncp.at] TRACE: < OK
0000008043 [ncp.at] TRACE: > AT+CPSMS=0
0000008048 [ncp.at] TRACE: < AT+CPSMS=0
0000008049 [ncp.at] TRACE: < OK
0000008050 [ncp.at] TRACE: > AT+CEDRXS?
0000008054 [ncp.at] TRACE: < AT+CEDRXS?
0000008056 [ncp.at] TRACE: < +CEDRXS: 2,"1001"
0000008058 [ncp.at] TRACE: < +CEDRXS: 5,"1001"
0000008059 [ncp.at] TRACE: < OK
0000008060 [ncp.at] TRACE: > AT+CPSMS?
0000008063 [ncp.at] TRACE: < AT+CPSMS?
0000008074 [ncp.at] TRACE: < +CPSMS:0,,,"01100000","00000000"
0000008075 [ncp.at] TRACE: < OK
0000008076 [ncp.at] TRACE: > AT+CMUX=0,0,,1509,,,,,
0000008081 [ncp.at] TRACE: < AT+CMUX=0,0,,1509,,,,,
0000008082 [ncp.at] TRACE: < OK
0000008083 [gsm0710muxer] INFO: Starting GSM07.10 muxer
0000008085 [gsm0710muxer] INFO: Openning mux channel 0
0000008086 [gsm0710muxer] INFO: GSM07.10 muxer thread started
0000008138 [gsm0710muxer] INFO: Resuming channel 0
0000008138 [gsm0710muxer] INFO: Openning mux channel 1
0000008239 [gsm0710muxer] INFO: Resuming channel 1
0000008239 [gsm0710muxer] INFO: Resuming channel 1
0000008241 [ncp.at] TRACE: > AT
0000008291 [ncp.at] TRACE: < AT
0000008291 [ncp.at] TRACE: < OK
0000008292 [hal] TRACE: NCP state changed: 1
0000008292 [net.pppncp] TRACE: NCP event 1
0000008293 [hal] TRACE: Muxer AT channel live
0000008294 [hal] TRACE: PPP thread event LOWER_DOWN
0000008294 [hal] TRACE: PPP thread event ADM_DOWN
0000008296 [hal] TRACE: PPP thread event ADM_UP
0000008296 [hal] TRACE: State NONE -> READY
0000008298 [ncp.at] TRACE: > AT+CGDCONT=1,"IP","m2mglobal"
0000008341 [ncp.at] TRACE: < AT+CGDCONT=1,"IP","m2mglobal"
0000008341 [ncp.at] TRACE: < OK
0000008342 [ncp.at] TRACE: > AT+CEREG=2
0000008391 [ncp.at] TRACE: < AT+CEREG=2
0000008391 [ncp.at] TRACE: < OK
0000008391 [hal] TRACE: NCP connection state changed: 1
0000008392 [net.pppncp] TRACE: NCP event 2
0000008393 [net.pppncp] TRACE: State changed event: 1
0000008393 [ncp.at] TRACE: > AT+COPS=0
0000008394 [hal] TRACE: PPP thread event LOWER_DOWN
0000008441 [ncp.at] TRACE: < AT+COPS=0
0000008441 [ncp.at] TRACE: < OK
0000008442 [ncp.at] TRACE: > AT+CEREG?
0000008443 [ncp.at] TRACE: < +CEREG: 2
0000008491 [ncp.at] TRACE: < AT+CEREG?
0000008491 [ncp.at] TRACE: < +CEREG: 2,2
0000008492 [ncp.at] TRACE: < OK
0000023492 [ncp.at] TRACE: > AT+CEREG?
0000023541 [ncp.at] TRACE: < AT+CEREG?
0000023542 [ncp.at] TRACE: < +CEREG: 2,2
0000023542 [ncp.at] TRACE: < OK
0000038543 [ncp.at] TRACE: > AT+CEREG?
0000038591 [ncp.at] TRACE: < AT+CEREG?
0000038591 [ncp.at] TRACE: < +CEREG: 2,2
0000038592 [ncp.at] TRACE: < OK
0000053592 [ncp.at] TRACE: > AT+CEREG?
0000053641 [ncp.at] TRACE: < AT+CEREG?
0000053641 [ncp.at] TRACE: < +CEREG: 2,2
0000053642 [ncp.at] TRACE: < OK
0000068642 [ncp.at] TRACE: > AT+CEREG?
0000068691 [ncp.at] TRACE: < AT+CEREG?
0000068691 [ncp.at] TRACE: < +CEREG: 2,2
0000068692 [ncp.at] TRACE: < OK
0000076392 [ncp.at] TRACE: < +CEREG: 3
0000083692 [ncp.at] TRACE: > AT+CEREG?
0000083741 [ncp.at] TRACE: < AT+CEREG?
0000083741 [ncp.at] TRACE: < +CEREG: 2,3
0000083742 [ncp.at] TRACE: < OK
0000098743 [ncp.at] TRACE: > AT+CEREG?
0000098791 [ncp.at] TRACE: < AT+CEREG?
0000098791 [ncp.at] TRACE: < +CEREG: 2,3
0000098792 [ncp.at] TRACE: < OK
0000113792 [ncp.at] TRACE: > AT+CEREG?
0000113841 [ncp.at] TRACE: < AT+CEREG?
0000113841 [ncp.at] TRACE: < +CEREG: 2,3
0000113842 [ncp.at] TRACE: < OK
0000128842 [ncp.at] TRACE: > AT+CEREG?
0000128891 [ncp.at] TRACE: < AT+CEREG?
0000128891 [ncp.at] TRACE: < +CEREG: 2,3
0000128892 [ncp.at] TRACE: < OK
0000143893 [ncp.at] TRACE: > AT+CEREG?
0000143941 [ncp.at] TRACE: < AT+CEREG?
0000143941 [ncp.at] TRACE: < +CEREG: 2,3
0000143942 [ncp.at] TRACE: < OK
0000158942 [ncp.at] TRACE: > AT+CEREG?
0000158991 [ncp.at] TRACE: < AT+CEREG?
0000158991 [ncp.at] TRACE: < +CEREG: 2,3
0000158992 [ncp.at] TRACE: < OK
0000173992 [ncp.at] TRACE: > AT+CEREG?
0000174041 [ncp.at] TRACE: < AT+CEREG?
0000174041 [ncp.at] TRACE: < +CEREG: 2,3
0000174042 [ncp.at] TRACE: < OK
0000188742 [ncp.at] TRACE: < +CEREG: 2
0000189042 [ncp.at] TRACE: > AT+CEREG?
0000189091 [ncp.at] TRACE: < AT+CEREG?
0000189091 [ncp.at] TRACE: < +CEREG: 2,2
0000189092 [ncp.at] TRACE: < OK
0000204092 [ncp.at] TRACE: > AT+CEREG?
0000204141 [ncp.at] TRACE: < AT+CEREG?
0000204141 [ncp.at] TRACE: < +CEREG: 2,2
0000204142 [ncp.at] TRACE: < OK
0000219143 [ncp.at] TRACE: > AT+CEREG?
0000219191 [ncp.at] TRACE: < AT+CEREG?
0000219191 [ncp.at] TRACE: < +CEREG: 2,2
0000219192 [ncp.at] TRACE: < OK
0000234192 [ncp.at] TRACE: > AT+CEREG?
0000234241 [ncp.at] TRACE: < AT+CEREG?
0000234241 [ncp.at] TRACE: < +CEREG: 2,2
0000234242 [ncp.at] TRACE: < OK
0000249242 [ncp.at] TRACE: > AT+CEREG?
0000249291 [ncp.at] TRACE: < AT+CEREG?
0000249291 [ncp.at] TRACE: < +CEREG: 2,2
0000249292 [ncp.at] TRACE: < OK
0000264292 [ncp.at] TRACE: > AT+CEREG?
0000264341 [ncp.at] TRACE: < AT+CEREG?
0000264341 [ncp.at] TRACE: < +CEREG: 2,2
0000264342 [ncp.at] TRACE: < OK
0000279342 [ncp.at] TRACE: > AT+CEREG?
0000279391 [ncp.at] TRACE: < AT+CEREG?
0000279391 [ncp.at] TRACE: < +CEREG: 2,2
0000279392 [ncp.at] TRACE: < OK
0000294393 [ncp.at] TRACE: > AT+CEREG?
0000294441 [ncp.at] TRACE: < AT+CEREG?
0000294442 [ncp.at] TRACE: < +CEREG: 2,2
0000294443 [ncp.at] TRACE: < OK
0000309443 [ncp.at] TRACE: > AT+CEREG?
0000309491 [ncp.at] TRACE: < AT+CEREG?
0000309491 [ncp.at] TRACE: < +CEREG: 2,2
0000309492 [ncp.at] TRACE: < OK
0000309492 [hal] WARN: Resetting the modem due to the network registration timeo         ut
0000309493 [gsm0710muxer] INFO: Stopping GSM07.10 muxer
0000309494 [gsm0710muxer] INFO: Gracefully stopping GSM07.10 muxer
0000309494 [gsm0710muxer] INFO: Closing all muxed channels
0000309495 [gsm0710muxer] INFO: Closing mux channel 1
0000309496 [gsm0710muxer] INFO: Muxed channel 2 already closed
0000309496 [gsm0710muxer] INFO: Muxed channel 3 already closed
0000309497 [gsm0710muxer] INFO: Muxed channel 4 already closed
0000309598 [gsm0710muxer] INFO: Sending CLD (multiplexer close down)
0000309648 [gsm0710muxer] INFO: Received response to CLD or timed out, exiting m         ultiplexed mode
0000309648 [gsm0710muxer] INFO: GSM07.10 muxer thread exiting
0000309649 [gsm0710muxer] INFO: GSM07.10 muxer stopped
0000309650 [hal] TRACE: Hard resetting the modem
0000320650 [hal] TRACE: Powering modem on
0000320800 [hal] TRACE: Modem powered on
0000320800 [hal] TRACE: NCP state changed: 0
0000320801 [net.pppncp] TRACE: NCP event 1
0000320902 [hal] TRACE: Modem already on
0000320903 [hal] TRACE: Setting UART voltage translator state 1
0000321903 [ncp.at] TRACE: > AT
0000322903 [ncp.at] TRACE: > AT
0000323903 [ncp.at] TRACE: > AT
0000324903 [ncp.at] TRACE: > AT
0000324905 [ncp.at] TRACE: < AT
0000324905 [ncp.at] TRACE: < OK
0000325906 [hal] TRACE: NCP ready to accept AT commands
0000325906 [ncp.at] TRACE: > AT+UGPIOC?
0000325910 [ncp.at] TRACE: < AT+UGPIOC?
0000325911 [ncp.at] TRACE: < +UGPIOC:
0000325912 [ncp.at] TRACE: < 16,255
0000325912 [ncp.at] TRACE: < 19,255
0000325913 [ncp.at] TRACE: < 23,0
0000325913 [ncp.at] TRACE: < 24,255
0000325914 [ncp.at] TRACE: < 25,255
0000325915 [ncp.at] TRACE: < 42,255
0000325915 [ncp.at] TRACE: < OK
0000325916 [ncp.at] TRACE: > AT+UGPIOR=23
0000325920 [ncp.at] TRACE: < AT+UGPIOR=23
0000325922 [ncp.at] TRACE: < +UGPIOR: 23,0
0000325923 [ncp.at] TRACE: < OK
0000325923 [hal] INFO: Using external Nano SIM card
0000325924 [ncp.at] TRACE: > AT+CPIN?
0000325928 [ncp.at] TRACE: < AT+CPIN?
0000325929 [ncp.at] TRACE: < +CPIN: READY
0000325930 [ncp.at] TRACE: < OK
0000325930 [ncp.at] TRACE: > AT+CCID
0000325934 [ncp.at] TRACE: < AT+CCID
0000325937 [ncp.at] TRACE: < +CCID: 8901260881215248302
0000325937 [ncp.at] TRACE: < OK
0000325938 [ncp.at] TRACE: > AT+COPS=2
0000325942 [ncp.at] TRACE: < AT+COPS=2
0000325948 [ncp.at] TRACE: < OK
0000325948 [ncp.at] TRACE: > AT+CEDRXS=0
0000325952 [ncp.at] TRACE: < AT+CEDRXS=0
0000325953 [ncp.at] TRACE: < OK
0000325953 [ncp.at] TRACE: > AT+CPSMS=0
0000325957 [ncp.at] TRACE: < AT+CPSMS=0
0000325957 [ncp.at] TRACE: < OK
0000325958 [ncp.at] TRACE: > AT+CEDRXS?
0000325962 [ncp.at] TRACE: < AT+CEDRXS?
0000325964 [ncp.at] TRACE: < +CEDRXS: 2,"1001"
0000325966 [ncp.at] TRACE: < +CEDRXS: 5,"1001"
0000325967 [ncp.at] TRACE: < OK
0000325968 [ncp.at] TRACE: > AT+CPSMS?
0000325972 [ncp.at] TRACE: < AT+CPSMS?
0000325975 [ncp.at] TRACE: < +CPSMS:0,,,"01100000","00000000"
0000325976 [ncp.at] TRACE: < OK
0000325977 [ncp.at] TRACE: > AT+CMUX=0,0,,1509,,,,,
0000325984 [ncp.at] TRACE: < AT+CMUX=0,0,,1509,,,,,
0000325985 [ncp.at] TRACE: < OK
0000325986 [gsm0710muxer] INFO: Starting GSM07.10 muxer
0000325987 [gsm0710muxer] INFO: Openning mux channel 0
0000325988 [gsm0710muxer] INFO: GSM07.10 muxer thread started
0000326040 [gsm0710muxer] INFO: Resuming channel 0
0000326040 [gsm0710muxer] INFO: Openning mux channel 1
0000326141 [gsm0710muxer] INFO: Resuming channel 1
0000326141 [gsm0710muxer] INFO: Resuming channel 1
0000326142 [ncp.at] TRACE: > AT
0000326193 [ncp.at] TRACE: < AT
0000326193 [ncp.at] TRACE: < OK
0000326194 [hal] TRACE: NCP state changed: 1
0000326194 [net.pppncp] TRACE: NCP event 1
0000326195 [hal] TRACE: Muxer AT channel live
0000326196 [hal] TRACE: PPP thread event LOWER_DOWN
0000326196 [hal] TRACE: PPP thread event ADM_DOWN
0000326198 [hal] TRACE: State READY -> NONE
0000326198 [hal] TRACE: PPP thread event ADM_UP
0000326200 [hal] TRACE: State NONE -> READY
0000326200 [ncp.at] TRACE: > AT+CGDCONT=1,"IP","m2mglobal"
0000326243 [ncp.at] TRACE: < AT+CGDCONT=1,"IP","m2mglobal"
0000326243 [ncp.at] TRACE: < OK
0000326244 [ncp.at] TRACE: > AT+CEREG=2
0000326293 [ncp.at] TRACE: < AT+CEREG=2
0000326293 [ncp.at] TRACE: < OK
0000326293 [hal] TRACE: NCP connection state changed: 1
0000326294 [net.pppncp] TRACE: NCP event 2
0000326294 [net.pppncp] TRACE: State changed event: 1
0000326295 [ncp.at] TRACE: > AT+COPS=0
0000326296 [hal] TRACE: PPP thread event LOWER_DOWN
0000326343 [ncp.at] TRACE: < AT+COPS=0
0000326343 [ncp.at] TRACE: < OK
0000326344 [ncp.at] TRACE: > AT+CEREG?
0000326344 [ncp.at] TRACE: < +CEREG: 2
0000326393 [ncp.at] TRACE: < AT+CEREG?
0000326393 [ncp.at] TRACE: < +CEREG: 2,2
0000326394 [ncp.at] TRACE: < OK
0000341394 [ncp.at] TRACE: > AT+CEREG?
0000341443 [ncp.at] TRACE: < AT+CEREG?
0000341443 [ncp.at] TRACE: < +CEREG: 2,2
0000341444 [ncp.at] TRACE: < OK
0000356444 [ncp.at] TRACE: > AT+CEREG?
0000356493 [ncp.at] TRACE: < AT+CEREG?
0000356493 [ncp.at] TRACE: < +CEREG: 2,2
0000356494 [ncp.at] TRACE: < OK
0000371494 [ncp.at] TRACE: > AT+CEREG?
0000371543 [ncp.at] TRACE: < AT+CEREG?
0000371543 [ncp.at] TRACE: < +CEREG: 2,2
0000371544 [ncp.at] TRACE: < OK
0000386544 [ncp.at] TRACE: > AT+CEREG?
0000386593 [ncp.at] TRACE: < AT+CEREG?
0000386593 [ncp.at] TRACE: < +CEREG: 2,2
0000386594 [ncp.at] TRACE: < OK
0000398994 [ncp.at] TRACE: < +CEREG: 3
0000401594 [ncp.at] TRACE: > AT+CEREG?
0000401643 [ncp.at] TRACE: < AT+CEREG?
0000401643 [ncp.at] TRACE: < +CEREG: 2,3
0000401644 [ncp.at] TRACE: < OK

#2

With a Boron you also need to select the SIM card.
The Electron has only a single SIM option, but the Boron has an embedded SIM and the SIM slot and you need to tell the device when it should not use the default embedded SIM.


#3

I flashed the command for external sim card with Cellular.setActiveSim(EXTERNAL_SIM) to the Boron. Is there something else I am missing? The output in the serial states it is looking for an external sim


#4

Are you using a 2G/3G Boron or LTE?
What is the RGB LED doing?
What have you set as APN?

Once you get a cell connection you may also need to set Particle.keepAlive().


#5

I am using an LTE Boron. The RGB is flashing green always. My APN is for T-mobile and set to m2mglobal.


#6

For LTE this may apply

But maybe @rickkas7 can check that against your SIM.


#7

I was worried about that. But I did find this article
https://www.u-blox.com/en/advancing-nb-iot-t-mobile-us
Does that mean it should be supported?


#8

The Boron LTE is LTE Cat M1. It’s not the same as the LTE on your mobile phone. T-Mobile uses LTE Cat NB1, which is not really compatible with the Boron LTE. And it’s not widely deployed yet, either. So it probably won’t work.


#9

This is not a cellular phone sim. Is the Boron not compatible with cat 1? Is it only cat m1? The sim is a cat 1 supported. I thought if it had cat 1 support then it would work with cat m1, but maybe my understanding is wrong.


#10

LTE Cat M1 devices cannot connect to Cat 1 towers. The tower must specifically support LTE Cat M1 in order to be able to connect.

In some cases, a different SIM may be required as well, but in some cases a single SIM will work with both, depending on the carrier.


#11

Thank you both for your help.