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_DEBUG
type 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 SUCCESS
Actual message sent to gateway:
mygateway1-out/11/255/1/0/28 BME280 INIT SUCCESS
-
@gogopotato it looks like the message is sent with the type V_VAR5. I am not sure how to send internal messages manually, but the constructor used in your code expects a V_ type, not an I_ type.
-
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?
-
@gogopotato V_TEXT should work. https://www.mysensors.org/download/serial_api_20#set,-req
-
@mfalkvidd Great. Thanks for the help!
Suggested Topics
-
Code for beta-testing?
Controllers • 24 Mar 2014, 20:48 • andriej 9 Aug 2014, 10:44 -
ESP32 + Signing fails after xxx msg as result of memory leak
Bug Reports • 6 Apr 2020, 18:43 • Technovation 7 Mar 2022, 10:37 -
ACK -aka ECHO beeing missed by Serial Gateway with RF24 radios. V2.3.2
Bug Reports • 15 Apr 2023, 06:27 • GaryStofer 21 Apr 2023, 17:34 -
RFM95W sleep() directly after send() often doesn't sleep radio
Bug Reports • 1 Jan 2023, 18:41 • prawnpie 8 Jan 2023, 05:36 -
sleep(0) in V2.1 doesn't sleep indefinitely anymore. Used to powerdown and sleep in V1.5
Bug Reports • 22 Nov 2019, 00:35 • GaryStofer 15 Apr 2023, 05:50 -
Missing "__libc_init_array();" wenn using samd without USB
Bug Reports • 6 Jul 2022, 08:36 • ltigges 7 Jul 2022, 22:43