Cayenne + Wifimanager

Hi, cfieiras.

My solution is as follows.
The new method to solve the WiFi setup problem.
Modify the CayenneWiFiClient.h file in the Cayenne library.

The code is as follows.

/* The new method to solve the WiFi setup problem

  • Steve Wang 2017/04/26
    */

void begin(const char* token){
Blynk.config(token, CAYENNE_DOMAIN, CAYENNE_PORT);
}

arduino code:

void setup() {
Serial.begin(9600);
//Cayenne.begin(token, ssid, password);
Cayenne.begin(token);
}

void loop(){
Cayenne.run();
}

1 Like