Open github0013 opened 1 year ago
I think "AT+CGAUTH" params are not properly set.
https://github.com/vshymanskyy/TinyGSM/blob/3356c1d5c7bbde4a8440021b591453545ffccbde/src/TinyGsmClientSIM7600.h#L319
When cid
is set, the password should come first before the user.
Here's the reason. https://github.com/vshymanskyy/TinyGSM/pull/678
I edited TinyGsmClientSIM7600.h
like this, and the same main.cpp is working just fine.
sendAT(GF("+CGAUTH=1,0,\""), pwd, GF("\",\""), user, '"');
[x ] I have read the Troubleshooting section of the ReadMe
Using M1 Macbook air as the power source. The other port is not occupied. Tried 2.5A and 2.1A usb blocks, but the results are the same. The usb cable is about 20cm long.
Fixed baud rate, 115200.
factoryDefault is not implemented in TinyGsmClientSIM7600.
Tried
modem.gprsConnect(apn)
beforemodem.waitForNetwork()
, and I get+NETOPEN: 1
.The signal quality is excellent (always around
+CSQ: 25,99
). Tried for 15 mins onwaitForNetwork
.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
What are you working with?
Modem: Manufacturer: SIMCOM INCORPORATED Model: SIMCOM_SIM7600JC-H Revision: SIM7600JC-H_V1.1
Main processor board: ESP32 TinyGSM version: 0.11.5
Scenario, steps to reproduce
I am using an iPhone SE2, and the SIM card is LTE (not data only SIM). I am testing my device with this SIM card.
Expected result
SIM gets registered to the network and show the IP address.
Actual result
It stops at
modem.waitForNetwork()
. It seems it's always gettingREG_SEARCHING
ofRegStatus
.Debug and AT command log
+CGREG goes on forever until the timeout.