vshymanskyy / TinyGSM

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

SIM7000 Series_AT Command Manual_V1.06 Section 9 not implemented? Gitter no longer in use? #810

Open CF20852 opened 1 month ago

CF20852 commented 1 month ago

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

What type of issues is this?

[ ] Request to support a new module

[ ] Bug or problem compiling the library [ ] Bug or issue with library functionality (ie, sending data over TCP/IP) [ x] Question or request for help

When troubleshooting the MQTT connection issue described in more detail below, it became evident that TinyGSM uses a set of HTTP(S) commands that probably date back to the SIM800, and that are not listed in Section 9 of the SIM7000 Series_AT Command Manual_V1.06. My question is, are there any plans to update the TinyGSM library to use the current documented AT command set of the SIM7000?

What are you working with?

Modem: LilyGo T-SIM7000G v 20-4-15 Main processor board: ESP32 TinyGSM version: 0.12.0 Code:

Scenario, steps to reproduce

Trying to use MQTT with a HiveMQ link that includes a hex ID of length 30 characters followed by .s1.eu.hivemq.cloud.

Expected result

A connection to the HiveMQ broker using the Cluster URL provided by HiveMQ.

Actual result

The SIM7000G refuses to process the AT command (throws an Operation Not Allowed error), possibly because the arguments are too long.

Debug and AT command log

18:37:47.170 -> === MQTT NOT CONNECTED ===
18:37:47.170 -> Connecting to a627081bb45514f4466ad3dc3ad6d491.s1.eu.hivemq.cloud
18:37:47.170 -> AT+CIPCLOSE=0
18:37:47.170 -> 
18:37:47.170 -> +CME ERROR: operation not allowed
18:37:48.163 -> AT+CIPSTART=0,"TCP","3ada627081bb46d4915514f4466ad3dc.s1.eu.hivemq.cloud",8883
18:37:48.196 -> 
18:37:48.196 -> +CME ERROR: operation not allowed
18:37:49.165 ->  fail