How can i define message Payload Type
-
Hi,
i am trying to change the Payload Type in this message,3304546 TSF:MSG:SEND,12-12-0-15,s=0,c=1,t=3,pt=3,l=2,sg=0,ft=0,st=OK:34
from pt=3 to pt=0 in order to be recognized by the Dimmer Actuator
... with "P_STRING"(sent from MYSController) works but not with "P_UINT16" !the following is the output from DimmableLED Actuator example
2301587 TSF:MSG:READ,12-0-15,s=0,c=1,t=3,pt=3,l=2,sg=0:34 Changing level to 0, from 0 2301594 TSF:MSG:SEND,15-15-0-0,s=14,c=1,t=2,pt=1,l=1,sg=0,ft=0,st=OK:0 2301604 TSF:MSG:SEND,15-15-0-0,s=14,c=1,t=3,pt=2,l=2,sg=0,ft=0,st=OK:0
... could someone help me!
-
did you make any change from the original sketch?
-
no! i didn't ... i am working on it now... and seems that works by just changing the sender node variable declaration from "unsigned int" to "int" ! is that normal?
-
in fact the sketch uses "INT", so if you change variable types you can expect problems
-
hmm! OK! sounds reasonable!
Thanx you...
1 out of 5
Suggested Topics
-
Day 1 - Status report
Announcements ā¢ 23 Mar 2014, 22:45 ā¢ hek 24 Mar 2014, 20:12 -
Ghost Child
Troubleshooting ā¢ 19 days ago ā¢ FcNanoLed 16 days ago -
NODs stop responding, but ping works.
Troubleshooting ā¢ 26 days ago ā¢ Marcin 26 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting ā¢ 26 Feb 2025, 00:32 ā¢ dpcons 26 Feb 2025, 06:22 -
Can not compile MySensors on esp8266
Troubleshooting ā¢ 24 Aug 2024, 15:35 ā¢ TheoL 29 Aug 2024, 20:47 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting ā¢ 14 days ago ā¢ bocalexandru 13 days ago