1 post / 0 new
fernando.miranda
Fernando Gimenes's picture
Arduino MKR 1500 taking too much time to connect
Hi, I am facing an issue here with MKR 1500 and NB-IOT network.  I have a device which needs to check for internet connection very often, but NBAccess.begin takes way too much time to connect. I've been using multiple ways to connect, like:   if ((nbAccess.begin(PINNUMBER,"telstra.m2m") == NB_READY))  {   if ((nbAccess.begin(PINNUMBER,"telstra.m2m") == NB_READY) && (gprs.attachGPRS() == GPRS_READY)) {   if ((nbAccess.begin() == NB_READY))  {   Sometimes I get connection, but very often I am not able to connect and log keeps sending: AT OK AT+CMEE=0 OK AT+CFUN=0 OK AT+CPIN? +CPIN: READY OK AT+CMGF=1 OK AT+UDCONF=1,1 OK AT+CTZU=1 OK AT+CGDCONT=1,"IP","" OK AT+UAUTHREQ=1,0 OK AT+CFUN=1 OK AT+CEREG? +CEREG: 0,0 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG? +CEREG: 0,2 OK AT+CEREG?   Can someone please help?