vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.96k stars 726 forks source link

Sim7000 unhandled CNMP/CMNB output #495

Closed Fullmono closed 3 years ago

Fullmono commented 3 years ago

[x ] I have read the Troubleshooting section of the ReadMe

What type of issues is this?

[x ] Bug or issue with library functionality (ie, sending data over TCP/IP)

What are you working with?

Modem: Sim7000 Main processor board: ESP32-WRover TinyGSM version: 0.10.9 Code: modem.setNetworkMode(2);

Scenario, steps to reproduce

Expected result

Actual result

networkMode is set. I'm just quibbling about this ugly debug line: [8418] ### Unhandled: OK I don't know if it could have an other impact somewhere. I tried to fix the code but I couldn't find the solution.

Debug and AT command log

18:00:29.850 -> [6737] ### TinyGSM Version: 0.10.9
18:00:29.850 -> [6737] ### TinyGSM Compiled Module:  TinyGsmClientSIM7000
18:00:29.850 -> AT
18:00:30.153 -> AT
18:00:30.187 -> AT

18:00:30.187 -> OK
18:00:30.187 -> ATE0
18:00:30.220 -> ATE0

18:00:30.220 -> OK
18:00:30.220 -> AT+CMEE=2
18:00:30.255 -> 
18:00:30.255 -> OK
18:00:30.255 -> AT+GMM
18:00:30.289 -> 
18:00:30.324 -> SIMCOM_SIM7000G
18:00:30.324 -> 
18:00:30.324 -> OK
18:00:30.324 -> [7186] ### Modem: SIMCOM SIM7000G
18:00:30.324 -> AT+CLTS=1
18:00:30.324 -> 
18:00:30.324 -> OK
18:00:30.324 -> AT+CBATCHK=1
18:00:30.359 -> 
18:00:30.359 -> OK
18:00:30.359 -> AT+CPIN?
18:00:30.427 -> 
18:00:30.427 -> +CPIN: READY
18:00:30.427 -> 
18:00:30.427 -> OK
18:00:30.528 -> AT+CNMP=2
18:00:30.562 -> 
18:00:30.562 -> OK
18:00:31.547 -> [8418] ### Unhandled: OK
18:00:31.547 -> [8418] Assigning  network to LTE only, result is  OK
18:00:32.020 -> AT+CMNB=3
18:00:32.054 -> 
18:00:32.054 -> OK
18:00:33.038 -> [9929] ### Unhandled: OK
18:00:33.038 -> [9929] Assigning  network to CAT-M, result is  OK