isConnected
This method returns true if the device is connected with Grandeur.
Grandeur::Project project;
void setup() {
project = grandeur.init(apiKey, token);
}
void loop() {
if(!project.isConnected()) {
Serial.println("Device is not connected with Grandeur!\n");
}
else {
Serial.println("Yay! Device has made a successful connection with Grandeur!\n");
}
project.loop();
}