Midnight Sun Firmware
|
Application Callback functions for the Client. More...
Functions | |
void | applicationMessageCallback (Client *client, std::string &message) |
Handle receiving new client messages. More... | |
void | applicationConnectCallback (Client *client) |
Handle connecting to the server. More... | |
Application Callback functions for the Client.
void applicationConnectCallback | ( | Client * | client | ) |
Handle connecting to the server.
This shall notify the user about a new server connection
client | Pointer to the connected client instance |
void applicationMessageCallback | ( | Client * | client, |
std::string & | message | ||
) |
Handle receiving new client messages.
This shall handle all CommandCodes received This shall branch out to the GpioManager, I2CManager, SPIManager or InterruptManager based on the CommandCode
client | Pointer to the connected client instance |
message | String message value that has been received |