wirte your own protocol / MySensor.h
Development
2
Posts
2
Posters
1.1k
Views
1
Watching
-
Trying to write a MQTT controller based on the MyGatewayTransportMQTTClient.cpp I have a problem, with MySensor.h:
// We currently only support one protocol at the moment, enable it #include "core/MyProtocolMySensors.cpp"My proposal
#if !defined(MY_OWN_PROTOCOL) #include "core/MyProtocolMySensors.cpp" #endifOr is there a better solution?