Hello,
it seems that smart config cannot connect to thinger with TLS/SSL enabled.
With:
ThingerSmartConfig thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
I get following error:
[NETWORK] Starting connection…
[NETWORK] Trying to connect to the last known network: xxxx
[NETWORK] Connected to WiFi!
[NETWORK] Getting IP Address…
[NETWORK] Got IP Address: 192.168.0.2
[NETWORK] Connected!
[_SOCKET] Connecting to iot.thinger.io:25202…
[_SOCKET] Using secure TLS/SSL connection: yes
[_SOCKET] Error while connecting!
but if I disable TLS by:
"#define DISABLE_TLS"
then it works:
[NETWORK] Starting connection…
[NETWORK] Trying to connect to the last known network: xxxx
[NETWORK] Connected to WiFi!
[NETWORK] Getting IP Address…
[NETWORK] Got IP Address: 192.168.0.2
[NETWORK] Connected!
[_SOCKET] Connecting to iot.thinger.io:25200…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Connected!
Is this normal?