I need to send one of the following commands:
SET SSTOP=1
or
SET SSTOP=0
However, the response is different in the two cases.
I think a "BO" record, should be used, but is there anyway I can have
different protocol definitions for the "1" and "0" state?
Alternatively, is there an easy way to separate this into two records?
I would just map the behaviour:
Create two protocols for on and off, with hardcoded values and command-specific replies.
Use two bo records, push-button style, HIGH=0.1, and connect them to the two protocols.
If you need a switch instead of two push-buttons, add another bo for the switch, FLNKing to a seq record in SELM=specified mode that writes a 1 to the appropriate push-button.
Cheers,
~Ralph