Couldn't connect network using external SIM

Is it an Nb-IoT SIM? can you send me a link to the specs for that sim on the Airtel site?

It’s the Airtel Prepaid 4G Sim, Buy Prepaid 4G Sim Online with Delivery in Delhi NCR/Mumbai/Bangalore

I didn’t setup the APN manually! Can you share the document that help to setup the APN!

I was able to add custom APN

{“req”:“card.wireless”,“apn”:“airtelgprs.com”}

{
 "status": "{modem-off}",
 "count": 3,
 "net": {
  "iccid": "89011703278520609069",
  "iccid_external": "89919509129851544617",
  "imsi": "310170852060906",
  "imsi_external": "404950985154461",
  "imei": "864475044207883",
  "modem": "BG95M3LAR02A03_01.006.01.006",
  "band": "GSM 1800",
  "rat": "gsm",
  "rssir": -81,
  "rssi": -82,
  "bars": 3,
  "mcc": 404,
  "mnc": 95,
  "lac": 55300,
  "cid": 27643,
  "updated": 1618939925
 }

General Configuration Steps below

Configuration:
To begin, follow the Quickstart Guide until the step Validate Your ProductUID and Cellular Connection

Then, configure the Notecard APN for Airtel using the following Notecard request

{“req”:“card.wireless”,“apn”:“airtelgprs.com”}

At this point, you should be able to continue following the Quickstart guide, and force a sync request using:

{“req”:“hub.sync”}

Remember for a sync to work, the Notecard Product UID must be set, so be sure that step of the Quickstart guide was completed.

Troubleshooting:
IF for some reason the Notecard doesn’t sync successfully, then please do the following:

  1. Enable a debug trace log using:

trace +mdmmax

  1. Force a sync to the cloud

{“req”:“hub.sync”}

  1. Reply to this thread with a copy of any log messages that printed to the serial terminal during the sync attempt.
1 Like

Thanks @gwolff , Here is the log

Welcome to the Notecard In-Browser Terminal.
Start making requests below.
********************************************
> 

> {"req":"hub.sync.status"}
{"alert":true,"status":"connect delayed (49 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}","time":1618937171,"completed":731}
> {"req":"hub.sync.status"}
{"alert":true,"status":"connect delayed (49 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}","time":1618937171,"completed":735}
> {"req":"hub.sync.status"}
{"status":"IP deactivated to conserve energy"}
> {"req":"hub.sync.status"}
{"status":"IP deactivated to conserve energy"}
> {"req":"hub.sync.status"}
{"status":"IP deactivated to conserve energy"}
> {"req":"hub.sync.status"}
{"status":"IP deactivated to conserve energy"}
> {"req":"hub.sync"}
{}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: insufficient battery current available for power-on (5 min remaining in safety delay) {modem-power-failure}{network}{extended-network-failure}","time":1618937959,"completed":1}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: insufficient battery current available for power-on (5 min remaining in safety delay) {modem-power-failure}{network}{extended-network-failure}","time":1618937959,"completed":12}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: insufficient battery current available for power-on (5 min remaining in safety delay) {modem-power-failure}{network}{extended-network-failure}","time":1618937959,"completed":17}
> {"req":"hub.sync"}
{}
> {"req":"hub.sync.status"}
{"status":"IP deactivated to conserve energy","sync":true}
> {"req":"hub.sync.status"}
{"status":"IP deactivated to conserve energy","sync":true}
> {"req":"hub.sync"}
{}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: insufficient battery current available for power-on (5 min remaining in safety delay) {modem-power-failure}{network}{extended-network-failure}","sync":true}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: insufficient battery current available for power-on (5 min remaining in safety delay) {modem-power-failure}{network}{extended-network-failure}","sync":true}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: insufficient battery current available for power-on (5 min remaining in safety delay) {modem-power-failure}{network}{extended-network-failure}","sync":true}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: insufficient battery current available for power-on (4 min remaining in safety delay) {modem-power-failure}{network}{extended-network-failure}","sync":true}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: insufficient battery current available for power-on (4 min remaining in safety delay) {modem-power-failure}{network}{extended-network-failure}","sync":true}
> {"req":"hub.set","product":"com.gmail.farissalmannbr:tracker"}
{}
> {"req":"hub.sync"}
{}
> {"req":"hub.sync.status"}
{"status":"modem now ON {modem-on}","sync":true}
> {"req":"hub.sync.status"}
{"status":"AT&T APN a-notehub.com.attz scanning GSM then M1 then NB1","sync":true}
> {"req":"hub.sync.status"}
{"status":"starting communications {wait-module} {connecting}","sync":true}
> {"req":"hub.sync.status"}
{"status":"modem now ON using external SIM {modem-on}","sync":true}
> {"req":"hub.sync.status"}
{"status":"modem now ON using external SIM {modem-on}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"modem now ON using external SIM {modem-on}","sync":true}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem: can't connect (5 min remaining) {network}{extended-network-failure}","sync":true}
> {"req":"hub.sync.status"}
{"alert":true,"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"alert":true,"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"alert":true,"status":"waiting for data service {wait-data} {connecting} {network}{extended-network-failure}"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable}"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"starting communications {wait-module} {connecting}"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"starting communications {wait-module} {connecting}"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem now ON using external SIM {modem-on}"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"modem now ON using external SIM {modem-on}"}
>  {"req":"card.wireless"}
{"status":"{network-up}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-79,"rssi":-79,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":59451,"updated":1618938821}}
>  {"req":"card.wireless"}
{"status":"{modem-off}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-73,"rssi":-74,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":59451,"updated":1618938899}}
> {"req":"hub.sync.status"}
{"alert":true,"status":"connect delayed (59 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"connect delayed (59 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"connect delayed (58 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
>  {"req":"card.wireless"}
{"status":"{modem-off}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-73,"rssi":-74,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":59451,"updated":1618938899}}
> {"req":"hub.sync.status"}
{"alert":true,"status":"connect delayed (58 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"hub.sync.status"}
{"alert":true,"status":"connect delayed (58 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"hub.sync.status"}
{"status":"starting communications {wait-module} {connecting}"}
> {"req":"hub.sync.status"}
{"status":"modem now ON {modem-on}"}
> {"req":"hub.sync.status"}
{"status":"modem now ON {modem-on}"}
>  {"req":"card.wireless"}
{"status":"{modem-on}","net":{}}
> {"req":"hub.sync.status"}
{"status":"AT&T APN a-notehub.com.attz scanning GSM then M1 then NB1"}
> {"req":"hub.sync.status"}
{"status":"AT&T APN a-notehub.com.attz scanning GSM then M1 then NB1"}
>  {"req":"card.wireless"}
{"status":"{modem-off}","net":{"iccid":"89011703278520609069","imsi":"310170852060906","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006"}}
> {"req":"hub.sync.status"}
{"status":"starting communications {wait-module} {connecting}"}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
> {"req":"hub.sync.status"}
{"status":"waiting for wireless service 1 sec [----] {cell-registration-wait}","sync":true}
>  {"req":"card.wireless"}
{"status":"{cell-registration-wait}","net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","lac":55300,"cid":18404}}
> {"req":"hub.sync.status"}
{"status":"cellular radio gsm band GSM 1800","sync":true}
>  {"req":"card.wireless"}
{"status":"{cell-registered}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-71,"rssi":-72,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":18404}}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net (openDNS) {socket-dns-failure}"}
> {"req":"hub.sync.status"}
{"status":"starting communications {wait-module} {connecting}"}
>  {"req":"card.wireless"}
{"status":"{modem-on}","count":4,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-69,"rssi":-70,"bars":4,"mcc":404,"mnc":95,"lac":55300,"cid":18404,"updated":1618939372}}
> {"req":"hub.sync.status"}
{"status":"modem now ON using external SIM {modem-on}"}
> {"req":"hub.sync.status"}
{"status":"IP connect_status: Connection lost"}
> {"req":"hub.sync.status"}
{"status":"IP connect_status: Connection lost"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net"}
>  {"req":"card.wireless"}
{"status":"{network-up}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-73,"rssi":-74,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":18404,"updated":1618939406}}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"connect delayed (51 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"hub.sync.status"}
{"status":"connect delayed (51 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"hub.sync.status"}
{"status":"connect delayed (51 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"hub.sync.status"}
{"status":"connect delayed (45 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
>  {"req":"card.wireless"}
{"status":"{modem-off}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-81,"rssi":-82,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":27643,"updated":1618939925}}
> {
  "req":  "card.version"
}
{"err":"cannot process request: cannot open json as object: string or '}' expected near end of file"}
{"err":"cannot process request: unrecognized:   \"req\":  \"card.version\""}
{"err":"cannot process request: unrecognized: }"}
> {"req":"card.version"}
{"body":{"org":"Blues Wireless","product":"Notecard","version":"notecard-1.5.2","ver_major":1,"ver_minor":5,"ver_patch":2,"ver_build":12200,"built":"Dec  7 2020 19:28:29"},"version":"notecard-1.5.2.12200","device":"dev:864475044207883","name":"Blues Wireless Notecard","type":11,"sku":"NOTE-NBGL500"}
> {"req":"card.wireless","apn":"airtelgprs.com"}
{"status":"{modem-off}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-81,"rssi":-82,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":27643,"updated":1618939925}}
> {"req":"hub.sync.status"}
{"status":"connect delayed (43 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"card.version"}
{"body":{"org":"Blues Wireless","product":"Notecard","version":"notecard-1.5.2","ver_major":1,"ver_minor":5,"ver_patch":2,"ver_build":12200,"built":"Dec  7 2020 19:28:29"},"version":"notecard-1.5.2.12200","device":"dev:864475044207883","name":"Blues Wireless Notecard","type":11,"sku":"NOTE-NBGL500"}
> {"req":"hub.sync.status"}
{"status":"connect delayed (38 min remaining): can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {service}{extended-service-failure}"}
> {"req":"card.version"}
{"body":{"org":"Blues Wireless","product":"Notecard","version":"notecard-1.5.2","ver_major":1,"ver_minor":5,"ver_patch":2,"ver_build":12200,"built":"Dec  7 2020 19:28:29"},"version":"notecard-1.5.2.12200","device":"dev:864475044207883","name":"Blues Wireless Notecard","type":11,"sku":"NOTE-NBGL500"}
> {"req":"card.version"}
{"body":{"org":"Blues Wireless","product":"Notecard","version":"notecard-1.5.2","ver_major":1,"ver_minor":5,"ver_patch":2,"ver_build":12200,"built":"Dec  7 2020 19:28:29"},"version":"notecard-1.5.2.12200","device":"dev:864475044207883","name":"Blues Wireless Notecard","type":11,"sku":"NOTE-NBGL500"}
> {"req":"hub.sync.status"}
{"status":"modem now ON {modem-on}"}
>  {"req":"card.wireless"}
{"status":"{modem-off}","net":{"iccid":"89011703278520609069","imsi":"310170852060906","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006"}}
> {"req":"hub.sync.status"}
{"status":"modem now ON using external SIM {modem-on}"}
> {"req":"hub.sync.status"}
{"status":"modem now ON using external SIM {modem-on}"}
> {"req":"hub.sync.status"}
{"status":"modem now ON using external SIM {modem-on}"}
> {"req":"hub.sync.status"}
{"status":"modem now ON using external SIM {modem-on}"}
>  {"req":"card.wireless"}
{"status":"{modem-on}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-75,"rssi":-75,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":18404,"updated":1618941400}}
> {"req":"hub.sync.status"}
{"status":"cellular radio gsm band GSM 1800"}
> {"req":"hub.sync.status"}
{"status":"waiting for data service {wait-data} {connecting}"}
> {"req":"hub.sync.status"}
{"status":"resolving farissalmannbr:tracker.gmail.com.product.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving farissalmannbr:tracker.gmail.com.product.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving farissalmannbr:tracker.gmail.com.product.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving farissalmannbr:tracker.gmail.com.product.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving farissalmannbr:tracker.gmail.com.product.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving farissalmannbr:tracker.gmail.com.product.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving farissalmannbr:tracker.gmail.com.product.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net (openDNS) {socket-dns-failure}"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net (openDNS) {socket-dns-failure}"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net (openDNS) {socket-dns-failure}"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net (openDNS) {socket-dns-failure}"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net (openDNS) {socket-dns-failure}"}
>  {"req":"card.wireless"}
{"status":"{network-up}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-75,"rssi":-75,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":18404,"updated":1618941429}}
>  {"req":"card.wireless"}
{"status":"{network-up}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-75,"rssi":-75,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":18404,"updated":1618941429}}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net (openDNS) {socket-dns-failure}"}
>  {"req":"card.wireless"}
{"status":"{modem-on}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-75,"rssi":-75,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":18404,"updated":1618941429}}
> {"req":"hub.sync.status"}
{"status":"idle {disconnected}"}
>  {"req":"card.wireless"}
{"status":"{modem-on}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-75,"rssi":-75,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":18404,"updated":1618941429}}
> {"req":"hub.sync.status"}
{"status":"idle {disconnected}"}
>  {"req":"card.wireless"}
{"status":"{modem-on}","count":3,"net":{"iccid":"89011703278520609069","iccid_external":"89919509129851544617","imsi":"310170852060906","imsi_external":"404950985154461","imei":"864475044207883","modem":"BG95M3LAR02A03_01.006.01.006","band":"GSM 1800","rat":"gsm","rssir":-77,"rssi":-78,"bars":3,"mcc":404,"mnc":95,"lac":55300,"cid":18404,"updated":1618941507}}
> {"req":"hub.sync.status"}
{"status":"modem now OFF (was active 97 sec, 816 bytes transferred) {modem-off}"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net"}
> {"req":"hub.sync.status"}
{"status":"resolving a.notefile.net"}
> {"req":"hub.set","product":"com.gmail.farissalmannbr:tracker"}
{}
> {"req":"hub.sync.status"}
{}
> {"req":"hub.sync.status"}
{"status":"modem now OFF (was active 97 sec, 816 bytes transferred) {modem-off}"}
> {"req":"hub.sync.status"}
{"status":"modem now OFF (was active 97 sec, 816 bytes transferred) {modem-off}"}

@salmanfarisvp Glad to help when I can.

Can you capture a trace log by issuing the following requests:

{"req":"card.trace","trace":"+mdmmax","mode":"on"}
{"req":"hub.sync","allow":true}

This will stream a bunch of debug information to the serial terminal.

For more information about generating a debug trace, please review the following:

@salmanfarisvp
I updated the hub.sync request above to be

{"req":"hub.sync","allow":true}

> {"req":"card.trace","trace":"+mdmmax","mode":"on"}
{"stop":true,"trace":"comm,sync,mdm,mdmmax,mem,gps"}
M05:50.89     12 > GetSimStatus         at+cpin?
M05:50.94     12 < GetSimStatus         +CPIN: READY
M05:50.94     12 < GetSimStatus         OK
M05:50.94     12 > CellScanCheck        at+qcellscan?
M05:50.99     12 < CellScanCheck        +QCELLSCAN: (1,8,9),(5-65535)
M05:50.99     12 < CellScanCheck        OK
M05:50.99     12 > Version              ati
M05:51.03     12 < Version              Quectel
M05:51.03     12 < Version              BG95-M3
M05:51.03     12 < Version              Revision: BG95M3LAR02A03
M05:51.04     12 < Version              OK
M05:51.04     12 > FileSysCheck         at+qfopen="check.txt",1
M05:51.08     12 < FileSysCheck         +QFOPEN: 1
M05:51.08     12 < FileSysCheck         OK
M05:51.08     12 > FileSysOK            at+qfclose=1
M05:51.13     12 < FileSysOK            OK
M05:51.13     12 > AutoSel              at+qmbncfg="autosel",0
M05:51.17     12 < AutoSel              OK
M05:51.17     12 > Build                at+qgmr
M05:51.23     12 < Build                BG95M3LAR02A03_01.006.01.006
M05:51.23     12 < Build                OK
M05:51.23     12 > GetIMEI              at+cgsn
M05:51.28     12 < GetIMEI              864475044207883
M05:51.28     12 < GetIMEI              OK
M05:51.53     12 > GetSimIMSI           at+cimi
M05:51.58     12 < GetSimIMSI           310170852060906
M05:51.58     12 < GetSimIMSI           OK
M05:51.58     12 > DisableLWM2M         AT+QCFGEXT="attm2mfeat",1
M05:51.62     13 < DisableLWM2M         OK
M05:51.62 sync: wireless: obtaining essential configuration information from modem
M05:51.62     13 > GetSimICCID          at+qccid
M05:51.67     13 < GetSimICCID          +QCCID: 89011703278520609069
M05:51.67     13 < GetSimICCID          OK
M05:51.67 sync: wireless: AT&T APN a-notehub.com.attz scanning GSM then M1 then NB1
M05:51.67     13 < DoPowerDown          
M05:51.67     13 > PoweredDown          AT+QPOWD=1
M05:51.72     13 < PoweredDown          OK
M05:51.72     13 < PoweredDown          POWERED DOWN
M05:51.72 modem: waiting 4 secs for modem soft-powerdown quiescence
M05:55.72     17 < PowerOff             
M05:55.72 modem: **********************************
M05:55.72 modem: active for 13 sec
M05:55.72 modem: **********************************
M05:55.72 sync: wireless: modem now OFF (was active 13 sec, 0 bytes transferred) {modem-off}
M06:01.11 sync: wireless: idle {disconnected}
M06:01.11 modem: watchdog poll interval changed from 750ms to 900000ms
S06:01.53 sync: connect requested by first sync, explicit sync request, time or GPS needed (DATA)
S06:01.53 apn: for a.notefile.net using apn a-notehub.com.attz
S06:01.53 sync: wireless: domain a.notefile.net using APN a-notehub.com.attz
S06:01.53     22 < PowerOn              
S06:01.54 modem: 4.88V 30.25C at power-on
S06:01.54 sync: wireless: starting communications {wait-module} {connecting}
M06:01.54 modem: watchdog poll interval changed from 900000ms to 750ms
S06:05.52 sync: wireless: modem now ON using external SIM {modem-on}
M06:06.92      5 < PostReset            RDY
M06:06.92      5 > EchoOff              ate0
M06:06.96      5 < EchoOff              ate0
M06:06.96      5 < EchoOff              OK
M06:06.96      5 > IsEnabled            at+cfun?
M06:07.01      5 < IsEnabled            +CFUN: 1
M06:07.01      5 < IsEnabled            OK
M06:09.51      7 > SIMResetOff          at+cfun=0
M06:09.65      8 < SIMResetOff          OK
M06:09.65      8 > SIMResetOn           at+cfun=1
M06:09.91      8 < SIMResetOn           OK
G06:11.14 accel: movements:2 free-falls:0 5s:1000000000000000000000000000000000000000000000000
M06:12.41     10 > GetSimStatus         at+cpin?
M06:12.46     10 < GetSimStatus         APP RDY
M06:12.46     10 < GetSimStatus         +CPIN: READY
M06:12.46     10 < GetSimStatus         OK
M06:12.46     10 < NthRestart           
M06:12.71     11 > GetSimIMSI           at+cimi
M06:12.76     11 < GetSimIMSI           404950985154461
M06:12.76     11 < GetSimIMSI           OK
M06:12.76     11 < DisableLWM2M         
M06:12.76     11 > GetSimICCID          at+qccid
M06:12.80     11 < GetSimICCID          +QCCID: 89919509129851544617
M06:12.81     11 < GetSimICCID          OK
M06:12.81 sync: wireless: optimizing band scan for GSM
M06:12.81     11 > CheckAutoOps         AT+COPS?
M06:12.85     11 < CheckAutoOps         +COPS: 0
M06:12.85     11 < CheckAutoOps         OK
M06:12.85     11 > UsageReset           at+qgdcnt=0
M06:12.90     11 < UsageReset           OK
M06:12.90     11 < GPSConfigure         
M06:12.90     11 < GPSConfigured        
M06:12.90 sync: wireless: waiting for wireless service {wait-service} {connecting}
M06:12.90     11 > SetCReg              at+creg=2
M06:12.94     11 < SetCReg              OK
M06:12.94     11 > SetCGReg             at+cgreg=2
M06:12.99     11 < SetCGReg             OK
M06:12.99     11 > SetCEReg             at+cereg=2
M06:13.04     11 < SetCEReg             OK
M06:13.04     11 < SendAPN              
M06:13.04     11 > APN                  at+cgdcont=1,"IP",""
M06:13.08     11 < APN                  OK
M06:13.08     11 < BeginReg             
M06:13.08     11 > BandCheck            at+qcfg="band"
M06:13.13     11 < BandCheck            +QCFG: "band",0xf,0x100002000000000f0e189f,0x80a
M06:13.13     11 < BandCheck            OK
M06:13.13     11 < BandSet              
M06:13.13     11 > IOTOpModeCheck       at+qcfg="iotopmode"
M06:13.18     11 < IOTOpModeCheck       +QCFG: "iotopmode",2
M06:13.18     11 < IOTOpModeCheck       OK
M06:13.18     11 < IOTOpModeSet         
M06:13.18     11 > ScanModeCheck        at+qcfg="nwscanmode"
M06:13.23     11 < ScanModeCheck        +QCFG: "nwscanmode",1
M06:13.23     11 < ScanModeCheck        OK
M06:13.23     11 < ScanModeSet          
M06:13.23     11 > ScanSeqCheck         at+qcfg="nwscanseq"
M06:13.28     11 < ScanSeqCheck         +QCFG: "nwscanseq",010302
M06:13.28     11 < ScanSeqCheck         OK
M06:13.28     11 < ScanSeqSet           
M06:13.28      0 < RegWait              
M06:13.28      0 < RegWaitAgain         
M06:13.28      0 > RATWait              AT+COPS?
M06:13.33      0 < RATWait              +COPS: 0
M06:13.33 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M06:13.33      0 < RATWait              OK
M06:17.82      4 < Heartbeat           
M06:17.82      4 > RegWaitQuery         at+qcsq
M06:17.86      4 < RegWaitQuery         +QCSQ: "GSM",-61
M06:17.86      4 < RegWaitQuery         OK
M06:17.86      4 < RegWaitAgain         
M06:17.87      4 > RATWait              AT+COPS?
M06:17.91      4 < RATWait              +COPS: 0,0,"IND airtel",0
M06:17.91 sync: wireless: waiting for wireless service 5 sec [++++] {cell-registration-wait}
M06:17.91      4 < RATWait              OK
M06:17.91      4 < GetCRegAgain         
M06:17.91      4 > GetCReg              at+creg?
M06:17.96      4 < GetCReg              +CREG: 2,1,"D804","EADB",0
M06:17.96      4 < GetCReg              OK
M06:17.96      4 < GetCXRegAgain        
M06:17.96      4 > GetCXReg             at+cgreg?
M06:18.01      4 < GetCXReg             +CGREG: 2,2
M06:18.01 sync: wireless: waiting for wireless service 5 sec [++++] {cell-registration-wait}
M06:18.01      4 < GetCXReg             OK
M06:22.50      9 < Heartbeat           
M06:22.50      9 < GetCXRegAgain        
M06:22.50      9 > GetCXReg             at+cgreg?
M06:22.54      9 < GetCXReg             +CGREG: 2,1,"D804","EADB",0
M06:22.55      9 < GetCXReg             OK
M06:23.55     10 > GetNetInfo           at+qnwinfo
M06:23.60     10 < GetNetInfo           +QNWINFO: "GPRS","40495","GSM 1800",758
M06:23.60 sync: wireless: cellular radio gsm band GSM 1800
M06:23.60     10 < GetNetInfo           OK
M06:23.60     10 > EnableDTR            at&d1
M06:23.64     10 < EnableDTR            OK
M06:26.14     12 > GetCSQ               at+csq
M06:26.19     12 < GetCSQ               +csq: 17,99
M06:26.19     12 < GetCSQ               OK
M06:26.19     12 > QueryQCSQ            at+qcsq
M06:26.24     12 < QueryQCSQ            +QCSQ: "GSM",-80
M06:26.24     12 < QueryQCSQ            OK
M06:26.24 sync: wireless: waiting for wireless service 13 sec [+++-] {cell-registration-wait}
M06:27.24     13 > GetTime              at+qlts=1
M06:27.29     14 < GetTime              +QLTS: "2021/04/24,17:13:20+22,0"
M06:27.29 time-set: 1619284400 2021-04-24T17:13:20Z
M06:27.29 _health.qo: boot (hard reset [12200] [4.86V] [M:POWER] G:P:W~ M:Ps U:W0 R:P:W~ S:W0 T:W~ I:W~)
S06:27.87 env: updated _state_vars_net
M06:28.49     15 < GetTime              OK
M06:28.49     15 < PPP                  
M06:28.49 sync: wireless: waiting for data service {wait-data} {connecting}
M06:28.49 lwip: tcp task activated
M06:28.49     15 > EnterPPP             ATD*99*PPP*1#
M06:28.54     15 < EnterPPP             CONNECT 150000000
M06:28.54 sync: wireless: network registration took 27 sec
M06:28.54 sync: wireless: connected {connected-closed}
M06:28.54 modem: watchdog poll interval changed from 750ms to 900000ms
S06:28.55 sync: project: using product UID product:com.gmail.farissalmannbr:tracker
S06:28.56 sync: notehub: asking discovery service to assign a notehub session handler
S06:28.56 sync: network: opening unidirectionally-authenticated secure session to a.notefile.net:8086 {socket-open-session}
S06:28.56 lwip: using standard timeouts
T06:29.02 sync: network: IP local:10.153.33.3 remote:10.64.64.64
T06:29.02 sync: network: IP connect_status: connected (0)
S06:29.07 sync: network: IP socket connect: success in 0 sec (sent:212 rcvd:247)
S06:29.07 lwip: opened
S06:29.07 sync: network: IP initialized (sent:212 rcvd:247) {socket-ip-init}
S06:29.07 sync: network: resolving farissalmannbr:tracker.gmail.com.product.notefile.net
S06:29.07 sync: network: resolving a.notefile.net
S06:29.07 sync: network: resolving a.notefile.net (openDNS) {socket-dns-failure}
T06:38.04 sync: network: IP connect_status: Connection lost
S06:44.58 lwip: closed
S06:44.58 sync: network: unable to resolve path to notehub {socket-dns-failure}
S06:44.58 sync: work: can't open notehub: can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable} {notehub-open-failure}
S06:44.58 sync: wireless: modem disconnect requested {cell-disconnect-begin}
S06:44.58     31 < Shutdown             
S06:44.58 sync: wireless: idle {disconnected}
S06:47.08 lwip: tcp task deactivated
M06:47.53 modem: watchdog poll interval changed from 900000ms to 750ms
S06:49.54     36 > PowerDown            ate0
M06:49.57     36 < PowerDown            OK
M06:49.58     36 < NoMigrations         
M06:49.58     36 > GetCSQ2              at+csq
S06:49.58 modem: waiting for shutdown
M06:49.62     36 < GetCSQ2              +csq: 18,0
M06:49.62     36 < GetCSQ2              OK
M06:49.62     36 > QueryQCSQ2           at+qcsq
M06:49.67     36 < QueryQCSQ2           +QCSQ: "GSM",-78
M06:49.67     36 < QueryQCSQ2           OK
M06:49.67     36 > UsageGet             at+qgdcnt?
M06:49.71     36 < UsageGet             +QGDCNT: 0,0
M06:49.71     36 < UsageGet             OK
M06:49.71     36 < DoPowerDown          
M06:49.71     36 > PoweredDown          AT+QPOWD=1
M06:49.76     36 < PoweredDown          OK
M06:49.76     36 < PoweredDown          POWERED DOWN
M06:49.77 modem: waiting 4 secs for modem soft-powerdown quiescence
M06:53.77     40 < PowerOff             
M06:53.77 modem: **********************************
M06:53.77 modem: active for 48 sec
M06:53.77 modem:  ppp tx+rx=total: 423+278=701 (overhead of 701, 100.0% of total)
M06:53.77 modem: **********************************
M06:53.77 sync: wireless: modem now OFF (was active 48 sec, 701 bytes transferred) {modem-off}
T06:57.50 sync: network: IP deactivated to conserve energy
M06:59.15 sync: wireless: idle {disconnected}
M06:59.15 modem: watchdog poll interval changed from 750ms to 900000ms
S06:59.20 sync: wireless: modem disconnected {cell-disconnected}
S06:59.24 checkpointAllNoteboxes {checkpointed} _health.qo
S06:59.43 checkpointAllNoteboxes {checkpointed} _env.dbs
S06:59.53 sync: notehub: disconnected (was {connected}) via close of notebox {notehub-disconnected}
S06:59.53 SyncOnSchedule: can't open session to discovery service: socket: cannot find host: a.notefile.net {service}{host-unreachable}
S06:59.60 modem: can't disconnect because not connected (powering off modem)
M06:59.61 modem: watchdog poll interval changed from 900000ms to 750ms
M07:00.36 modem: watchdog poll interval changed from 750ms to 900000ms
S07:00.61 sync: connect requested by  (DATA)
S07:00.61 apn: for a.notefile.net using apn a-notehub.com.attz
S07:00.61 sync: wireless: domain a.notefile.net using APN a-notehub.com.attz
S07:00.61     47 < PowerOn              
S07:00.62 modem: 4.88V 30.25C at power-on (2021-04-24T17:13:52Z UTC)
S07:00.62 sync: wireless: starting communications {wait-module} {connecting}
M07:00.62 modem: watchdog poll interval changed from 900000ms to 750ms
S07:04.60 sync: wireless: modem now ON using external SIM {modem-on}
M07:06.04      5 < PostReset            RDY
M07:06.04      5 > EchoOff              ate0
M07:06.09      5 < EchoOff              ate0
M07:06.09      5 < EchoOff              OK
M07:06.09      5 > IsEnabled            at+cfun?
M07:06.13      5 < IsEnabled            +CFUN: 1
M07:06.14      5 < IsEnabled            OK
M07:07.64      7 > SIMResetOff          at+cfun=0
M07:07.79      7 < SIMResetOff          OK
M07:07.79      7 > SIMResetOn           at+cfun=1
M07:08.05      7 < SIMResetOn           OK
M07:10.55      9 > GetSimStatus         at+cpin?
M07:10.59      9 < GetSimStatus         APP RDY
M07:10.59      9 < GetSimStatus         +CPIN: READY
M07:10.59      9 < GetSimStatus         OK
M07:10.59      9 < NthRestart           
M07:10.84     10 > GetSimIMSI           at+cimi
M07:10.89     10 < GetSimIMSI           404950985154461
M07:10.89     10 < GetSimIMSI           OK
M07:10.89     10 < DisableLWM2M         
M07:10.89     10 > GetSimICCID          at+qccid
M07:10.94     10 < GetSimICCID          +QCCID: 89919509129851544617
M07:10.94     10 < GetSimICCID          OK
M07:10.94 sync: wireless: optimizing band scan for GSM
M07:10.94     10 > CheckAutoOps         AT+COPS?
M07:10.99     10 < CheckAutoOps         +COPS: 0,0,"IND airtel",0
M07:10.99     10 < CheckAutoOps         OK
M07:10.99     10 > UsageReset           at+qgdcnt=0
M07:11.04     10 < UsageReset           OK
M07:11.04     10 < GPSConfigure         
M07:11.04     10 < GPSConfigured        
M07:11.04 sync: wireless: waiting for wireless service {wait-service} {connecting}
M07:11.04     10 > SetCReg              at+creg=2
M07:11.09     10 < SetCReg              OK
M07:11.09     10 > SetCGReg             at+cgreg=2
M07:11.13     10 < SetCGReg             OK
M07:11.13     10 > SetCEReg             at+cereg=2
M07:11.18     10 < SetCEReg             OK
M07:11.18     10 < SendAPN              
M07:11.18     10 > APN                  at+cgdcont=1,"IP",""
M07:11.22     10 < APN                  OK
M07:11.23     10 < BeginReg             
M07:11.23     10 > BandCheck            at+qcfg="band"
M07:11.27     10 < BandCheck            +QCFG: "band",0xf,0x100002000000000f0e189f,0x80a
M07:11.27     10 < BandCheck            OK
M07:11.27     10 < BandSet              
M07:11.27     10 > IOTOpModeCheck       at+qcfg="iotopmode"
M07:11.32     10 < IOTOpModeCheck       +QCFG: "iotopmode",2
M07:11.32     10 < IOTOpModeCheck       OK
M07:11.32     10 < IOTOpModeSet         
M07:11.32     10 > ScanModeCheck        at+qcfg="nwscanmode"
M07:11.37     10 < ScanModeCheck        +QCFG: "nwscanmode",1
M07:11.37     10 < ScanModeCheck        OK
M07:11.37     10 < ScanModeSet          
M07:11.37     10 > ScanSeqCheck         at+qcfg="nwscanseq"
M07:11.41     10 < ScanSeqCheck         +QCFG: "nwscanseq",010302
M07:11.42     10 < ScanSeqCheck         OK
M07:11.42     10 < ScanSeqSet           
M07:11.42      0 < RegWait              
M07:11.42      0 < RegWaitAgain         
M07:11.42      0 > RATWait              AT+COPS?
M07:11.46      0 < RATWait              +COPS: 0,0,"IND airtel",0
M07:11.46 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M07:11.47      0 < RATWait              OK
M07:11.47      0 < GetCRegAgain         
M07:11.47      0 > GetCReg              at+creg?
M07:11.51      0 < GetCReg              +CREG: 2,1,"D804","47E4",0
M07:11.51      0 < GetCReg              OK
M07:11.51      0 < GetCXRegAgain        
M07:11.52      0 > GetCXReg             at+cgreg?
M07:11.56      0 < GetCXReg             +CGREG: 2,2
M07:11.56 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M07:11.56      0 < GetCXReg             OK
M07:16.05      4 < Heartbeat           
M07:16.05      4 < GetCXRegAgain        
M07:16.05      4 > GetCXReg             at+cgreg?
M07:16.10      4 < GetCXReg             +CGREG: 2,1,"D804","47E4",0
M07:16.10      4 < GetCXReg             OK
M07:17.10      5 > GetNetInfo           at+qnwinfo
M07:17.15      5 < GetNetInfo           +QNWINFO: "GPRS","40495","GSM 1800",765
M07:17.15 sync: wireless: cellular radio gsm band GSM 1800
M07:17.15      5 < GetNetInfo           OK
M07:17.15      5 > EnableDTR            at&d1
M07:17.20      5 < EnableDTR            OK
M07:19.70      8 > GetCSQ               at+csq
M07:19.75      8 < GetCSQ               +csq: 20,0
M07:19.75      8 < GetCSQ               OK
M07:19.75      8 > QueryQCSQ            at+qcsq
M07:19.80      8 < QueryQCSQ            +QCSQ: "GSM",-73
M07:19.80      8 < QueryQCSQ            OK
M07:19.80 sync: wireless: waiting for wireless service 9 sec [+++-] {cell-registration-wait}
M07:20.80      9 > GetTime              at+qlts=1
M07:20.84      9 < GetTime              +QLTS: "2021/04/24,17:14:12+22,0"
M07:20.84      9 < GetTime              OK
M07:20.85      9 < PPP                  
M07:20.85 sync: wireless: waiting for data service {wait-data} {connecting}
> {"req":"hub.sync","allow":true}
{}
M07:21.35 lwip: tcp task activated
M07:21.35      9 > EnterPPP             ATD*99*PPP*1#
M07:21.39      9 < EnterPPP             CONNECT 150000000
M07:21.39 sync: wireless: network registration took 20 sec
M07:21.39 sync: wireless: connected {connected-closed}
M07:21.39 modem: watchdog poll interval changed from 750ms to 900000ms
S07:21.41 sync: project: using product UID product:com.gmail.farissalmannbr:tracker
S07:21.41 sync: notehub: asking discovery service to assign a notehub session handler
S07:21.41 sync: network: opening unidirectionally-authenticated secure session to a.notefile.net:8086 {socket-open-session}
S07:21.41 lwip: using standard timeouts
T07:21.89 sync: network: IP local:10.153.32.241 remote:10.64.64.64
T07:21.89 sync: network: IP connect_status: connected (0)
S07:21.92 sync: network: IP socket connect: success in 0 sec (sent:212 rcvd:245)
S07:21.92 lwip: opened
S07:21.92 sync: network: IP initialized (sent:212 rcvd:245) {socket-ip-init}
S07:21.92 sync: network: resolving farissalmannbr:tracker.gmail.com.product.notefile.net
> {"req":"hub.sync","allow":true}
{}

I tried with hologram global sim, but

{"status":"waiting for wireless service 115 sec [++++] {cell-registration-wait}","sync":true}
 {"req":"card.trace","trace":"+mdmmax","mode":"on"}
{"req":"hub.sync","allow":true}
{"stop":true,"trace":"comm,sync,mdm,mdmmax,mem,gps"}
{}
M03:08.95    137 < Heartbeat           
M03:08.95    137 > RegWaitQuery         at+qcsq
M03:09.00    137 < RegWaitQuery         +QCSQ: "GSM",-66
M03:09.00    137 < RegWaitQuery         OK
M03:09.00    137 < RegWaitAgain         
M03:09.00    137 > RATWait              AT+COPS?
M03:09.05    137 < RATWait              +COPS: 0
M03:09.05 sync: wireless: waiting for wireless service 138 sec [++++] {cell-registration-wait}
M03:09.05    137 < RATWait              OK
M03:13.54    142 < Heartbeat           
M03:13.54    142 > RegWaitQuery         at+qcsq
M03:13.59    142 < RegWaitQuery         +QCSQ: "GSM",-66
M03:13.59    142 < RegWaitQuery         OK
M03:13.59    142 < RegWaitAgain         
M03:13.59    142 > RATWait              AT+COPS?
M03:13.64    142 < RATWait              +COPS: 0
M03:13.64 sync: wireless: waiting for wireless service 143 sec [++++] {cell-registration-wait}
M03:13.64    142 < RATWait              OK
M03:18.13    146 < Heartbeat           
M03:18.13    146 > RegWaitQuery         at+qcsq
M03:18.18    146 < RegWaitQuery         +QCSQ: "GSM",-56
M03:18.18    146 < RegWaitQuery         OK
M03:18.18    146 < RegWaitAgain         
M03:18.18    146 > RATWait              AT+COPS?
M03:18.22    146 < RATWait              +COPS: 0
M03:18.22 sync: wireless: waiting for wireless service 147 sec [++++] {cell-registration-wait}
M03:18.23    146 < RATWait              OK
M03:22.72    151 < Heartbeat           
M03:22.72    151 > RegWaitQuery         at+qcsq
M03:22.76    151 < RegWaitQuery         +QCSQ: "GSM",-58
M03:22.76    151 < RegWaitQuery         OK
M03:22.77    151 < RegWaitAgain         
M03:22.77    151 > RATWait              AT+COPS?
M03:22.81    151 < RATWait              +COPS: 0
M03:22.81 sync: wireless: waiting for wireless service 152 sec [++++] {cell-registration-wait}
M03:22.81    151 < RATWait              OK
G03:23.95 accel: movements:2 free-falls:0 5s:10000000000000000000000100000000
M03:27.30    155 < Heartbeat           
M03:27.30    155 > RegWaitQuery         at+qcsq
M03:27.35    155 < RegWaitQuery         +QCSQ: "GSM",-58
M03:27.35    155 < RegWaitQuery         OK
M03:27.35    155 < RegWaitAgain         
M03:27.35    155 > RATWait              AT+COPS?
M03:27.40    155 < RATWait              +COPS: 0
M03:27.40 sync: wireless: waiting for wireless service 156 sec [++++] {cell-registration-wait}
M03:27.40    155 < RATWait              OK
M03:31.89    160 < Heartbeat           
M03:31.89    160 > RegWaitQuery         at+qcsq
M03:31.93    160 < RegWaitQuery         +QCSQ: "GSM",-58
M03:31.94    160 < RegWaitQuery         OK
M03:31.94    160 < RegWaitAgain         
M03:31.94    160 > RATWait              AT+COPS?
M03:31.98    160 < RATWait              +COPS: 0
M03:31.98 sync: wireless: waiting for wireless service 161 sec [++++] {cell-registration-wait}
M03:31.98    160 < RATWait              OK
M03:36.48    165 < Heartbeat           
M03:36.48    165 > RegWaitQuery         at+qcsq
M03:36.52    165 < RegWaitQuery         +QCSQ: "GSM",-111
M03:36.52    165 < RegWaitQuery         OK
M03:36.52    165 < RegWaitAgain         
M03:36.52    165 > RATWait              AT+COPS?
M03:36.57    165 < RATWait              +COPS: 0
M03:36.57 sync: wireless: waiting for wireless service 166 sec [+---] {cell-registration-wait}
M03:36.57    165 < RATWait              OK
M03:41.06    169 < Heartbeat           
M03:41.06    169 > RegWaitQuery         at+qcsq
M03:41.11    169 < RegWaitQuery         +QCSQ: "GSM",-48
M03:41.11    169 < RegWaitQuery         OK
M03:41.11    169 < RegWaitAgain         
M03:41.11    169 > RATWait              AT+COPS?
M03:41.16    169 < RATWait              +COPS: 0
M03:41.16 sync: wireless: waiting for wireless service 170 sec [++++] {cell-registration-wait}
M03:41.16    169 < RATWait              OK
M03:45.65    174 < Heartbeat           
M03:45.65    174 > RegWaitQuery         at+qcsq
M03:45.69    174 < RegWaitQuery         +QCSQ: "GSM",-62
M03:45.69    174 < RegWaitQuery         OK
M03:45.70    174 < RegWaitAgain         
M03:45.70    174 > RATWait              AT+COPS?
M03:45.74    174 < RATWait              +COPS: 0
M03:45.74 sync: wireless: waiting for wireless service 175 sec [++++] {cell-registration-wait}
M03:45.74    174 < RATWait              OK
M03:50.24    178 < Heartbeat           
M03:50.24    178 > RegWaitQuery         at+qcsq
M03:50.28    178 < RegWaitQuery         +QCSQ: "GSM",-64
M03:50.28    178 < RegWaitQuery         OK
M03:50.28    178 < RegWaitAgain         
M03:50.28    178 > RATWait              AT+COPS?
M03:50.33    178 < RATWait              +COPS: 0
M03:50.33 sync: wireless: waiting for wireless service 179 sec [++++] {cell-registration-wait}
M03:50.33    178 < RATWait              OK
M03:54.82    183 < Heartbeat           
M03:54.82    183 > RegWaitQuery         at+qcsq
M03:54.87    183 < RegWaitQuery         +QCSQ: "GSM",-67
M03:54.87    183 < RegWaitQuery         OK
M03:54.87    183 < RegWaitAgain         
M03:54.87    183 > RATWait              AT+COPS?
M03:54.91    183 < RATWait              +COPS: 0
M03:54.92 sync: wireless: waiting for wireless service 184 sec [++++] {cell-registration-wait}
M03:54.92    183 < RATWait              OK
M03:59.41    187 < Heartbeat           
M03:59.41    187 > RegWaitQuery         at+qcsq
M03:59.46    188 < RegWaitQuery         +QCSQ: "GSM",-71
M03:59.46    188 < RegWaitQuery         OK
M03:59.46    188 < RegWaitAgain         
M03:59.46    188 > RATWait              AT+COPS?
M03:59.50    188 < RATWait              +COPS: 0
M03:59.50 sync: wireless: waiting for wireless service 189 sec [+++-] {cell-registration-wait}
M03:59.50    188 < RATWait              OK
M04:03.99    192 < Heartbeat           
M04:03.99    192 > RegWaitQuery         at+qcsq
M04:04.04    192 < RegWaitQuery         +QCSQ: "GSM",-64
M04:04.04    192 < RegWaitQuery         OK
M04:04.04    192 < RegWaitAgain         
M04:04.04    192 > RATWait              AT+COPS?
M04:04.09    192 < RATWait              +COPS: 0
M04:04.09 sync: wireless: waiting for wireless service 193 sec [++++] {cell-registration-wait}
M04:04.09    192 < RATWait              OK
M04:08.58    197 < Heartbeat           
M04:08.58    197 > RegWaitQuery         at+qcsq
M04:08.63    197 < RegWaitQuery         +QCSQ: "GSM",-64
M04:08.63    197 < RegWaitQuery         OK
M04:08.63    197 < RegWaitAgain         
M04:08.63    197 > RATWait              AT+COPS?
M04:08.67    197 < RATWait              +COPS: 0
M04:08.68 sync: wireless: waiting for wireless service 198 sec [++++] {cell-registration-wait}
M04:08.68    197 < RATWait              OK
M04:13.17    201 < Heartbeat           
M04:13.17    201 > RegWaitQuery         at+qcsq
M04:13.22    201 < RegWaitQuery         +QCSQ: "GSM",-64
M04:13.22    201 < RegWaitQuery         OK
M04:13.22    201 < RegWaitAgain         
M04:13.22    201 > RATWait              AT+COPS?
M04:13.26    201 < RATWait              +COPS: 0
M04:13.26 sync: wireless: waiting for wireless service 202 sec [++++] {cell-registration-wait}
M04:13.27    201 < RATWait              OK
M04:17.76    206 < Heartbeat           
M04:17.76    206 > RegWaitQuery         at+qcsq
M04:17.80    206 < RegWaitQuery         +QCSQ: "GSM",-66
M04:17.80    206 < RegWaitQuery         OK
M04:17.80    206 < RegWaitAgain         
M04:17.81    206 > RATWait              AT+COPS?
M04:17.85    206 < RATWait              +COPS: 0
M04:17.85 sync: wireless: waiting for wireless service 207 sec [++++] {cell-registration-wait}
M04:17.85    206 < RATWait              OK
M04:22.35    210 < Heartbeat           
M04:22.35    210 > RegWaitQuery         at+qcsq
M04:22.39    210 < RegWaitQuery         +QCSQ: "GSM",-64
M04:22.39    210 < RegWaitQuery         OK
M04:22.39    210 < RegWaitAgain         
M04:22.39    210 > RATWait              AT+COPS?
M04:22.44    211 < RATWait              +COPS: 0
M04:22.44 sync: wireless: waiting for wireless service 212 sec [++++] {cell-registration-wait}
M04:22.44    211 < RATWait              OK
M04:26.94    215 < Heartbeat           
M04:26.94    215 > RegWaitQuery         at+qcsq
M04:26.98    215 < RegWaitQuery         +QCSQ: "GSM",-64
M04:26.98    215 < RegWaitQuery         OK
M04:26.98    215 < RegWaitAgain         
M04:26.98    215 > RATWait              AT+COPS?
M04:27.03    215 < RATWait              +COPS: 0
M04:27.03 sync: wireless: waiting for wireless service 216 sec [++++] {cell-registration-wait}
M04:27.03    215 < RATWait              OK
M04:31.52    220 < Heartbeat           
M04:31.52    220 > RegWaitQuery         at+qcsq
M04:31.57    220 < RegWaitQuery         +QCSQ: "GSM",-66
M04:31.57    220 < RegWaitQuery         OK
M04:31.57    220 < RegWaitAgain         
M04:31.57    220 > RATWait              AT+COPS?
M04:31.62    220 < RATWait              +COPS: 0
M04:31.62 sync: wireless: waiting for wireless service 221 sec [++++] {cell-registration-wait}
M04:31.62    220 < RATWait              OK
M04:36.11    224 < Heartbeat           
M04:36.11    224 > RegWaitQuery         at+qcsq
M04:36.16    224 < RegWaitQuery         +QCSQ: "GSM",-66
M04:36.16    224 < RegWaitQuery         OK
M04:36.16    224 < RegWaitAgain         
M04:36.16    224 > RATWait              AT+COPS?
M04:36.21    224 < RATWait              +COPS: 0
M04:36.21 sync: wireless: waiting for wireless service 225 sec [++++] {cell-registration-wait}
M04:36.21    224 < RATWait              OK
M04:40.70    229 < Heartbeat           
M04:40.70    229 > RegWaitQuery         at+qcsq
M04:40.75    229 < RegWaitQuery         +QCSQ: "GSM",-66
M04:40.75    229 < RegWaitQuery         OK
M04:40.75    229 < RegWaitAgain         
M04:40.75    229 > RATWait              AT+COPS?
M04:40.79    229 < RATWait              +COPS: 0
M04:40.80 sync: wireless: waiting for wireless service 230 sec [++++] {cell-registration-wait}
M04:40.80    229 < RATWait              OK
M04:45.29    233 < Heartbeat           
M04:45.29    233 > RegWaitQuery         at+qcsq
M04:45.33    233 < RegWaitQuery         +QCSQ: "GSM",-66
M04:45.34    233 < RegWaitQuery         OK
M04:45.34    233 < RegWaitAgain         
M04:45.34    233 > RATWait              AT+COPS?
M04:45.38    233 < RATWait              +COPS: 0
M04:45.38 sync: wireless: waiting for wireless service 234 sec [++++] {cell-registration-wait}
M04:45.39    233 < RATWait              OK
M04:49.88    238 < Heartbeat           
M04:49.88    238 > RegWaitQuery         at+qcsq
M04:49.93    238 < RegWaitQuery         +QCSQ: "GSM",-66
M04:49.93    238 < RegWaitQuery         OK
M04:49.93    238 < RegWaitAgain         
M04:49.93    238 > RATWait              AT+COPS?
M04:49.98    238 < RATWait              +COPS: 0
M04:49.98 sync: wireless: waiting for wireless service 239 sec [++++] {cell-registration-wait}
M04:49.98    238 < RATWait              OK
G04:51.41 accel: movements:3 free-falls:0 5s:100000000000000000100000000000000000000001
M04:54.47    243 < Heartbeat           
M04:54.47    243 > RegWaitQuery         at+qcsq
M04:54.51    243 < RegWaitQuery         +QCSQ: "GSM",-66
M04:54.51    243 < RegWaitQuery         OK
M04:54.52    243 < RegWaitAgain         
M04:54.52    243 > RATWait              AT+COPS?
M04:54.56    243 < RATWait              +COPS: 0
M04:54.56 sync: wireless: waiting for wireless service 244 sec [++++] {cell-registration-wait}
M04:54.56    243 < RATWait              OK
M04:59.05    247 < Heartbeat           
M04:59.06    247 > RegWaitQuery         at+qcsq
M04:59.10    247 < RegWaitQuery         +QCSQ: "GSM",-48
M04:59.10    247 < RegWaitQuery         OK
M04:59.10    247 < RegWaitAgain         
M04:59.10    247 > RATWait              AT+COPS?
M04:59.15    247 < RATWait              +COPS: 0
M04:59.15 sync: wireless: waiting for wireless service 248 sec [++++] {cell-registration-wait}
M04:59.15    247 < RATWait              OK
M05:03.64    252 < Heartbeat           
M05:03.64    252 > RegWaitQuery         at+qcsq
M05:03.69    252 < RegWaitQuery         +QCSQ: "GSM",-58
M05:03.69    252 < RegWaitQuery         OK
M05:03.69    252 < RegWaitAgain         
M05:03.69    252 > RATWait              AT+COPS?
M05:03.73    252 < RATWait              +COPS: 0
M05:03.73 sync: wireless: waiting for wireless service 253 sec [++++] {cell-registration-wait}
M05:03.74    252 < RATWait              OK
M05:08.23    256 < Heartbeat           
M05:08.23    256 > RegWaitQuery         at+qcsq
M05:08.28    256 < RegWaitQuery         +QCSQ: "GSM",-60
M05:08.28    256 < RegWaitQuery         OK
M05:08.28    256 < RegWaitAgain         
M05:08.28    256 > RATWait              AT+COPS?
M05:08.33    256 < RATWait              +COPS: 0
M05:08.33 sync: wireless: waiting for wireless service 257 sec [++++] {cell-registration-wait}
M05:08.33    256 < RATWait              OK
M05:12.82    261 < Heartbeat           
M05:12.82    261 > RegWaitQuery         at+qcsq
M05:12.87    261 < RegWaitQuery         +QCSQ: "GSM",-60
M05:12.87    261 < RegWaitQuery         OK
M05:12.87    261 < RegWaitAgain         
M05:12.87    261 > RATWait              AT+COPS?
M05:12.92    261 < RATWait              +COPS: 0
M05:12.92 sync: wireless: waiting for wireless service 262 sec [++++] {cell-registration-wait}
M05:12.92    261 < RATWait              OK
M05:17.41    265 < Heartbeat           
M05:17.41    265 > RegWaitQuery         at+qcsq
M05:17.45    266 < RegWaitQuery         +QCSQ: "GSM",-64
M05:17.46    266 < RegWaitQuery         OK
M05:17.46    266 < RegWaitAgain         
M05:17.46    266 > RATWait              AT+COPS?
M05:17.50    266 < RATWait              +COPS: 0
M05:17.50 sync: wireless: waiting for wireless service 267 sec [++++] {cell-registration-wait}
M05:17.50    266 < RATWait              OK
M05:22.00    270 < Heartbeat           
M05:22.00    270 > RegWaitQuery         at+qcsq
M05:22.04    270 < RegWaitQuery         +QCSQ: "GSM",-62
M05:22.04    270 < RegWaitQuery         OK
M05:22.04    270 < RegWaitAgain         
M05:22.04    270 > RATWait              AT+COPS?
M05:22.09    270 < RATWait              +COPS: 0
M05:22.09 sync: wireless: waiting for wireless service 271 sec [++++] {cell-registration-wait}
M05:22.09    270 < RATWait              OK
M05:26.58    275 < Heartbeat           
M05:26.58    275 > RegWaitQuery         at+qcsq
M05:26.63    275 < RegWaitQuery         +QCSQ: "GSM",-58
M05:26.63    275 < RegWaitQuery         OK
M05:26.63    275 < RegWaitAgain         
M05:26.63    275 > RATWait              AT+COPS?
M05:26.68    275 < RATWait              +COPS: 0
M05:26.68 sync: wireless: waiting for wireless service 276 sec [++++] {cell-registration-wait}
M05:26.68    275 < RATWait              OK
M05:31.17    279 < Heartbeat           
M05:31.17    279 > RegWaitQuery         at+qcsq
M05:31.22    279 < RegWaitQuery         +QCSQ: "GSM",-62
M05:31.22    279 < RegWaitQuery         OK
M05:31.22    279 < RegWaitAgain         
M05:31.22    279 > RATWait              AT+COPS?
M05:31.27    279 < RATWait              +COPS: 0
M05:31.27 sync: wireless: waiting for wireless service 280 sec [++++] {cell-registration-wait}
M05:31.27    279 < RATWait              OK
M05:35.76    284 < Heartbeat           
M05:35.76    284 > RegWaitQuery         at+qcsq
M05:35.81    284 < RegWaitQuery         +QCSQ: "GSM",-59
M05:35.81    284 < RegWaitQuery         OK
M05:35.81    284 < RegWaitAgain         
M05:35.81    284 > RATWait              AT+COPS?
M05:35.86    284 < RATWait              +COPS: 0
M05:35.86 sync: wireless: waiting for wireless service 285 sec [++++] {cell-registration-wait}
M05:35.86    284 < RATWait              OK
M05:40.35    288 < Heartbeat           
M05:40.35    288 > RegWaitQuery         at+qcsq
M05:40.40    288 < RegWaitQuery         +QCSQ: "GSM",-59
M05:40.40    288 < RegWaitQuery         OK
M05:40.40    288 < RegWaitAgain         
M05:40.40    288 > RATWait              AT+COPS?
M05:40.45    289 < RATWait              +COPS: 0
M05:40.45 sync: wireless: waiting for wireless service 290 sec [++++] {cell-registration-wait}
M05:40.45    289 < RATWait              OK
M05:44.94    293 < Heartbeat           
M05:44.94    293 > RegWaitQuery         at+qcsq
M05:44.99    293 < RegWaitQuery         +QCSQ: "GSM",-59
M05:44.99    293 < RegWaitQuery         OK
M05:44.99    293 < RegWaitAgain         
M05:44.99    293 > RATWait              AT+COPS?
M05:45.03    293 < RATWait              +COPS: 0
M05:45.03 sync: wireless: waiting for wireless service 294 sec [++++] {cell-registration-wait}
M05:45.03    293 < RATWait              OK
M05:49.53    298 < Heartbeat           
M05:49.53    298 > RegWaitQuery         at+qcsq
M05:49.58    298 < RegWaitQuery         +QCSQ: "GSM",-64
M05:49.58    298 < RegWaitQuery         OK
M05:49.58    298 < RegWaitAgain         
M05:49.58    298 > RATWait              AT+COPS?
M05:49.62    298 < RATWait              +COPS: 0
M05:49.62 sync: wireless: waiting for wireless service 299 sec [++++] {cell-registration-wait}
M05:49.62    298 < RATWait              OK
M05:54.12    302 < Heartbeat           
M05:54.12    302 > RegWaitQuery         at+qcsq
M05:54.16    302 < RegWaitQuery         +QCSQ: "GSM",-64
M05:54.16    302 < RegWaitQuery         OK
M05:54.16    302 < RegWaitAgain         
M05:54.16    302 > RATWait              AT+COPS?
M05:54.21    302 < RATWait              +COPS: 0
M05:54.21 modem-state: timeout waiting for service
M05:54.21    302 < RATWait              OK
M05:54.21    302 < GetOperRadio         
M05:54.21    302 > GetOperRadio0        at+cfun=0
M05:54.48    303 < GetOperRadio0        OK
M05:54.48    303 > GetOperRadio1        at+qcfg="iotopmode",0,1
M05:54.53    303 < GetOperRadio1        OK
M05:54.53    303 > GetOperRadio2        at+qcfg="nwscanmode",0,1
M05:54.58    303 < GetOperRadio2        OK
M05:54.58    303 > GetOperRadio3        at+cfun=1
M05:54.84    303 < GetOperRadio3        OK
M05:54.84 _log.qo: registration failed - scanning for all carriers
M05:54.84 sync: wireless: Hologram APN hologram scanning GSM then M1 then NB1
M06:04.84     10 > GetOpers             at+cops=?
M06:09.38     14 < Heartbeat           
M06:13.87     19 < Heartbeat           
M06:18.36     23 < Heartbeat           
M06:22.85     28 < Heartbeat           
M06:27.34     32 < Heartbeat           
M06:31.83     36 < Heartbeat           
M06:36.32     41 < Heartbeat           
M06:40.80     45 < Heartbeat           
M06:45.29     50 < Heartbeat           
M06:49.78     54 < Heartbeat           
M06:54.27     59 < Heartbeat           

hologram is working fine in India with other modules.

It looks like the Notecard connected to the cell network using the AirTel SIM, but was unable to connect to our servers. Investigating now.

I reviewed the Hologram SIM trace. Unfortunately it is missing the very start of the sync attempt which has some important information. It doesn’t pick up until about 130 seconds into the sync process which is in the search phase.

The {"req":"hub.sync","allow":true} was probably issued while the Notecard was already attempting a sync from when the Notecard was powered on, so it didn’t restart the sync process.

It does appear the Notecard recognized it as a Hologram SIM. And the Notecard seems to be seeing some towers.

Is the Hologram SIM used in this case support GSM? Or is it restricted to other radio access technologies?

Try this with Airtel SIM

Can you try issuing the following request to the Notecard when it is connected with the Airtel SIM:

{"req":"card.wireless","apn":"airtelgprs.com"}
{"req":"hub.set","host":"3.229.0.63"}

Enable the debug trace output
{“req”:“card.trace”,“trace”:"+mdmmax",“mode”:“on”}

And then perform another sync attempt

{"req":"hub.sync","allow":true}

And then reply with the debug trace log.

This may not actually result in a connection with Notehub, but will give us insight into what part of the server connection is failing.

It supports GSM, I used it with other cellar modems. I also getting an electrical noise from the NoteCard! Is that normal?

Welcome to the Notecard In-Browser Terminal.
Start making requests below.


{“req”:“card.wireless”,“apn”:“airtelgprs.com”}
{“status”:"{modem-off}",“net”:{}}
{“req”:“hub.set”,“host”:“3.229.0.63”}
{}
{“req”:“card.trace”,“trace”:"+mdmmax",“mode”:“on”}
{“stop”:true,“trace”:“comm,sync,mdm,mdmmax,mem,gps”}
S00:40.38 sync: wireless: modem now ON using external SIM {modem-on}
M00:41.82 5 < PostReset RDY
M00:41.82 5 > EchoOff ate0
M00:41.87 5 < EchoOff ate0
M00:41.87 5 < EchoOff OK
M00:41.87 5 > IsEnabled at+cfun?
M00:41.92 5 < IsEnabled +CFUN: 1
M00:41.92 5 < IsEnabled OK
{“req”:“hub.sync”,“allow”:true}
{}
M00:44.42 8 > SIMResetOff at+cfun=0
M00:44.56 8 < SIMResetOff OK
M00:44.56 8 > SIMResetOn at+cfun=1
M00:44.82 8 < SIMResetOn OK
M00:47.32 10 > GetSimStatus at+cpin?
M00:47.37 10 < GetSimStatus APP RDY
M00:47.37 10 < GetSimStatus +CPIN: READY
M00:47.37 10 < GetSimStatus OK
M00:47.37 10 < NthRestart
M00:47.62 11 > GetSimIMSI at+cimi
M00:47.66 11 < GetSimIMSI 404950985154461
M00:47.67 11 < GetSimIMSI OK
M00:47.67 11 < DisableLWM2M
M00:47.67 11 > GetSimICCID at+qccid
M00:47.71 11 < GetSimICCID +QCCID: 89919509129851544617
M00:47.71 11 < GetSimICCID OK
M00:47.71 sync: wireless: optimizing band scan for GSM
M00:47.71 11 > CheckAutoOps AT+COPS?
M00:47.76 11 < CheckAutoOps +COPS: 0
M00:47.76 11 < CheckAutoOps OK
M00:47.76 11 > UsageReset at+qgdcnt=0
M00:47.80 11 < UsageReset OK
M00:47.80 11 < GPSConfigure
M00:47.80 11 < GPSConfigured
M00:47.81 sync: wireless: waiting for wireless service {wait-service} {connecting}
M00:47.81 11 > SetCReg at+creg=2
M00:47.85 11 < SetCReg OK
M00:47.85 11 > SetCGReg at+cgreg=2
M00:47.90 11 < SetCGReg OK
M00:47.90 11 > SetCEReg at+cereg=2
M00:47.94 11 < SetCEReg OK
M00:47.94 11 < SendAPN
M00:47.94 11 > APN at+cgdcont=1,“IP”,""
M00:47.99 11 < APN OK
M00:47.99 11 < BeginReg
M00:47.99 11 > BandCheck at+qcfg=“band”
M00:48.04 11 < BandCheck +QCFG: “band”,0xf,0x100002000000000f0e189f,0x80a
M00:48.04 11 < BandCheck OK
M00:48.04 11 < BandSet
M00:48.04 11 > IOTOpModeCheck at+qcfg=“iotopmode”
M00:48.08 11 < IOTOpModeCheck +QCFG: “iotopmode”,2
M00:48.09 11 < IOTOpModeCheck OK
M00:48.09 11 < IOTOpModeSet
M00:48.09 11 > ScanModeCheck at+qcfg=“nwscanmode”
M00:48.13 11 < ScanModeCheck +QCFG: “nwscanmode”,1
M00:48.13 11 < ScanModeCheck OK
M00:48.13 11 < ScanModeSet
M00:48.14 11 > ScanSeqCheck at+qcfg=“nwscanseq”
M00:48.18 11 < ScanSeqCheck +QCFG: “nwscanseq”,010302
M00:48.18 11 < ScanSeqCheck OK
M00:48.18 11 < ScanSeqSet
M00:48.18 0 < RegWait
M00:48.18 0 < RegWaitAgain
M00:48.18 0 > RATWait AT+COPS?
M00:48.23 0 < RATWait +COPS: 0
M00:48.23 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M00:48.23 0 < RATWait OK
M00:52.73 4 < Heartbeat
M00:52.73 4 > RegWaitQuery at+qcsq
M00:52.78 4 < RegWaitQuery +QCSQ: “GSM”,-82
M00:52.78 4 < RegWaitQuery OK
M00:52.78 4 < RegWaitAgain
M00:52.78 4 > RATWait AT+COPS?
M00:52.82 4 < RATWait +COPS: 0,0,“IND airtel”,0
M00:52.82 sync: wireless: waiting for wireless service 5 sec [++±] {cell-registration-wait}
M00:52.83 4 < RATWait OK
M00:52.83 4 < GetCRegAgain
M00:52.83 4 > GetCReg at+creg?
M00:52.87 4 < GetCReg +CREG: 2,1,“D804”,“6BFB”,0
M00:52.87 4 < GetCReg OK
M00:52.87 4 < GetCXRegAgain
M00:52.87 4 > GetCXReg at+cgreg?
M00:52.92 4 < GetCXReg +CGREG: 2,2
M00:52.92 sync: wireless: waiting for wireless service 5 sec [++±] {cell-registration-wait}
M00:52.92 4 < GetCXReg OK
M00:57.42 9 < Heartbeat
M00:57.42 9 < GetCXRegAgain
M00:57.42 9 > GetCXReg at+cgreg?
M00:57.47 9 < GetCXReg +CGREG: 2,2
M00:57.47 sync: wireless: waiting for wireless service 10 sec [++±] {cell-registration-wait}
M00:57.47 9 < GetCXReg OK
M01:01.97 13 < Heartbeat
M01:01.97 13 < GetCXRegAgain
M01:01.97 13 > GetCXReg at+cgreg?
M01:02.02 13 < GetCXReg +CGREG: 2,1,“D804”,“E83B”,0
M01:02.02 13 < GetCXReg OK
M01:03.02 14 > GetNetInfo at+qnwinfo
M01:03.06 14 < GetNetInfo +QNWINFO: “GPRS”,“40495”,“GSM 1800”,759
M01:03.06 sync: wireless: cellular radio gsm band GSM 1800
M01:03.06 14 < GetNetInfo OK
M01:03.07 14 > EnableDTR at&d1
M01:03.11 14 < EnableDTR OK
M01:05.61 17 > GetCSQ at+csq
M01:05.66 17 < GetCSQ +csq: 16,0
M01:05.66 17 < GetCSQ OK
M01:05.66 17 > QueryQCSQ at+qcsq
M01:05.71 17 < QueryQCSQ +QCSQ: “GSM”,-81
M01:05.71 17 < QueryQCSQ OK
M01:05.71 sync: wireless: waiting for wireless service 18 sec [++±] {cell-registration-wait}
M01:06.71 18 > GetTime at+qlts=1
M01:06.75 18 < GetTime +QLTS: “2021/04/28,00:01:44+22,0”
M01:06.75 time-set: 1619568104 2021-04-28T00:01:44Z
M01:06.75 _health.qo: boot (brown-out & hard reset [12200])
S01:07.10 env: updated _state_vars_net
M01:07.96 19 < GetTime OK
M01:07.96 19 < PPP
M01:07.96 sync: wireless: waiting for data service {wait-data} {connecting}
M01:07.96 lwip: tcp task activated
M01:07.96 19 > EnterPPP ATD99PPP1#
M01:08.00 19 < EnterPPP CONNECT 150000000
M01:08.01 sync: wireless: network registration took 31 sec
M01:08.01 sync: wireless: connected {connected-closed}
M01:08.01 modem: watchdog poll interval changed from 750ms to 900000ms
S01:08.02 sync: project: using product UID product:com.gmail.farissalmannbr:tracker
S01:08.02 sync: notehub: asking discovery service to assign a notehub session handler
S01:08.02 sync: network: opening unidirectionally-authenticated secure session to 3.229.0.63:8086 {socket-open-session}
S01:08.02 lwip: using standard timeouts
T01:08.48 sync: network: IP local:10.153.33.236 remote:10.64.64.64
T01:08.48 sync: network: IP connect_status: connected (0)
S01:08.54 sync: network: IP socket connect: success in 0 sec (sent:213 rcvd:245)
S01:08.54 lwip: opened
S01:08.54 sync: network: IP initialized (sent:213 rcvd:245) {socket-ip-init}
S01:08.54 sync: network: connecting to 3.229.0.63:8086 {socket-connecting}
T01:11.46 lwip: $$$ transmitting unacknowledged TCP packet 4280291262
T01:11.56 lwip: sending RST to remote host packet:6510 ackno:0
S01:11.57 sync: network: connect() returned errno 103: connect: connection aborted{host-unreachable} {socket-connect-error}
S01:11.57 sync: network: service disconnected {socket-disconnected}
S01:13.57 lwip: closed
S01:13.57 sync: work: can’t open notehub: can’t open session to discovery service: connect: connection aborted{host-unreachable} {notehub-open-failure}
S01:13.57 sync: wireless: modem disconnect requested {cell-disconnect-begin}
S01:13.57 25 < Shutdown
S01:13.57 sync: wireless: idle {disconnected}
S01:16.07 lwip: tcp task deactivated
M01:16.52 modem: watchdog poll interval changed from 900000ms to 750ms
S01:18.52 30 > PowerDown ate0
M01:18.56 30 < PowerDown OK
M01:18.56 30 < NoMigrations
M01:18.56 30 > GetCSQ2 at+csq
S01:18.57 modem: waiting for shutdown
M01:18.61 30 < GetCSQ2 +csq: 16,0
M01:18.61 30 < GetCSQ2 OK
M01:18.61 30 > QueryQCSQ2 at+qcsq
M01:18.66 30 < QueryQCSQ2 +QCSQ: “GSM”,-81
M01:18.66 30 < QueryQCSQ2 OK
M01:18.66 30 > UsageGet at+qgdcnt?
M01:18.70 30 < UsageGet +QGDCNT: 0,0
M01:18.71 30 < UsageGet OK
M01:18.71 30 < DoPowerDown
M01:18.71 30 > PoweredDown AT+QPOWD=1
M01:18.75 30 < PoweredDown OK
M01:18.75 30 < PoweredDown POWERED DOWN
M01:18.75 modem: waiting 4 secs for modem soft-powerdown quiescence
M01:22.75 34 < PowerOff
M01:22.76 modem: **********************************
M01:22.76 modem: active for 42 sec
M01:22.76 modem: ppp tx+rx=total: 326+276=602 (overhead of 602, 100.0% of total)
M01:22.76 modem: **********************************
M01:22.76 sync: wireless: modem now OFF (was active 42 sec, 602 bytes transferred) {modem-off}
T01:26.48 sync: network: IP deactivated to conserve energy
M01:28.15 sync: wireless: idle {disconnected}
M01:28.15 modem: watchdog poll interval changed from 750ms to 900000ms
S01:28.19 sync: wireless: modem disconnected {cell-disconnected}
S01:28.23 checkpointAllNoteboxes {checkpointed} _health.qo
S01:28.50 checkpointAllNoteboxes {checkpointed} _env.dbs
S01:28.61 sync: notehub: disconnected (was {connected}) via close of notebox {notehub-disconnected}
S01:28.61 SyncOnSchedule: can’t open session to discovery service: connect: connection aborted{host-unreachable}
S01:28.93 sync: connect requested by first sync, explicit sync request (DATA)
S01:28.93 40 < PowerOn
S01:28.94 modem: 4.90V 26.63C at power-on (2021-04-28T00:02:05Z UTC)
S01:28.94 sync: wireless: starting communications {wait-module} {connecting}
M01:28.94 modem: watchdog poll interval changed from 900000ms to 750ms
S01:32.92 sync: wireless: modem now ON using external SIM {modem-on}
M01:34.37 5 < PostReset RDY
M01:34.37 5 > EchoOff ate0
M01:34.41 5 < EchoOff ate0
M01:34.41 5 < EchoOff OK
M01:34.41 5 > IsEnabled at+cfun?
M01:34.46 5 < IsEnabled +CFUN: 1
M01:34.46 5 < IsEnabled OK
M01:35.96 7 > SIMResetOff at+cfun=0
M01:36.12 7 < SIMResetOff OK
M01:36.12 7 > SIMResetOn at+cfun=1
M01:36.38 7 < SIMResetOn OK
M01:38.88 9 > GetSimStatus at+cpin?
M01:38.92 9 < GetSimStatus APP RDY
M01:38.92 9 < GetSimStatus +CPIN: READY
M01:38.92 9 < GetSimStatus OK
M01:38.92 9 < NthRestart
M01:39.18 10 > GetSimIMSI at+cimi
M01:39.22 10 < GetSimIMSI 404950985154461
M01:39.22 10 < GetSimIMSI OK
M01:39.22 10 < DisableLWM2M
M01:39.22 10 > GetSimICCID at+qccid
M01:39.27 10 < GetSimICCID +QCCID: 89919509129851544617
M01:39.27 10 < GetSimICCID OK
M01:39.27 sync: wireless: optimizing band scan for GSM
M01:39.27 10 > CheckAutoOps AT+COPS?
M01:39.32 10 < CheckAutoOps +COPS: 0,0,“IND airtel”,0
M01:39.32 10 < CheckAutoOps OK
M01:39.32 10 > UsageReset at+qgdcnt=0
M01:39.37 10 < UsageReset OK
M01:39.37 10 < GPSConfigure
M01:39.37 10 < GPSConfigured
M01:39.37 sync: wireless: waiting for wireless service {wait-service} {connecting}
M01:39.37 10 > SetCReg at+creg=2
M01:39.41 10 < SetCReg OK
M01:39.41 10 > SetCGReg at+cgreg=2
M01:39.46 10 < SetCGReg OK
M01:39.46 10 > SetCEReg at+cereg=2
M01:39.51 10 < SetCEReg OK
M01:39.51 10 < SendAPN
M01:39.51 10 > APN at+cgdcont=1,“IP”,""
M01:39.55 10 < APN OK
M01:39.55 10 < BeginReg
M01:39.55 10 > BandCheck at+qcfg=“band”
M01:39.60 10 < BandCheck +QCFG: “band”,0xf,0x100002000000000f0e189f,0x80a
M01:39.60 10 < BandCheck OK
M01:39.60 10 < BandSet
M01:39.60 10 > IOTOpModeCheck at+qcfg=“iotopmode”
M01:39.65 10 < IOTOpModeCheck +QCFG: “iotopmode”,2
M01:39.65 10 < IOTOpModeCheck OK
M01:39.65 10 < IOTOpModeSet
M01:39.65 10 > ScanModeCheck at+qcfg=“nwscanmode”
M01:39.70 10 < ScanModeCheck +QCFG: “nwscanmode”,1
M01:39.70 10 < ScanModeCheck OK
M01:39.70 10 < ScanModeSet
M01:39.70 10 > ScanSeqCheck at+qcfg=“nwscanseq”
M01:39.75 10 < ScanSeqCheck +QCFG: “nwscanseq”,010302
M01:39.75 10 < ScanSeqCheck OK
M01:39.75 10 < ScanSeqSet
M01:39.75 0 < RegWait
M01:39.75 0 < RegWaitAgain
M01:39.75 0 > RATWait AT+COPS?
M01:39.80 0 < RATWait +COPS: 0,0,“IND airtel”,0
M01:39.80 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M01:39.80 0 < RATWait OK
M01:39.80 0 < GetCRegAgain
M01:39.80 0 > GetCReg at+creg?
M01:39.85 0 < GetCReg +CREG: 2,1,“D804”,“6BFB”,0
M01:39.85 0 < GetCReg OK
M01:39.85 0 < GetCXRegAgain
M01:39.85 0 > GetCXReg at+cgreg?
M01:39.89 0 < GetCXReg +CGREG: 2,2
M01:39.90 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M01:39.90 0 < GetCXReg OK
M01:44.39 4 < Heartbeat
M01:44.39 4 < GetCXRegAgain
M01:44.39 4 > GetCXReg at+cgreg?
M01:44.44 4 < GetCXReg +CGREG: 2,1,“D804”,“6BFB”,0
M01:44.44 4 < GetCXReg OK
M01:45.44 5 > GetNetInfo at+qnwinfo
M01:45.49 5 < GetNetInfo +QNWINFO: “GPRS”,“40495”,“GSM 1800”,765
M01:45.49 sync: wireless: cellular radio gsm band GSM 1800
M01:45.49 5 < GetNetInfo OK
M01:45.49 5 > EnableDTR at&d1
M01:45.54 5 < EnableDTR OK
M01:48.04 8 > GetCSQ at+csq
M01:48.08 8 < GetCSQ +csq: 19,0
M01:48.09 8 < GetCSQ OK
M01:48.09 8 > QueryQCSQ at+qcsq
M01:48.13 8 < QueryQCSQ +QCSQ: “GSM”,-75
M01:48.13 8 < QueryQCSQ OK
M01:48.13 sync: wireless: waiting for wireless service 9 sec [++±] {cell-registration-wait}
M01:49.13 9 > GetTime at+qlts=1
M01:49.18 9 < GetTime +QLTS: “2021/04/28,00:02:26+22,0”
M01:49.18 9 < GetTime OK
M01:49.18 9 < PPP
M01:49.18 sync: wireless: waiting for data service {wait-data} {connecting}
M01:49.68 lwip: tcp task activated
M01:49.68 9 > EnterPPP ATD
99PPP1#
M01:49.73 9 < EnterPPP CONNECT 150000000
M01:49.73 sync: wireless: network registration took 20 sec
M01:49.73 sync: wireless: connected {connected-closed}
M01:49.73 modem: watchdog poll interval changed from 750ms to 900000ms
S01:49.75 sync: project: using product UID product:com.gmail.farissalmannbr:tracker
S01:49.75 sync: notehub: asking discovery service to assign a notehub session handler
S01:49.75 sync: network: opening unidirectionally-authenticated secure session to 3.229.0.63:8086 {socket-open-session}
S01:49.75 lwip: using standard timeouts
T01:50.19 sync: network: IP local:10.153.38.105 remote:10.64.64.64
T01:50.19 sync: network: IP connect_status: connected (0)
S01:50.26 sync: network: IP socket connect: success in 0 sec (sent:212 rcvd:248)
S01:50.26 lwip: opened
S01:50.26 sync: network: IP initialized (sent:212 rcvd:248) {socket-ip-init}
S01:50.26 sync: network: connecting to 3.229.0.63:8086 {socket-connecting}
T01:53.19 lwip: sending RST to remote host packet:6516 ackno:0
S01:53.20 sync: network: connect() returned errno 103: connect: connection aborted{host-unreachable} {socket-connect-error}
S01:53.20 sync: network: service disconnected {socket-disconnected}

S01:55.20 lwip: closed
S01:55.20 sync: work: can't open notehub: can't open session to discovery service: connect: connection aborted{host-unreachable} {notehub-open-failure}
S01:55.20 sync: wireless: modem disconnect requested {cell-disconnect-begin}
S01:55.20     15 < Shutdown             
S01:55.20 sync: wireless: idle {disconnected}
S01:57.70 lwip: tcp task deactivated
M01:58.15 modem: watchdog poll interval changed from 900000ms to 750ms
S02:00.16     20 > PowerDown            ate0
M02:00.20     20 < PowerDown            OK
M02:00.20     20 < NoMigrations         
M02:00.20     20 > GetCSQ2              at+csq
S02:00.20 modem: waiting for shutdown
M02:00.24     20 < GetCSQ2              +csq: 20,99
M02:00.24     20 < GetCSQ2              OK
M02:00.25     20 > QueryQCSQ2           at+qcsq
M02:00.29     20 < QueryQCSQ2           +QCSQ: "GSM",-73
M02:00.29     20 < QueryQCSQ2           OK
M02:00.29     20 > UsageGet             at+qgdcnt?
M02:00.34     20 < UsageGet             +QGDCNT: 0,0
M02:00.34     20 < UsageGet             OK
M02:00.34     20 < DoPowerDown          
M02:00.34     20 > PoweredDown          AT+QPOWD=1
M02:00.39     20 < PoweredDown          OK
M02:00.39     20 < PoweredDown          POWERED DOWN
M02:00.39 modem: waiting 4 secs for modem soft-powerdown quiescence
M02:04.39     24 < PowerOff             
M02:04.39 modem: **********************************
M02:04.39 modem: active for 31 sec
M02:04.39 modem:  ppp tx+rx=total: 277+279=556 (overhead of 556, 100.0% of total)
M02:04.39 modem: **********************************
M02:04.39 sync: wireless: modem now OFF (was active 31 sec, 556 bytes transferred) {modem-off}
G02:04.84 accel: movements:1 free-falls:0 5s:10000000000000000000000000000000
T02:07.71 sync: network: IP deactivated to conserve energy
M02:09.78 sync: wireless: idle {disconnected}
M02:09.79 modem: watchdog poll interval changed from 750ms to 900000ms
S02:09.83 sync: wireless: modem disconnected {cell-disconnected}
S02:09.83 sync: notehub: disconnected (was {connected}) via close of notebox {notehub-disconnected}
S02:09.83 SyncOnSchedule: can't open session to discovery service: connect: connection aborted{host-unreachable}
S02:09.88 sync: connect requested by first sync, explicit sync request (DATA)
S02:09.88     30 < PowerOn              
S02:09.89 modem: 4.90V 26.63C at power-on (2021-04-28T00:02:46Z UTC)
S02:09.89 sync: wireless: starting communications {wait-module} {connecting}
M02:09.89 modem: watchdog poll interval changed from 900000ms to 750ms
S02:13.87 sync: wireless: modem now ON using external SIM {modem-on}
M02:15.26      5 < PostReset            RDY
M02:15.26      5 > EchoOff              ate0
M02:15.31      5 < EchoOff              ate0
M02:15.31      5 < EchoOff              OK
M02:15.31      5 > IsEnabled            at+cfun?
M02:15.35      5 < IsEnabled            +CFUN: 1
M02:15.35      5 < IsEnabled            OK
M02:16.85      6 > SIMResetOff          at+cfun=0
M02:16.99      7 < SIMResetOff          OK
M02:16.99      7 > SIMResetOn           at+cfun=1
M02:17.25      7 < SIMResetOn           OK
M02:19.75      9 > GetSimStatus         at+cpin?
M02:19.79      9 < GetSimStatus         APP RDY
M02:19.80      9 < GetSimStatus         +CPIN: READY
M02:19.80      9 < GetSimStatus         OK
M02:19.80      9 < NthRestart           
M02:20.05     10 > GetSimIMSI           at+cimi
M02:20.09     10 < GetSimIMSI           404950985154461
M02:20.09     10 < GetSimIMSI           OK
M02:20.09     10 < DisableLWM2M         
M02:20.09     10 > GetSimICCID          at+qccid
M02:20.14     10 < GetSimICCID          +QCCID: 89919509129851544617
M02:20.14     10 < GetSimICCID          OK
M02:20.14 sync: wireless: optimizing band scan for GSM
M02:20.14     10 > CheckAutoOps         AT+COPS?
M02:20.19     10 < CheckAutoOps         +COPS: 0
M02:20.19     10 < CheckAutoOps         OK
M02:20.19     10 > UsageReset           at+qgdcnt=0
M02:20.24     10 < UsageReset           OK
M02:20.24     10 < GPSConfigure         
M02:20.24     10 < GPSConfigured        
M02:20.24 sync: wireless: waiting for wireless service {wait-service} {connecting}
M02:20.24     10 > SetCReg              at+creg=2
M02:20.28     10 < SetCReg              OK
M02:20.28     10 > SetCGReg             at+cgreg=2
M02:20.33     10 < SetCGReg             OK
M02:20.33     10 > SetCEReg             at+cereg=2
M02:20.38     10 < SetCEReg             OK
M02:20.38     10 < SendAPN              
M02:20.38     10 > APN                  at+cgdcont=1,"IP",""
M02:20.42     10 < APN                  OK
M02:20.42     10 < BeginReg             
M02:20.42     10 > BandCheck            at+qcfg="band"
M02:20.47     10 < BandCheck            +QCFG: "band",0xf,0x100002000000000f0e189f,0x80a
M02:20.47     10 < BandCheck            OK
M02:20.47     10 < BandSet              
M02:20.47     10 > IOTOpModeCheck       at+qcfg="iotopmode"
M02:20.52     10 < IOTOpModeCheck       +QCFG: "iotopmode",2
M02:20.52     10 < IOTOpModeCheck       OK
M02:20.52     10 < IOTOpModeSet         
M02:20.52     10 > ScanModeCheck        at+qcfg="nwscanmode"
M02:20.57     10 < ScanModeCheck        +QCFG: "nwscanmode",1
M02:20.57     10 < ScanModeCheck        OK
M02:20.57     10 < ScanModeSet          
M02:20.57     10 > ScanSeqCheck         at+qcfg="nwscanseq"
M02:20.62     10 < ScanSeqCheck         +QCFG: "nwscanseq",010302
M02:20.62     10 < ScanSeqCheck         OK
M02:20.62     10 < ScanSeqSet           
M02:20.62      0 < RegWait              
M02:20.62      0 < RegWaitAgain         
M02:20.62      0 > RATWait              AT+COPS?
M02:20.67      0 < RATWait              +COPS: 0
M02:20.67 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M02:20.67      0 < RATWait              OK
M02:25.16      4 < Heartbeat           
M02:25.16      4 > RegWaitQuery         at+qcsq
M02:25.21      4 < RegWaitQuery         +QCSQ: "GSM",-48
M02:25.21      4 < RegWaitQuery         OK
M02:25.21      4 < RegWaitAgain         
M02:25.21      4 > RATWait              AT+COPS?
M02:25.25      4 < RATWait              +COPS: 0
M02:25.26 sync: wireless: waiting for wireless service 5 sec [++++] {cell-registration-wait}
M02:25.26      4 < RATWait              OK
M02:29.75      9 < Heartbeat           
M02:29.75      9 > RegWaitQuery         at+qcsq
M02:29.80      9 < RegWaitQuery         +QCSQ: "GSM",-80
M02:29.80      9 < RegWaitQuery         OK
M02:29.80      9 < RegWaitAgain         
M02:29.80      9 > RATWait              AT+COPS?
M02:29.84      9 < RATWait              +COPS: 0
M02:29.85 sync: wireless: waiting for wireless service 10 sec [+++-] {cell-registration-wait}
M02:29.85      9 < RATWait              OK
M02:34.34     13 < Heartbeat           
M02:34.34     13 > RegWaitQuery         at+qcsq
M02:34.39     13 < RegWaitQuery         +QCSQ: "GSM",-59
M02:34.39     13 < RegWaitQuery         OK
M02:34.39     13 < RegWaitAgain         
M02:34.39     13 > RATWait              AT+COPS?
M02:34.43     13 < RATWait              +COPS: 0
M02:34.43 sync: wireless: waiting for wireless service 14 sec [++++] {cell-registration-wait}
M02:34.43     13 < RATWait              OK
M02:38.93     18 < Heartbeat           
M02:38.93     18 > RegWaitQuery         at+qcsq
M02:38.98     18 < RegWaitQuery         +QCSQ: "GSM",-59
M02:38.98     18 < RegWaitQuery         OK
M02:38.98     18 < RegWaitAgain         
M02:38.98     18 > RATWait              AT+COPS?
M02:39.02     18 < RATWait              +COPS: 0
M02:39.02 sync: wireless: waiting for wireless service 19 sec [++++] {cell-registration-wait}
M02:39.02     18 < RATWait              OK
M02:43.52     22 < Heartbeat           
M02:43.52     22 > RegWaitQuery         at+qcsq
M02:43.56     22 < RegWaitQuery         +QCSQ: "GSM",-57
M02:43.57     22 < RegWaitQuery         OK
M02:43.57     22 < RegWaitAgain         
M02:43.57     22 > RATWait              AT+COPS?
M02:43.61     22 < RATWait              +COPS: 0
M02:43.61 sync: wireless: waiting for wireless service 23 sec [++++] {cell-registration-wait}
M02:43.62     22 < RATWait              OK
M02:48.11     27 < Heartbeat           
M02:48.11     27 > RegWaitQuery         at+qcsq
M02:48.16     27 < RegWaitQuery         +QCSQ: "GSM",-57
M02:48.16     27 < RegWaitQuery         OK
M02:48.16     27 < RegWaitAgain         
M02:48.16     27 > RATWait              AT+COPS?
M02:48.21     27 < RATWait              +COPS: 0
M02:48.21 sync: wireless: waiting for wireless service 28 sec [++++] {cell-registration-wait}
M02:48.21     27 < RATWait              OK
M02:52.70     32 < Heartbeat           
M02:52.70     32 > RegWaitQuery         at+qcsq
M02:52.75     32 < RegWaitQuery         +QCSQ: "GSM",-81
M02:52.75     32 < RegWaitQuery         OK
M02:52.75     32 < RegWaitAgain         
M02:52.75     32 > RATWait              AT+COPS?
M02:52.80     32 < RATWait              +COPS: 0
M02:52.80 sync: wireless: waiting for wireless service 33 sec [+++-] {cell-registration-wait}
M02:52.80     32 < RATWait              OK
M02:57.30     36 < Heartbeat           
M02:57.30     36 > RegWaitQuery         at+qcsq
M02:57.34     36 < RegWaitQuery         +QCSQ: "GSM",-81
M02:57.34     36 < RegWaitQuery         OK
M02:57.35     36 < RegWaitAgain         
M02:57.35     36 > RATWait              AT+COPS?
M02:57.40     36 < RATWait              +COPS: 0,0,"Airtel Stay Home",0
M02:57.40 sync: wireless: waiting for wireless service 37 sec [+++-] {cell-registration-wait}
M02:57.40     36 < RATWait              OK
M02:57.40     36 < GetCRegAgain         
M02:57.40     36 > GetCReg              at+creg?
M02:57.45     36 < GetCReg              +CREG: 2,1,"D804","E83B",0
M02:57.45     36 < GetCReg              OK
M02:57.45     36 < GetCXRegAgain        
M02:57.45     36 > GetCXReg             at+cgreg?
M02:57.49     36 < GetCXReg             +CGREG: 2,1,"D804","E83B",0
M02:57.49     36 < GetCXReg             OK
M02:58.49     37 > GetNetInfo           at+qnwinfo
M02:58.54     37 < GetNetInfo           +QNWINFO: "GPRS","40495","GSM 1800",759
M02:58.54 sync: wireless: cellular radio gsm band GSM 1800
M02:58.54     37 < GetNetInfo           OK
M02:58.54     37 > EnableDTR            at&d1
M02:58.59     37 < EnableDTR            OK
M03:01.09     40 > GetCSQ               at+csq
M03:01.13     40 < GetCSQ               +csq: 15,0
M03:01.13     40 < GetCSQ               OK
M03:01.13     40 > QueryQCSQ            at+qcsq
M03:01.18     40 < QueryQCSQ            +QCSQ: "GSM",-83
M03:01.18     40 < QueryQCSQ            OK
M03:01.18 sync: wireless: waiting for wireless service 41 sec [+++-] {cell-registration-wait}
M03:02.18     41 > GetTime              at+qlts=1
M03:02.23     41 < GetTime              +QLTS: "2021/04/28,00:03:37+22,0"
M03:02.23     41 < GetTime              OK
M03:02.23     41 < PPP                  
M03:02.23 sync: wireless: waiting for data service {wait-data} {connecting}
M03:02.23 lwip: tcp task activated
M03:02.23     41 > EnterPPP             ATD*99*PPP*1#
M03:02.28     41 < EnterPPP             CONNECT 150000000
M03:02.28 sync: wireless: network registration took 52 sec
M03:02.28 sync: wireless: connected {connected-closed}
M03:02.28 modem: watchdog poll interval changed from 750ms to 900000ms
S03:02.29 sync: project: using product UID product:com.gmail.farissalmannbr:tracker
S03:02.30 sync: notehub: asking discovery service to assign a notehub session handler
S03:02.30 sync: network: opening unidirectionally-authenticated secure session to 3.229.0.63:8086 {socket-open-session}
S03:02.30 lwip: using standard timeouts
T03:02.75 sync: network: IP local:10.153.38.143 remote:10.64.64.64
T03:02.75 sync: network: IP connect_status: connected (0)
S03:02.81 sync: network: IP socket connect: success in 0 sec (sent:214 rcvd:248)
S03:02.81 lwip: opened
S03:02.81 sync: network: IP initialized (sent:214 rcvd:248) {socket-ip-init}
S03:02.81 sync: network: connecting to 3.229.0.63:8086 {socket-connecting}
T03:05.79 lwip: sending RST to remote host packet:6528 ackno:0
S03:05.81 sync: network: connect() returned errno 103: connect: connection aborted{host-unreachable} {socket-connect-error}
S03:05.81 sync: network: service disconnected {socket-disconnected}
S03:07.81 lwip: closed
S03:07.81 sync: work: can't open notehub: can't open session to discovery service: connect: connection aborted{host-unreachable} {notehub-open-failure}
S03:07.82 sync: wireless: modem disconnect requested {cell-disconnect-begin}
S03:07.82     47 < Shutdown             
S03:07.82 sync: wireless: idle {disconnected}
S03:10.32 lwip: tcp task deactivated
M03:10.77 modem: watchdog poll interval changed from 900000ms to 750ms
S03:12.77     52 > PowerDown            ate0
M03:12.81     52 < PowerDown            OK
M03:12.81     52 < NoMigrations         
M03:12.81     52 > GetCSQ2              at+csq
S03:12.82 modem: waiting for shutdown
M03:12.86     52 < GetCSQ2              +csq: 19,99
M03:12.86     52 < GetCSQ2              OK
M03:12.86     52 > QueryQCSQ2           at+qcsq
M03:12.90     52 < QueryQCSQ2           +QCSQ: "GSM",-76
M03:12.90     52 < QueryQCSQ2           OK
M03:12.90     52 > UsageGet             at+qgdcnt?
M03:12.95     52 < UsageGet             +QGDCNT: 0,0
M03:12.95     52 < UsageGet             OK
M03:12.95     52 < DoPowerDown          
M03:12.95     52 > PoweredDown          AT+QPOWD=1
M03:13.00     52 < PoweredDown          OK
M03:13.00     52 < PoweredDown          POWERED DOWN
M03:13.00 modem: waiting 4 secs for modem soft-powerdown quiescence
M03:17.00     56 < PowerOff             
M03:17.00 modem: **********************************
M03:17.00 modem: active for 63 sec
M03:17.00 modem:  ppp tx+rx=total: 280+279=559 (overhead of 559, 100.0% of total)
M03:17.00 modem: **********************************
M03:17.00 sync: wireless: modem now OFF (was active 63 sec, 559 bytes transferred) {modem-off}
T03:20.75 sync: network: IP deactivated to conserve energy
M03:22.39 sync: wireless: idle {disconnected}
M03:22.39 modem: watchdog poll interval changed from 750ms to 900000ms
S03:22.44 sync: wireless: modem disconnected {cell-disconnected}
S03:22.44 sync: notehub: disconnected (was {connected}) via close of notebox {notehub-disconnected}
S03:22.44 SyncOnSchedule: can't open session to discovery service: connect: connection aborted{host-unreachable}
S03:22.49 sync: connect requested by first sync, explicit sync request (DATA)
S03:22.49     61 < PowerOn              
S03:22.50 modem: 4.90V 26.63C at power-on (2021-04-28T00:03:57Z UTC)
S03:22.50 sync: wireless: starting communications {wait-module} {connecting}
M03:22.50 modem: watchdog poll interval changed from 900000ms to 750ms
S03:26.48 sync: wireless: modem now ON using external SIM {modem-on}
M03:27.87      5 < PostReset            RDY
M03:27.87      5 > EchoOff              ate0
M03:27.92      5 < EchoOff              ate0
M03:27.92      5 < EchoOff              OK
M03:27.92      5 > IsEnabled            at+cfun?
M03:27.96      5 < IsEnabled            +CFUN: 1
M03:27.97      5 < IsEnabled            OK
M03:29.47      6 > SIMResetOff          at+cfun=0
M03:29.73      7 < SIMResetOff          OK
M03:29.73      7 > SIMResetOn           at+cfun=1
M03:29.99      7 < SIMResetOn           OK
M03:32.49      9 > GetSimStatus         at+cpin?
M03:32.54     10 < GetSimStatus         APP RDY
M03:32.54     10 < GetSimStatus         +CPIN: READY
M03:32.54     10 < GetSimStatus         OK
M03:32.54     10 < NthRestart           
M03:32.79     10 > GetSimIMSI           at+cimi
M03:32.84     10 < GetSimIMSI           404950985154461
M03:32.84     10 < GetSimIMSI           OK
M03:32.84     10 < DisableLWM2M         
M03:32.84     10 > GetSimICCID          at+qccid
M03:32.89     10 < GetSimICCID          +QCCID: 89919509129851544617
M03:32.89     10 < GetSimICCID          OK
M03:32.89 sync: wireless: optimizing band scan for GSM
M03:32.89     10 > CheckAutoOps         AT+COPS?
M03:32.93     10 < CheckAutoOps         +COPS: 0,0,"Airtel Stay Home",0
M03:32.93     10 < CheckAutoOps         OK
M03:32.93     10 > UsageReset           at+qgdcnt=0
M03:32.98     10 < UsageReset           OK
M03:32.98     10 < GPSConfigure         
M03:32.98     10 < GPSConfigured        
M03:32.98 sync: wireless: waiting for wireless service {wait-service} {connecting}
M03:32.98     10 > SetCReg              at+creg=2
M03:33.03     10 < SetCReg              OK
M03:33.03     10 > SetCGReg             at+cgreg=2
M03:33.07     10 < SetCGReg             OK
M03:33.07     10 > SetCEReg             at+cereg=2
M03:33.12     10 < SetCEReg             OK
M03:33.12     10 < SendAPN              
M03:33.12     10 > APN                  at+cgdcont=1,"IP",""
M03:33.17     10 < APN                  OK
M03:33.17     10 < BeginReg             
M03:33.17     10 > BandCheck            at+qcfg="band"
M03:33.21     10 < BandCheck            +QCFG: "band",0xf,0x100002000000000f0e189f,0x80a
M03:33.21     10 < BandCheck            OK
M03:33.21     10 < BandSet              
M03:33.21     10 > IOTOpModeCheck       at+qcfg="iotopmode"
M03:33.26     10 < IOTOpModeCheck       +QCFG: "iotopmode",2
M03:33.26     10 < IOTOpModeCheck       OK
M03:33.26     10 < IOTOpModeSet         
M03:33.26     10 > ScanModeCheck        at+qcfg="nwscanmode"
M03:33.31     10 < ScanModeCheck        +QCFG: "nwscanmode",1
M03:33.31     10 < ScanModeCheck        OK
M03:33.31     10 < ScanModeSet          
M03:33.31     10 > ScanSeqCheck         at+qcfg="nwscanseq"
M03:33.36     10 < ScanSeqCheck         +QCFG: "nwscanseq",010302
M03:33.36     10 < ScanSeqCheck         OK
M03:33.36     10 < ScanSeqSet           
M03:33.36      0 < RegWait              
M03:33.36      0 < RegWaitAgain         
M03:33.36      0 > RATWait              AT+COPS?
M03:33.41      0 < RATWait              +COPS: 0,0,"Airtel Stay Home",0
M03:33.41 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M03:33.41      0 < RATWait              OK
M03:33.41      0 < GetCRegAgain         
M03:33.41      0 > GetCReg              at+creg?
M03:33.46      0 < GetCReg              +CREG: 2,1,"D804","6BFB",0
M03:33.46      0 < GetCReg              OK
M03:33.46      0 < GetCXRegAgain        
M03:33.46      0 > GetCXReg             at+cgreg?
M03:33.51      0 < GetCXReg             +CGREG: 2,2
M03:33.51 sync: wireless: waiting for wireless service 1 sec [----] {cell-registration-wait}
M03:33.51      0 < GetCXReg             OK
M03:38.00      4 < Heartbeat           
M03:38.00      4 < GetCXRegAgain        
M03:38.00      4 > GetCXReg             at+cgreg?
M03:38.05      4 < GetCXReg             +CGREG: 2,1,"D804","6BFB",0
M03:38.05      4 < GetCXReg             OK
M03:39.05      5 > GetNetInfo           at+qnwinfo
M03:39.10      5 < GetNetInfo           +QNWINFO: "GPRS","40495","GSM 1800",765
M03:39.10 sync: wireless: cellular radio gsm band GSM 1800
M03:39.10      5 < GetNetInfo           OK
M03:39.10      5 > EnableDTR            at&d1
M03:39.15      5 < EnableDTR            OK
M03:41.65      8 > GetCSQ               at+csq
M03:41.69      8 < GetCSQ               +csq: 18,0
M03:41.69      8 < GetCSQ               OK
M03:41.69      8 > QueryQCSQ            at+qcsq
M03:41.74      8 < QueryQCSQ            +QCSQ: "GSM",-78
M03:41.74      8 < QueryQCSQ            OK
M03:41.74 sync: wireless: waiting for wireless service 9 sec [+++-] {cell-registration-wait}
M03:42.74      9 > GetTime              at+qlts=1
M03:42.79      9 < GetTime              +QLTS: "2021/04/28,00:04:17+22,0"
M03:42.79      9 < GetTime              OK
M03:42.79      9 < PPP                  
M03:42.79 sync: wireless: waiting for data service {wait-data} {connecting}
M03:43.29 lwip: tcp task activated
M03:43.29      9 > EnterPPP             ATD*99*PPP*1#
M03:43.34      9 < EnterPPP             CONNECT 150000000
M03:43.34 sync: wireless: network registration took 20 sec
M03:43.34 sync: wireless: connected {connected-closed}
M03:43.34 modem: watchdog poll interval changed from 750ms to 900000ms
S03:43.35 sync: project: using product UID product:com.gmail.farissalmannbr:tracker
S03:43.35 sync: notehub: asking discovery service to assign a notehub session handler
S03:43.35 sync: network: opening unidirectionally-authenticated secure session to 3.229.0.63:8086 {socket-open-session}
S03:43.36 lwip: using standard timeouts
T03:43.80 sync: network: IP local:10.153.46.145 remote:10.64.64.64
T03:43.80 sync: network: IP connect_status: connected (0)
S03:43.88 sync: network: IP socket connect: success in 0 sec (sent:212 rcvd:244)
S03:43.88 lwip: opened
S03:43.88 sync: network: IP initialized (sent:212 rcvd:244) {socket-ip-init}
S03:43.88 sync: network: connecting to 3.229.0.63:8086 {socket-connecting}
T03:46.81 lwip: sending RST to remote host packet:6546 ackno:0
S03:46.83 sync: network: connect() returned errno 103: connect: connection aborted{host-unreachable} {socket-connect-error}
S03:46.83 sync: network: service disconnected {socket-disconnected}
S03:48.83 lwip: closed
S03:48.83 sync: work: can't open notehub: can't open session to discovery service: connect: connection aborted{host-unreachable} {notehub-open-failure}
S03:48.83 sync: wireless: modem disconnect requested {cell-disconnect-begin}
S03:48.83     15 < Shutdown             
S03:48.83 sync: wireless: idle {disconnected}
S03:51.33 lwip: tcp task deactivated
M03:51.78 modem: watchdog poll interval changed from 900000ms to 750ms
S03:53.78     20 > PowerDown            ate0
M03:53.82     20 < PowerDown            OK
M03:53.82     20 < NoMigrations         
M03:53.82     20 > GetCSQ2              at+csq
S03:53.83 modem: waiting for shutdown
M03:53.87     20 < GetCSQ2              +csq: 18,99
M03:53.87     20 < GetCSQ2              OK
M03:53.87     20 > QueryQCSQ2           at+qcsq
M03:53.91     20 < QueryQCSQ2           +QCSQ: "GSM",-78
M03:53.91     20 < QueryQCSQ2           OK
M03:53.91     20 > UsageGet             at+qgdcnt?
M03:53.96     20 < UsageGet             +QGDCNT: 0,0
M03:53.96     20 < UsageGet             OK
M03:53.96     20 < DoPowerDown          
M03:53.96     20 > PoweredDown          AT+QPOWD=1
M03:54.01     20 < PoweredDown          OK
M03:54.01     20 < PoweredDown          POWERED DOWN
M03:54.01 modem: waiting 4 secs for modem soft-powerdown quiescence
M03:58.01     24 < PowerOff             
M03:58.01 modem: **********************************
M03:58.01 modem: active for 31 sec
M03:58.01 modem:  ppp tx+rx=total: 278+275=553 (overhead of 553, 100.0% of total)
M03:58.01 modem: **********************************
M03:58.02 sync: wireless: modem now OFF (was active 31 sec, 553 bytes transferred) {modem-off}
T04:01.37 sync: network: IP deactivated to conserve energy
M04:03.40 sync: wireless: idle {disconnected}
M04:03.40 modem: watchdog poll interval changed from 750ms to 900000ms
S04:03.45 sync: wireless: modem disconnected {cell-disconnected}
S04:03.45 sync: notehub: disconnected (was {connected}) via close of notebox {notehub-disconnected}
S04:03.45 SyncOnSchedule: can't open session to discovery service: connect: connection aborted{host-unreachable}
S04:03.50 sync: connect requested by first sync, explicit sync request (DATA)
S04:03.50     30 < PowerOn              
S04:03.51 modem: 4.90V 26.63C at power-on (2021-04-28T00:04:37Z UTC)
S04:03.51 sync: wireless: starting communications {wait-module} {connecting}
M04:03.51 modem: watchdog poll interval changed from 900000ms to 750ms

You may hear a faint high pitch noise when the cellular modem turns on. That is normal.

Good News!

We’ve found the source of the problem. There is a bug in the processing of the APN configuration request.

Here is a workaround until the bug fix is published in Notecard firmware update

Workaround

Please issue the following commands

# disable the cellular modem on the Notecard
{"req":"hub.set","mode":"off"}

# set the Airtel APN
{"req":"card.wireless","mode":",airtelgprs.com"}

# make sure the Notecard cloud host is set to the default (if you changed it)
{"req":"hub.set","host":"a.notefile.net"}

# enable the cellular modem (minimum requires explicit sync requests)
{"req":"hub.set","mode":"minimum"}

# force a sync (if it hasn't started already)
{"req":"hub.sync","allow":true}

Be sure to include that leading comma that appears in the “,airtelgprs.com” string.

Important Note

If you change SIM card, you will need to issue

{"req":"card.wireless","mode":"-"}

to remove this configuration.

2 Likes

Thank you so much @gwolff :hugs: for the live debug session and for solving the issue, also for clearing some of my doubts. now I can continue with the project . Thanks, @bsatrom for the support.

1 Like

Glad @gwolff was able to get you sorted @salmanfarisvp, and thanks for your patience and for working with us! Can’t wait to see what you build with the Notecard!