Hello,
I’m having trouble sending any requests with my Pico as every request I send times out. I have also looked at the troubleshooting and am trying to send a request to webhook.site. With debug level set to 0 I can see the following output upon sending a get request (even when waiting for 20s before reading the output):
Response
DEBUG: Power status: 0
DEBUG: Power status: 0
DEBUG: Response: ['\r\nOK\r\n']
DEBUG: Processed: ['OK']
DEBUG: COM: {'response': ['OK'], 'status': 0}
DEBUG: Response: ['\r\nOK\r\n']
DEBUG: Processed: ['OK']
DEBUG: Response: ['\r\n+CREG: 0,5\r\n\r\nOK\r\n']
DEBUG: Processed: ['+CREG: 0,5', 'OK']
DEBUG: Desired: +CREG: 0,5
DEBUG: check_network_registration : {'response': ['+CREG: 0,5', 'OK'], 'status': 0}
DEBUG: success : {'response': ['+CREG: 0,5', 'OK'], 'status': 0}
DEBUG: Response: ['\r\nOK\r\n']
DEBUG: Processed: ['OK']
DEBUG: Response: ['\r\n+CGACT: 1,1\r\n+CGACT: 2,0\r\n\r\nOK\r\n']
DEBUG: Processed: ['+CGACT: 1,1', '+CGACT: 2,0', 'OK']
DEBUG: Desired: +CGACT: 1,1
DEBUG: check_pdp_context_status : {'response': ['+CGACT: 1,1', '+CGACT: 2,0', 'OK'], 'status': 0}
DEBUG: success : {'response': ['+CGACT: 1,1', '+CGACT: 2,0', 'OK'], 'status': 0}
DEBUG: Processed: ['CONNECT']
DEBUG: Response: ['\r\nOK\r\n']
DEBUG: Processed: ['OK']
DEBUG: Response: ['\r\nOK\r\n']
DEBUG: Processed: ['OK']
INFO: Sending a GET request.
DEBUG: Response: ['\r\nOK\r\n']
DEBUG: Processed: ['OK']
DEBUG: Response: ['\r\nOK\r\n']
DEBUG: Processed: ['OK']
INFO: {'response': ['OK'], 'status': 0}
DEBUG: Processed: ['+CME ERROR: 703']
INFO: {'response': 'timeout', 'status': 2}
Other AT commands I have tried:
+CREG: 0,5
+CSQ: 21
+CGACT: 1,1
+CGPADDR: 1, xxx.xx.xxx.xx
Also, even when I wait for 60s before reading the response, I get an error:
INFO: {'response': ['OK'], 'status': 0}
DEBUG: Processed: ['+QHTTPGET: 714', '+CME ERROR: 705']
INFO: {'response': 'timeout', 'status': 2}
I assume that this is because the wait time is too long then.
The monitor_network script returns this:
monitor_network
INFO: ========== PicoLTE Device and Network Status Check Start ==========
INFO: --- Device Information ---
INFO: 1. Device General Info: {'response': ['Quectel', 'BG95-M3', 'Revision: BG95M3LAR02A03', 'OK'], 'status': 0}
INFO: 2. IMEI (Unique Module ID): {'response': ['866901065671861', 'OK'], 'status': 0}
INFO: 3. Firmware Version: {'response': ['BG95M3LAR02A03_01.200.01.200', 'OK'], 'status': 0}
INFO: 4. Manufacturer Name: {'response': ['Quectel', 'OK'], 'status': 0}
INFO: 5. Model Name: {'response': ['BG95-M3', 'OK'], 'status': 0}
INFO:
INFO: --- SIM Card Information ---
INFO: 6. SIM ICCID (Card Serial Number): {'status': 0, 'response': ['+QCCID: 8988307000003xxxxxxx', 'OK'], 'value': '8988307000003xxxxxxx'}
INFO: 7. SIM Ready Status: {'response': ['+CPIN: READY', 'OK'], 'status': 0}
INFO:
INFO: --- Network Type Information ---
INFO: 8. Network Scan Mode: {'response': ['+QCFG: "nwscanmode",0', 'OK'], 'status': 0}
INFO: 9. IoT Optimization Mode: {'response': ['+QCFG: "iotopmode",2', 'OK'], 'status': 0}
INFO: 10. Current Network Technology: {'status': 0, 'response': ['+COPS: 0,0,"o2 - de",8', 'OK'], 'value': 'LTE CAT M1'}
INFO:
INFO: --- Signal Quality ---
INFO: 11. Signal Quality (CSQ - RSSI/BER): {'response': ['+CSQ: 22,99', 'OK'], 'status': 0}
INFO:
INFO: --- Network Status ---
INFO: 12. Operator Info + Access Tech: {'response': ['+COPS: 0,0,"o2 - de",8', 'OK'], 'status': 0}
INFO: 13. LTE Network Registration (CEREG): {'response': ['+CEREG: 0,5', 'OK'], 'status': 0}
INFO: 14. Serving Cell Info: {'response': ['+QNWINFO: "eMTC","26203","LTE BAND 20",6200', 'OK'], 'status': 0}
INFO: 15. Extended Signal Quality (QCSQ - RSRP/RSRQ/SINR): {'response': ['+QCSQ: "eMTC",-70,-98,138,-13', 'OK'], 'status': 0}
INFO: 16. Signaling Connection Status (QCSCON): {'response': ['+QCSCON: 0,0', 'OK'], 'status': 0}
INFO:
INFO: --- Packet Service and APN Info ---
INFO: 17. PDP Context (APN Settings): {'response': ['+CGDCONT: 1,"IP","super","0.0.0.0",0,0,0', '+CGDCONT: 2,"IPV4V6","ota.super","0.0.0.0",0,0,0', 'OK'], 'status': 0}
INFO: 18. IP Address Info: {'response': ['+CGPADDR: 1,xxx.xx.xxx.xx', '+CGPADDR: 2,0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0', 'OK'], 'status': 0}
INFO: 19. Packet Attach Status (CGATT): {'response': ['+CGATT: 1', 'OK'], 'status': 0}
INFO:
INFO: --- QPING Command ---
INFO: 20. QPING (Single Ping Test): {'response': ['OK'], 'status': 0}
INFO:
INFO: ========== PicoLTE Device and Network Status Check Complete ==========
Edit:
I forgot to mention: The preloaded data package of 1GB is empty. But I do have a data plan enabled which is used by many other Pi 3/4. However, the page of the Pico only shows this:
Could that be an issue?
