Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building RS232 commands
#1
Hi,

I have a question on  the \"Escape\" character 15.

I assume this applies to ZWave ID\'s as with the dim value etc as both can take \"15\" or \"255\" as valid settings, right?

So if I need to command for say  ID 15 and 16 in a basic commannd (multicast then by type) ,  does the command string look like

197,{ucm#},1, {# of ID\'s}, 15. 15, 16 , {dim level}

But does the {# of ID\'s}  include or exclude the Escape Character(s); ie is it 2 or 3 in the above example?

Regards

Julian

 

 

 

 

 
Reply

#2
The number of ids should exclude the escape character
The string in action 197 is parsed by Comfort to remove the escape characters before they get sent to the UCM/Zwave
The need for escape is just to handle the 255 byte which is a terminator in action codes (a remnant of keypad programming)
Reply

#3
OK

So the {# of ID}\'s  value itself doesn\'t include the extra escape characters.

But if the {#of ID\'s} is 15 itself then it\'s 15,15 before the first real ID value is listed in the string?

Julian

 

 

 
Reply

#4
that is correct (I think)
Reply

#5
Correct me if I am wrong but the ucm# is actually 16 + UCM#, I think.... UCM01 in the system will have an ID of 17, UCM02 will be 18 and so on...

Ingo
Reply

#6
Yes you are right. The 1st UCM  is 17, so you dont have to worry about an ID of 15, as it does noty exist
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.