I am having trouble using 3rd party SIMs that I previously had working on other Borons in the filed. I can not get my new Boron to connect to my Hologram SIM or my verizon SIM. Here is the code I used to set up the Boron for Verizon:
#include "Particle.h"
#include "dct.h"
SYSTEM_MODE(SEMI_AUTOMATIC);
void setup() {
Cellular.on();
Cellular.setActiveSim(EXTERNAL_SIM);
//Cellular.setCredentials("hologram");
Cellular.setCredentials("vzwinternet");
int mnoProf = 3;
Cellular.command("AT+COPS=2\r\n");
// Cellular.command("AT+COPS=2,2,\"31170\"\r\n");
Cellular.command("AT+UMNOPROF=%d\r\n", mnoProf);
Cellular.command("AT+CFUN=15\r\n");
Cellular.connect();
}
void loop() {
if (Particle.connected() == false && Cellular.ready() == true){
Particle.connect();
}
}
After flashing the above code, I used @rickkas7 cloud debug found here:
This is the Serial output:
starting tests...
turning cellular on...
0000015003 [system.nm] INFO: State changed: DISABLED -> IFACE_DOWN
0000020171 [hal] INFO: Using external Nano SIM card
0000020234 [gsm0710muxer] INFO: Starting GSM07.10 muxer
0000020235 [gsm0710muxer] INFO: Openning mux channel 0
0000020235 [gsm0710muxer] INFO: GSM07.10 muxer thread started
deviceID=e00fce680df17bc4f0b091cd
0000020288 [gsm0710muxer] INFO: Resuming channel 0
0000020288 [gsm0710muxer] INFO: Openning mux channel 1
0000020389 [gsm0710muxer] INFO: Resuming channel 1
0000020389 [gsm0710muxer] INFO: Resuming channel 1
manufacturer=u-blox
model=SARA-R410M-02B
firmware version=L0.0.00.00.05.06 [Feb 03 2018 13:00:41]
ordering code=SARA-R410M-02B
IMEI=356726103514378
IMSI=u-blox
ICCID=89148000004740191385
0000020792 [app] INFO: enabling trace logging
0000020793 [ncp.at] TRACE: > AT+CGDCONT?
0000020842 [ncp.at] TRACE: < +CGDCONT: 1,"IP","vzwinternet","0.0.0.0",0,0,0,0
0000020843 [ncp.at] TRACE: < +CGDCONT: 2,"IPV4V6","VZWADMIN","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
0000020846 [ncp.at] TRACE: < +CGDCONT: 3,"IPV4V6","vzwinternet","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
0000020847 [ncp.at] TRACE: < +CGDCONT: 6,"IPV4V6","VZWCLASS6","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
0000020850 [ncp.at] TRACE: < OK
0000020852 [ncp.at] TRACE: > AT+CSQ
0000020892 [ncp.at] TRACE: < +CSQ: 99,99
0000020892 [ncp.at] TRACE: < OK
attempting to connect to the cellular network...
0000020896 [system.nm] INFO: State changed: IFACE_DOWN -> IFACE_REQUEST_UP
0000020896 [system.nm] INFO: State changed: IFACE_DOWN -> IFACE_REQUEST_UP
0000020899 [hal] TRACE: PPP netif -> 8
0000020900 [net.ifapi] INFO: Netif pp3 state UP
0000020900 [net.ifapi] INFO: Netif pp3 state UP
0000020901 [hal] TRACE: PPP thread event LOWER_DOWN
0000020902 [hal] TRACE: PPP thread event ADM_DOWN
0000020904 [hal] TRACE: PPP thread event ADM_UP
0000020906 [hal] TRACE: State NONE -> READY
0000020906 [ncp.at] TRACE: > AT+CGDCONT=1,"IP","vzwinternet"
0000020910 [system.nm] INFO: State changed: IFACE_REQUEST_UP -> IFACE_UP
0000020910 [system.nm] INFO: State changed: IFACE_REQUEST_UP -> IFACE_UP
0000020942 [ncp.at] TRACE: < OK
0000020942 [ncp.at] TRACE: > AT+CEREG=2
0000020992 [ncp.at] TRACE: < OK
0000020992 [hal] TRACE: NCP connection state changed: 1
0000020994 [net.pppncp] TRACE: NCP event 2
0000020995 [net.pppncp] TRACE: State changed event: 1
0000020996 [hal] TRACE: PPP thread event LOWER_DOWN
0000020998 [ncp.at] TRACE: > AT+COPS=0,2
0000021042 [ncp.at] TRACE: < OK
0000021042 [ncp.at] TRACE: > AT+CEREG?
0000021043 [ncp.at] TRACE: < +CEREG: 2
0000021092 [ncp.at] TRACE: < +CEREG: 2,2
0000021092 [ncp.at] TRACE: < OK
0000021992 [ncp.at] TRACE: < +CEREG: 3
0000036093 [ncp.at] TRACE: > AT+CEREG?
0000036142 [ncp.at] TRACE: < +CEREG: 2,3
0000036142 [ncp.at] TRACE: < OK
0000051243 [ncp.at] TRACE: > AT+CEREG?
0000051292 [ncp.at] TRACE: < +CEREG: 2,3
0000051292 [ncp.at] TRACE: < OK
0000061743 [sys.power] TRACE: re-enabling charging
0000061778 [sys.power] TRACE: Battery state UNKNOWN -> CHARGED
0000062890 [sys.power] TRACE: Battery state CHARGED -> DISCONNECTED
0000066393 [ncp.at] TRACE: > AT+CEREG?
0000066442 [ncp.at] TRACE: < +CEREG: 2,3
0000066442 [ncp.at] TRACE: < OK
0000081543 [ncp.at] TRACE: > AT+CEREG?
0000081592 [ncp.at] TRACE: < +CEREG: 2,3
0000081592 [ncp.at] TRACE: < OK
0000096693 [ncp.at] TRACE: > AT+CEREG?
0000096742 [ncp.at] TRACE: < +CEREG: 2,3
0000096742 [ncp.at] TRACE: < OK
0000111843 [ncp.at] TRACE: > AT+CEREG?
0000111892 [ncp.at] TRACE: < +CEREG: 2,3
0000111892 [ncp.at] TRACE: < OK
0000123751 [sys.power] TRACE: re-enabling charging
0000123789 [sys.power] TRACE: Battery state UNKNOWN -> CHARGED
0000124900 [sys.power] TRACE: Battery state CHARGED -> DISCONNECTED
0000126993 [ncp.at] TRACE: > AT+CEREG?
0000127042 [ncp.at] TRACE: < +CEREG: 2,3
0000127042 [ncp.at] TRACE: < OK
0000142143 [ncp.at] TRACE: > AT+CEREG?
0000142192 [ncp.at] TRACE: < +CEREG: 2,3
0000142193 [ncp.at] TRACE: < OK
0000157293 [ncp.at] TRACE: > AT+CEREG?
0000157342 [ncp.at] TRACE: < +CEREG: 2,3
0000157342 [ncp.at] TRACE: < OK
0000172443 [ncp.at] TRACE: > AT+CEREG?
0000172492 [ncp.at] TRACE: < +CEREG: 2,3
0000172492 [ncp.at] TRACE: < OK
0000184901 [sys.power] TRACE: re-enabling charging
0000184930 [sys.power] TRACE: Battery state UNKNOWN -> CHARGED
0000186042 [sys.power] TRACE: Battery state CHARGED -> DISCONNECTED
0000187593 [ncp.at] TRACE: > AT+CEREG?
0000187644 [ncp.at] TRACE: < +CEREG: 2,3
0000187644 [ncp.at] TRACE: < OK
0000202745 [ncp.at] TRACE: > AT+CEREG?
0000202794 [ncp.at] TRACE: < +CEREG: 2,3
0000202794 [ncp.at] TRACE: < OK
0000217795 [ncp.at] TRACE: > AT+CEREG?
0000217844 [ncp.at] TRACE: < +CEREG: 2,3
0000217844 [ncp.at] TRACE: < OK
0000232945 [ncp.at] TRACE: > AT+CEREG?
0000232994 [ncp.at] TRACE: < +CEREG: 2,3
0000232994 [ncp.at] TRACE: < OK
0000246042 [sys.power] TRACE: re-enabling charging
0000246074 [sys.power] TRACE: Battery state UNKNOWN -> CHARGED
0000247186 [sys.power] TRACE: Battery state CHARGED -> DISCONNECTED
0000248095 [ncp.at] TRACE: > AT+CEREG?
0000248148 [ncp.at] TRACE: < +CEREG: 2,3
0000248148 [ncp.at] TRACE: < OK
0000263149 [ncp.at] TRACE: > AT+CEREG?
0000263198 [ncp.at] TRACE: < +CEREG: 2,3
0000263198 [ncp.at] TRACE: < OK
0000278199 [ncp.at] TRACE: > AT+CEREG?
0000278248 [ncp.at] TRACE: < +CEREG: 2,3
0000278249 [ncp.at] TRACE: < OK
0000293350 [ncp.at] TRACE: > AT+CEREG?
0000293398 [ncp.at] TRACE: < +CEREG: 2,3
0000293399 [ncp.at] TRACE: < OK
0000307187 [sys.power] TRACE: re-enabling charging
0000307216 [sys.power] TRACE: Battery state UNKNOWN -> CHARGED
0000308328 [sys.power] TRACE: Battery state CHARGED -> DISCONNECTED
0000308402 [ncp.at] TRACE: > AT+CEREG?
0000308448 [ncp.at] TRACE: < +CEREG: 2,3
0000308448 [ncp.at] TRACE: < OK
0000323549 [ncp.at] TRACE: > AT+CEREG?
0000323598 [ncp.at] TRACE: < +CEREG: 2,3
0000323599 [ncp.at] TRACE: < OK
0000323600 [hal] WARN: Resetting the modem due to the network registration timeout
0000323600 [hal] WARN: Resetting the modem due to the network registration timeout
0000323603 [gsm0710muxer] INFO: Stopping GSM07.10 muxer
0000323603 [gsm0710muxer] INFO: Stopping GSM07.10 muxer
0000323605 [gsm0710muxer] INFO: Gracefully stopping GSM07.10 muxer
0000323605 [gsm0710muxer] INFO: Gracefully stopping GSM07.10 muxer
0000323608 [gsm0710muxer] INFO: Closing all muxed channels
0000323608 [gsm0710muxer] INFO: Closing all muxed channels
0000323610 [gsm0710muxer] INFO: Closing mux channel 1
0000323610 [gsm0710muxer] INFO: Closing mux channel 1
0000323612 [gsm0710muxer] INFO: Muxed channel 2 already closed
0000323612 [gsm0710muxer] INFO: Muxed channel 2 already closed
0000323614 [gsm0710muxer] INFO: Muxed channel 3 already closed
0000323614 [gsm0710muxer] INFO: Muxed channel 3 already closed
0000323618 [gsm0710muxer] INFO: Muxed channel 4 already closed
0000323618 [gsm0710muxer] INFO: Muxed channel 4 already closed
0000323720 [gsm0710muxer] INFO: Sending CLD (multiplexer close down)
0000323720 [gsm0710muxer] INFO: Sending CLD (multiplexer close down)
0000323772 [gsm0710muxer] INFO: Received response to CLD or timed out, exiting multiplexed mode
0000323772 [gsm0710muxer] INFO: Received response to CLD or timed out, exiting multiplexed mode
0000323774 [gsm0710muxer] INFO: GSM07.10 muxer thread exiting
0000323774 [gsm0710muxer] INFO: GSM07.10 muxer thread exiting
0000323777 [gsm0710muxer] INFO: GSM07.10 muxer stopped
0000323777 [gsm0710muxer] INFO: GSM07.10 muxer stopped
0000323779 [hal] TRACE: Hard resetting the modem
0000334780 [hal] TRACE: Powering on the modem after the hard reset
0000334781 [hal] TRACE: Powering modem on
0000334932 [hal] TRACE: Modem powered on
0000334933 [hal] TRACE: Setting UART voltage translator state 0
0000334934 [hal] TRACE: Powering modem off
0000334935 [hal] TRACE: Setting UART voltage translator state 0
0000346536 [hal] ERROR: Failed to power off modem
0000346536 [hal] ERROR: Failed to power off modem
0000346537 [hal] TRACE: NCP state changed: 0
0000346538 [net.pppncp] TRACE: NCP event 1
0000346637 [hal] TRACE: Modem already on
0000346638 [hal] TRACE: Setting UART voltage translator state 1
0000347639 [ncp.at] TRACE: > AT
0000347645 [ncp.at] TRACE: < OK
0000348645 [hal] TRACE: NCP ready to accept AT commands
0000348645 [ncp.at] TRACE: > AT+UGPIOC?
0000348652 [ncp.at] TRACE: < +UGPIOC:
0000348653 [ncp.at] TRACE: < 16,255
0000348654 [ncp.at] TRACE: < 19,255
0000348655 [ncp.at] TRACE: < 23,0
0000348656 [ncp.at] TRACE: < 24,255
0000348657 [ncp.at] TRACE: < 25,255
0000348657 [ncp.at] TRACE: < 42,255
0000348658 [ncp.at] TRACE: < OK
0000348658 [ncp.at] TRACE: > AT+UGPIOR=23
0000348667 [ncp.at] TRACE: < +UGPIOR: 23,0
0000348667 [ncp.at] TRACE: < OK
0000348668 [hal] INFO: Using external Nano SIM card
0000348668 [hal] INFO: Using external Nano SIM card
0000348671 [ncp.at] TRACE: > AT+CPIN?
0000348678 [ncp.at] TRACE: < +CPIN: READY
0000348679 [ncp.at] TRACE: < OK
0000348679 [ncp.at] TRACE: > AT+CCID
0000348688 [ncp.at] TRACE: < +CCID: 89148000004740191385
0000348689 [ncp.at] TRACE: < OK
0000348691 [ncp.at] TRACE: > AT+COPS=2,2
0000348707 [ncp.at] TRACE: < OK
0000348707 [ncp.at] TRACE: > AT+COPS=3,2
0000348712 [ncp.at] TRACE: < OK
0000348712 [ncp.at] TRACE: > ATI9
0000348717 [ncp.at] TRACE: < L0.0.00.00.05.06,A.02.01
0000348718 [ncp.at] TRACE: < OK
0000348719 [ncp.at] TRACE: > AT+UMNOPROF?
0000348726 [ncp.at] TRACE: < +UMNOPROF: 3
0000348727 [ncp.at] TRACE: < OK
0000348728 [ncp.at] TRACE: > AT+URAT?
0000348733 [ncp.at] TRACE: < +URAT: 7
0000348734 [ncp.at] TRACE: < OK
0000348735 [ncp.at] TRACE: > AT+CEDRXS?
0000348740 [ncp.at] TRACE: < +CEDRXS:
0000348741 [ncp.at] TRACE: < OK
0000348742 [ncp.at] TRACE: > AT+CPSMS=0
0000348758 [ncp.at] TRACE: < OK
0000348758 [ncp.at] TRACE: > AT+CMUX=0,0,,1509,,,,,
0000348765 [ncp.at] TRACE: < OK
0000348765 [gsm0710muxer] INFO: Starting GSM07.10 muxer
0000348765 [gsm0710muxer] INFO: Starting GSM07.10 muxer
0000348768 [gsm0710muxer] INFO: Openning mux channel 0
0000348768 [gsm0710muxer] INFO: Openning mux channel 0
0000348768 [gsm0710muxer] INFO: GSM07.10 muxer thread started
0000348768 [gsm0710muxer] INFO: GSM07.10 muxer thread started
0000348821 [gsm0710muxer] INFO: Resuming channel 0
0000348821 [gsm0710muxer] INFO: Resuming channel 0
0000348822 [gsm0710muxer] INFO: Openning mux channel 1
0000348822 [gsm0710muxer] INFO: Openning mux channel 1
0000348924 [gsm0710muxer] INFO: Resuming channel 1
0000348924 [gsm0710muxer] INFO: Resuming channel 1
0000348925 [gsm0710muxer] INFO: Resuming channel 1
0000348925 [gsm0710muxer] INFO: Resuming channel 1
0000348927 [ncp.at] TRACE: > AT
0000348978 [ncp.at] TRACE: < OK
0000348978 [hal] TRACE: NCP state changed: 1
0000348979 [net.pppncp] TRACE: NCP event 1
0000348980 [hal] TRACE: Muxer AT channel live
0000348982 [hal] TRACE: PPP thread event LOWER_DOWN
0000348983 [hal] TRACE: PPP thread event ADM_DOWN
0000348983 [hal] TRACE: State READY -> NONE
0000348985 [hal] TRACE: PPP thread event ADM_UP
0000348986 [hal] TRACE: State NONE -> READY
0000348986 [ncp.at] TRACE: > AT+CGDCONT=1,"IP","vzwinternet"
0000349028 [ncp.at] TRACE: < OK
0000349028 [ncp.at] TRACE: > AT+CEREG=2
0000349078 [ncp.at] TRACE: < OK
0000349078 [hal] TRACE: NCP connection state changed: 1
0000349080 [net.pppncp] TRACE: NCP event 2
0000349081 [net.pppncp] TRACE: State changed event: 1
0000349082 [ncp.at] TRACE: > AT+COPS=0,2
0000349082 [hal] TRACE: PPP thread event LOWER_DOWN
0000349128 [ncp.at] TRACE: < OK
0000349128 [ncp.at] TRACE: > AT+CEREG?
0000349178 [ncp.at] TRACE: < +CEREG: 2,3
0000349178 [ncp.at] TRACE: < OK
0000364279 [ncp.at] TRACE: > AT+CEREG?
0000364328 [ncp.at] TRACE: < +CEREG: 2,3
0000364329 [ncp.at] TRACE: < OK
0000368328 [sys.power] TRACE: re-enabling charging
0000368369 [sys.power] TRACE: Battery state UNKNOWN -> CHARGED
0000369480 [sys.power] TRACE: Battery state CHARGED -> DISCONNECTED
0000379334 [ncp.at] TRACE: > AT+CEREG?
0000379381 [ncp.at] TRACE: < +CEREG: 2,3
0000379381 [ncp.at] TRACE: < OK
0000394482 [ncp.at] TRACE: > AT+CEREG?
0000394531 [ncp.at] TRACE: < +CEREG: 2,3
0000394531 [ncp.at] TRACE: < OK
0000409532 [ncp.at] TRACE: > AT+CEREG?
0000409581 [ncp.at] TRACE: < +CEREG: 2,3
0000409582 [ncp.at] TRACE: < OK
0000424583 [ncp.at] TRACE: > AT+CEREG?
0000424631 [ncp.at] TRACE: < +CEREG: 2,3
0000424631 [ncp.at] TRACE: < OK
0000430479 [sys.power] TRACE: re-enabling charging
0000430508 [sys.power] TRACE: Battery state UNKNOWN -> CHARGED
0000431619 [sys.power] TRACE: Battery state CHARGED -> DISCONNECTED
0000439732 [ncp.at] TRACE: > AT+CEREG?
0000439786 [ncp.at] TRACE: < +CEREG: 2,3
0000439786 [ncp.at] TRACE: < OK
0000454887 [ncp.at] TRACE: > AT+CEREG?
0000454936 [ncp.at] TRACE: < +CEREG: 2,3
0000454936 [ncp.at] TRACE: < OK
0000470037 [ncp.at] TRACE: > AT+CEREG?
0000470086 [ncp.at] TRACE: < +CEREG: 2,3
0000470086 [ncp.at] TRACE: < OK
0000485087 [ncp.at] TRACE: > AT+CEREG?
0000485136 [ncp.at] TRACE: < +CEREG: 2,3
0000485136 [ncp.at] TRACE: < OK
0000491619 [sys.power] TRACE: re-enabling charging
0000491662 [sys.power] TRACE: Battery state UNKNOWN -> CHARGED
0000492773 [sys.power] TRACE: Battery state CHARGED -> DISCONNECTED