mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-17 21:56:40 +01:00
layer basic com
This commit is contained in:
@@ -28,13 +28,13 @@ class MeshNet : public Network {
|
||||
MeshNet(MeshConfig cfg);
|
||||
Network* init();
|
||||
|
||||
void broadcast(String msg);
|
||||
void sendTo(uint32_t target, String msg);
|
||||
void update(); // only needed when no scheduler was passed to mesh.init
|
||||
void receivedCallback( uint32_t from, String &msg );
|
||||
void newConnectionCallback(uint32_t nodeId);
|
||||
void changedConnectionCallback();
|
||||
void nodeTimeAdjustedCallback(int32_t offset);
|
||||
void broadcast(String msg);
|
||||
void sendTo(uint32_t target, String msg);
|
||||
void onReceive(std::function<void(uint32_t from, String &msg)>);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user