mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-16 13:25:03 +01:00
add sendTo method, cleanup
This commit is contained in:
@@ -24,7 +24,7 @@ class MeshApp : public Sprocket {
|
||||
} using Sprocket::activate;
|
||||
|
||||
void advertise(MeshNet* network){
|
||||
String msg = "Hi, my name is " + String(network->id);
|
||||
String msg = "{ \"payload \": 1 }";
|
||||
network->broadcast(msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user