wirte your own protocol / MySensor.h
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"
#if !defined(MY_OWN_PROTOCOL) #include "core/MyProtocolMySensors.cpp" #endif
Or is there a better solution?
Hmm. that should't be included at all for MQTT gateways. Thanks for spotting.
Or maybe I misunderstand what you're trying to do.. Please open a chat.