Ok, so no takers here yet…
Any input on here is appreciated, I have reviewed the ‘TinyGSM’ files online and have found some info and found the following sequence (SIM800):
- Initialise the module → Check SIM Pin and APN and and and…
This is where I seem to be missing something
- Configure DNS Server Address = “8.8.8.8”,“8.8.4.4” (is this correct?)
- Open the Connection = “TCP”,“ny3.blynk.cloud”,8442
→ found the “ny3” at the bottom of my web portal dashboard so used that server
→ 8442 is the default Port (according to SIM800 TinyGSM)
→ 8443 is secure Port (according to SIM800 TinyGSM)
→ “ny3.blynk.cloud” found IP Address: 64.225.16.22, anyone know if this is static or dynamic?
When I try these settings, I get a “Socket connection failed(code 566)” response, tried both default and secure ports, when I use the domain name.
When I try connect with the IP address, I get an “Open URC” and then 15mS later the “closed” URC is issued, so the connection is closed from the server side.
Here is my AT command log with time stamp, any comments welcome:
[2021-12-13_14:49:59:330]AT
[2021-12-13_14:49:59:330]OK
[2021-12-13_14:50:02:131]AT+CMEE=2
[2021-12-13_14:50:02:131]OK
[2021-12-13_14:50:07:120]AT+CPIN?
[2021-12-13_14:50:07:120]+CPIN: READY
[2021-12-13_14:50:07:120]OK
[2021-12-13_14:50:09:457]AT+CEREG?
[2021-12-13_14:50:09:457]+CEREG: 0,5
[2021-12-13_14:50:09:457]OK
[2021-12-13_14:50:13:116]AT+CFUN?
[2021-12-13_14:50:13:116]+CFUN: 1
[2021-12-13_14:50:13:116]OK
[2021-12-13_14:50:14:219]AT+COPS?
[2021-12-13_14:50:14:219]+COPS: 0,2,“65501”,9
[2021-12-13_14:50:14:219]OK
[2021-12-13_14:50:18:939]AT+CGATT?
[2021-12-13_14:50:18:939]+CGATT: 1
[2021-12-13_14:50:18:939]OK
[2021-12-13_14:50:25:033]AT+QIDNSCFG=0,“8.8.8.8”,“8.8.4.4”
[2021-12-13_14:50:25:033]OK
[2021-12-13_14:50:32:487]AT+QIOPEN=0,0,“TCP”,“ny3.blynk.cloud”,8442,0,1
[2021-12-13_14:50:32:487]OK
[2021-12-13_14:50:34:711]
[2021-12-13_14:50:34:711]+CSCON: 1
[2021-12-13_14:50:34:928]
[2021-12-13_14:50:34:928]+QIOPEN: 0,566
[2021-12-13_14:50:40:596]AT+QICLOSE=1
[2021-12-13_14:50:40:596]OK
[2021-12-13_14:50:40:596]CLOSE OK
[2021-12-13_14:50:44:539]AT+QIOPEN=0,1,“TCP”,“64.225.16.22”,8443,0,1
[2021-12-13_14:50:44:539]OK
[2021-12-13_14:50:45:124]
[2021-12-13_14:50:45:124]+QIOPEN: 1,0
[2021-12-13_14:50:45:625]
[2021-12-13_14:50:45:625]+QIURC: “closed”,1