Arduino Online/Offline Override

It has been a long time since i made that, But if I remember correctly…

1)Search for a file within the arduino: BlynkProtocol.h and edit it.

do a find and remove the comments on ALL the lines like this:
//BlynkOnDisconnected();
There are 5 or six or so from memory

2)With the edited version saved, you can now use:

CAYENNE_CONNECTED(){
//Do Stuff for Online here
}

}
CAYENNE_DISCONNECTED(){
//Do Stuff for Offline here
}

Hope this helps :innocent: