I_DEBUG variable is sent via "set" command, instead of "internal" command
-
In the latest version, I noticed that when a node is sending out a
I_DEBUGtype payload, it's being sent out as set (1) command instead of internal (3) command. The type value is correctly set to "28" in both cases.Example:
// Debug msg container declaration MyMessage msgE1(255, I_DEBUG); // Send Debug payload send(msgE1.set("BME280 INIT SUCCESS"));Expected message sent to gateway:
mygateway1-out/11/255/3/0/28 BME280 INIT SUCCESSActual message sent to gateway:
mygateway1-out/11/255/1/0/28 BME280 INIT SUCCESS -
In the latest version, I noticed that when a node is sending out a
I_DEBUGtype payload, it's being sent out as set (1) command instead of internal (3) command. The type value is correctly set to "28" in both cases.Example:
// Debug msg container declaration MyMessage msgE1(255, I_DEBUG); // Send Debug payload send(msgE1.set("BME280 INIT SUCCESS"));Expected message sent to gateway:
mygateway1-out/11/255/3/0/28 BME280 INIT SUCCESSActual message sent to gateway:
mygateway1-out/11/255/1/0/28 BME280 INIT SUCCESS -
Looking at https://github.com/mysensors/MySensors/blob/4380d6618fe818aaf0edc6373bdff400338257a8/MyConfig.h#L38 it seems like there are no "free-form" debug messages.
@mfalkvidd Makes sense. Is there another "free-form" message type I can use instead?
-
@mfalkvidd Makes sense. Is there another "free-form" message type I can use instead?
@gogopotato V_TEXT should work. https://www.mysensors.org/download/serial_api_20#set,-req
-
@gogopotato V_TEXT should work. https://www.mysensors.org/download/serial_api_20#set,-req
@mfalkvidd Great. Thanks for the help!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login