Hi,
I am using the sim808 gprs module with the arduino nano board and the TinyGSM lib. For testing the connection the ArduinoTinyGSM sketch example has been uploaded.
It is possible to establish a connection to thinger.io
But shortly later the connection aborts. No other connection is possible unless I upload the sketch again.
Please help. Thank you!!
Debug Information:
link = iot.thinger.io:25200 (had to delete links)
[NETWORK] Starting connection…
[NETWORK] Network Status: 1
[[NETWORK] Connected!
[_SOCKET] Connecting to link…
[_SOCKET] Using secure TLS/SSL connection: no
[NETWORK] Starting connection…
[NETWORK] Network Status: 1
[NETWORK] Connecting to APN…
[NETWORK] Connected!
[_SOCKET] Connecting to link…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Error while connecting!
[NETWORK] Starting connection…
[NETWORK] Network Status: 1
[NETWORK] Connecting to APN…
[NETWORK] Connected!
[_SOCKET] Connecting to link…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Connected!
[THINGER] Authenticating. User: rjakub Device: arduinoNano001
[THINGER] Writing bytes: 45 [OK]
[THINGER] Authenticated
[THINGER] Writing bytes: 2 [FAIL]
[THINGER] Expected:2
[THINGER] Wrote:65535
[_SOCKET] Timeout!
[_SOCKET] Is now closed!
[NETWORK] Starting connection…
[NETWORK] Network Status: 1
[NETWORK] Connecting to APN…
[NETWORK] Connected!
[_SOCKET] Connecting to link…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Error while connecting!
[NETWORK] Starting connection…
[NETWORK] Network Status: 1
[NETWORK] Connecting to APN…
[NETWORK] Connected!
[_SOCKET] Connecting to link…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Error while connecting!
[NETWORK] Starting connection…
[NETWORK] Network Status: 1
[NETWORK] Connecting to APN…
[NETWORK] Connected!
[_SOCKET] Connecting to link…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Connected!
[THINGER] Authenticating. User: rjakub Device: arduinoNano001
[THINGER] Writing bytes: 45 [FAIL]
[THINGER] Expected:45
[THINGER] Wrote:65535
[THINGER] Auth Failed! Check username, device id, or device credentials.
[_SOCKET] Is now closed!
[NETWORK] Starting connection…
[NETWORK] Network Status: 4
[NETWORK] Restarting Modem…
[NETWORK] Waiting for Network…
[NETWORK] Network Connected!
[NETWORK] Connecting to APN…
[NETWORK] Connected!
[_SOCKET] Connecting tolink…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Error while connecting!
[NETWORK] Starting connection…
[NETWORK] Network Status: 1
[NETWORK] Connecting to APN…
[NETWORK] Connected!
[_SOCKET] Connecting to link…
[_SOCKET] Using secure TLS/SSL connection: no