Hey guys,
tried to use a Arduino + Wifi to conect to the cloud. I used the script as it is shown in the documentation but i got the following socket problem:
[NETWORK] Starting connection…
[NETWORK] Connecting to network ArduinoTEST
[NETWORK] Connected to WiFi!
[NETWORK] Getting IP Address…
[NETWORK] Got IP Address: 192.168.1.100
[NETWORK] Connected!
[_SOCKET] Connecting to iot.thinger.io:25200…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Connecte
5- Q- QuoConnecting to iot.thinger.io:25200…
[_SOCKET] Using secure TLS/SSL connection: no
The script I used:
#define THINGER_STATIC_MEMORY_SIZE 512
#include <SPI.h>
#include <WiFi.h>
#include <ThingerWifi.h>#define USERNAME “OURUSERNAME”
#define DEVICE_ID “OURDEVICEID”
#define DEVICE_CREDENTIAL “OURCREDENTIALS”#define SSID “ArduinoTEST”
#define SSID_PASSWORD “ArduinoPasswort”ThingerWifi thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
void setup() {
Serial.begin(9600);// configure wifi network
thing.add_wifi(SSID, SSID_PASSWORD);}
void loop() {
thing.handle();
}
I think it might be a DNS problem because i tried multiple networks and other devices on this networks worked perfectly fine. I would be happy about any ideas or help.