|
MySensors Library & Examples
2.3.2-62-ge298769
|
Go to the documentation of this file.
74 #ifndef MyGatewayTransport_h
75 #define MyGatewayTransport_h
77 #include "MyProtocol.h"
80 #define MSG_GW_STARTUP_COMPLETE "Gateway startup complete."
82 #if defined(MY_DEBUG_VERBOSE_GATEWAY)
83 #define GATEWAY_DEBUG(x,...) DEBUG_OUTPUT(x, ##__VA_ARGS__)
85 #define GATEWAY_DEBUG(x,...)
MyMessage & gatewayTransportReceive(void)
Pick up last message received from controller.
bool gatewayTransportInit(void)
Initialize gateway transport driver.
void gatewayTransportProcess(void)
Process gateway-related messages.
bool gatewayTransportAvailable(void)
Check if a new message is available from controller.
bool gatewayTransportSend(MyMessage &message)
Send message to controller.
MyMessage is used to create, manipulate, send and read MySensors messages.