This article is designed to provide useful information for enabling the debugging of the Automated Monitoring Node while communicating with the cellular network.
We assume that the device is a cellular-enabled node, with a version of the firmware for cellular units, and that the modem and SIM card have been activated. If you have any questions please reach out to our support team.
When a node is turned on, it will attempt to perform measurements of the sensors and sync the corresponding data to the server. It is important to note that every installation location is unique and there may be issues connecting to the server to send data. In order to understand if the issue is related to the network connection or otherwise, it will be necessary to connect to the equipment to perform diagnostics. When it has been determined that the node is operating normally but unable to sync data to the API then network debugging should be considered to determine what is the exact cause
The typical configuration does not have verbose modem debugging enabled, as it can be quite overwhelming to see when under normal operation and testing. The default output without debugging enabled appears as follows:
Power: 3V3_SW power enabled
Modem: Initializing..
Modem: Powered on!
Modem: Powered on!
.Modem: Powered on!
.Modem: Powered on!
.Modem: Powered on!
.
Modem: RSSI -120 SQ 0
Modem: Failed to disconnect from network!
Modem: Failed to turn deregister from network!
Modem: Failed to enable GPS!
In any of the potential issues listed above, it is important to understand what is causing the problem so that it can be remedied. The best way to do this is to connect to the node with a USB cable and serial terminal program to perform diagnostics. This guide will provide some steps to perform to enable diagnostics and will attempt to highlight common problems. For further assistance, please send these logs to our support team so we can assist further.
After opening the terminal, obtain a prompt by pressing C during the startup
Press 'C' to stop booting and configure..........
neatMon Main Menu
1: Network Config
2: Sensor Config
3: Utilities
x: < Save & Quit
>1
Network Config
1: HTTP Server: "api.neatmon.io"
2: HTTP Path: "/api/device/81a8e7b1-43e7-358f-d48afcae82c4"
3: HTTP Port: 1330
4: API Setup
5: Sync rate: 15m
6: APN Network: "vzwinternet"
7: APN Username: ""
8: APN Password: ""
9: Next page....
x: <Back
>
Network Config
1: HTTP Server: "api.neatmon.io"
2: HTTP Path: "/api/device/81a8e7b1-43e7-358f-d48afcae82c4"
3: HTTP Port: 1330
4: API Setup
5: Sync rate: 15m
6: APN Network: "vzwinternet"
7: APN Username: ""
8: APN Password: ""
9: Next page....
x: <Back
>9
Network Config Continued...
1: Enable modem debugging
2: Network Registration Type: "AUTO"
3: Select Modem Type: "LE910Cx"
4. Select Modem Firmware: "1"
5: Alert sync rate: 5m
x: <Back
>1
Modem: debugging enabled
After enabling debugging, save and continue to have the new settings take effect
Network Config
1: HTTP Server: "api.neatmon.io"
2: HTTP Path: "/api/device/81a8e7b1-43e7-358f-d48afcae82c4"
3: HTTP Port: 1330
4: API Setup
5: Sync rate: 15m
6: APN Network: "vzwinternet"
7: APN Username: ""
8: APN Password: ""
9: Next page....
x: <Back
>x
Exiting...
neatMon Main Menu
1: Network Config
2: Sensor Config
3: Utilities
x: < Save & Quit
>x
Quitting...
The modem will attempt to connect to the wireless network however in low signal areas it may be unable to gain a connection to the network. Be sure that the signal strength is better than -90db
otherwise the node will have difficulty communicating on the network.
The Automated Monitoring Node was shipped with a configuration sheet displaying the modem type, firmware, and port configuration. If the device has had is configuration reset it may be configured incorrectly. Please refer to the configuration sheet, or contact our support team for assistance if needed
An unresponsive modem can be caused by a number of things. Be sure to check:
Below is an shortened example of an unresponsive modem, note that after power is turned on, the modem receives an AT
command and never responds OK
Power: 3V3_SW power enabled
Modem: Initializing..
Modem: Powered on!
AT
AT
AT
AT
AT
Modem: Powered on!
AT
AT
AT
AT
AT
After opening the terminal, obtain a prompt by pressing C during the startup
Press 'C' to stop booting and configure..........
neatMon Main Menu
1: Network Config
2: Sensor Config
3: Utilities
x: < Save & Quit
>3
Utility Menu
1: Display permanent config
2: Save/write updates to permanent config
3: Undo changes to temporary config
4: Reset to default configuration or format drive
5: Enable Demo mode
6: Unit test
7: Interface with port
8: Configure sleep and power settings
9: Configure unit type
x: <Back
>7
Select Option:
1: SDI-12
2: Modem UART
3: Get diagnostic data from Modem
>3
See example below of diagnostics output for a PLUS node with a C-Modem and Hologram G3 SIM connecting to Verizon. This can reviewed for troubleshooting, or sent to neatMon for further review and assistance.
NOTE: Preparing to query diagnostic information
this process will take sometime and will return
to the menu when complete
Power: 3V3_SW power enabled
AT
OK
Modem: Continuing previous session..
Modem: Sending EXTENDED debug commands..
AT#CEER
#CEER: 0
OK
AT#CEERNET
#CEERNET: 0
OK
ATE1
OK
AT+CMEE=2
AT+CMEE=2
OK
AT&V
AT&V
DTE SPEED : 115200
DTE FORMAT : 8N1
GSM DATA MODE : Not Transparent
AUTOBAUD : +IPRxxx00=NO
COMMAND ECHO : E1=YES
RESULT MESSAGES : Q0=YES
VERBOSE MESSAGES : V1=YES
EXTENDEDFILE : &Y0=user profile 1
OK
AT+CPIN?
AT+CPIN?
+CPIN: READY
OK
AT+GMM
AT+GMM
ME910G1-WW
OK
AT+GMR
AT+GMR
M0C.400002
OK
AT#SWPKGV
AT#SWPKGV
37.00.413-P0C.410003
M0C.400002
P0C.410003
A0C.410000
OK
AT+CGSN
AT+CGSN
356995843777963
OK
AT+ICCID
AT+ICCID
+ICCID: 89464278206106421548
OK
AT+CIMI
AT+CIMI
240422610642154
OK
AT+CFUN?
AT+CFUN?
+CFUN: 1
OK
AT+CGDCONT?
AT+CGDCONT?
+CGDCONT: 1,"IP","hologram","",0,0,0,0
+CGDCONT: 2,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 4,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 5,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 6,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
OK
AT+COPS?
AT+COPS?
+COPS: 1,0,"Verizon Wireless",8
OK
AT+COPS=?
AT+COPS=?
+COPS: (2,"Verizon Wireless","VZW","311480",8),,(0-4),(0-2)
OK
AT+CREG?
AT+CREG?
+CREG: 0,5
OK
AT+CGREG?
AT+CGREG?
+CGREG: 0,5
OK
AT+CEREG?
AT+CEREG?
+CEREG: 0,5
OK
AT+CGATT?
AT+CGATT?
+CGATT: 1
OK
AT+CGACT?
AT+CGACT?
+CGACT: 1,1
+CGACT: 2,0
+CGACT: 3,0
+CGACT: 4,0
+CGACT: 5,0
+CGACT: 6,0
OK
AT#SGACT?
AT#SGACT?
#SGACT: 1,0
#SGACT: 2,0
#SGACT: 3,0
#SGACT: 4,0
#SGACT: 5,0
#SGACT: 6,0
OK
AT+CGPADDR=1
AT+CGPADDR=1
+CGPADDR: 1,"10.200.200.211"
OK
AT+CSQ
AT+CSQ
+CSQ: 16,4
OK
AT+CESQ
AT+CESQ
+CESQ: 99,99,255,255,16,35
OK
AT#MONI
AT#MONI
#MONI: Verizon Wireless RSRP:-106 RSRQ:-11 TAC:1E1E Id:0780403 EARFCN:5230 PWR:- 81dbm DRX:128 pci:17 QRxLevMin:0
OK
AT#TEMPMON=1
AT#TEMPMON=1
#TEMPMEAS: 0,28
OK
AT#SERVINFO
AT#SERVINFO
#SERVINFO: 5230,-81,"Verizon Wireless","311480",0000011,1E1E,128,3,-106
OK
AT+CEMODE?
AT+CEMODE?
+CEMODE: 2
OK
AT+WS46?
AT+WS46?
+WS46: 30
OK
AT+CNUM
AT+CNUM
OK
AT#FWSWITCH?
AT#FWSWITCH?
#FWSWITCH: 2
OK
AT#SIMSELGPIOCFG?
AT#SIMSELGPIOCFG?
#SIMSELGPIOCFG: 1
OK
AT#HSEN?
AT#HSEN?
#HSEN: 1
OK
AT#SIMSELECT?
AT#SIMSELECT?
+CME ERROR: unknown
AT#USBCFG?
AT#USBCFG?
#USBCFG: 0
OK
AT+CGCONTRDP=1
AT+CGCONTRDP=1
+CGCONTRDP: 1,5,"hologram","10.200.200.211",,"8.8.8.8","8.8.4.4"
OK
AT#PORTCFG?
AT#PORTCFG?
#PORTCFG: 0,0
OK
AT#FWAUTOSIM?
AT#FWAUTOSIM?
#FWAUTOSIM: 0
OK
AT#LWM2MSKIP?
AT#LWM2MSKIP?
#LWM2MSKIP: 1,F
OK
AT#ENS?
AT#ENS?
#ENS: 0
OK
AT#BND?
AT#BND?
#BND: 5,0,252582047,0,1048578
OK
AT#RFSTS
AT#RFSTS
#RFSTS: "311 480",5230,-106,-82,-9.0,1e1e,20,,128,3,0,0780403,"240422610642154", "Verizon Wireless",3,13,720,3240,131
OK
AT#GPIO=10,2
AT#GPIO=10,2
#GPIO: 0,0,4
OK
AT#WS46?
AT#WS46?
#WS46: 0
OK
AT+CMEE=2
AT+CMEE=2
OK
AT+CGATT=1
AT+CGATT=1
OK
AT+CGATT?
AT+CGATT?
+CGATT: 1
OK
ATE0
ATE0
OK
Modem: Disconnecting and shutting down
AT#SGACT?
#SGACT: 1,0
#SGACT: 2,0
#SGACT: 3,0
#SGACT: 4,0
#SGACT: 5,0
#SGACT: 6,0
OK
Modem: Resetting network operator..
AT+COPS=2
OKAT#FPLMN=2
OKAT+CRSM=214,28542,0,0,11,"FFFFFFFFFFFFFFFFFFFFFF"
+CRSM: 144,0
OKAT+COPS=0
OKModem: Powering off..
AT#SHDN
OKPower: 3V3_SW power disabled