the VSCP Simple Test Suite

 

SimpleButton

The SimpleButton is just a button that can be clicked. On every click it sends out a VSCP event. Although simple it is also powerful because it can be configured to send any VSCP event. 

The default is to send CLASS.CONTROL_TYPE.ALL_LAMPS_ON_OFF event (class=30, type=2).  This event has two parameters. Databyte zero is zero for off and not zero for on , databyte one is the zone for which the sent event is intended. If byte one is set to 255 it means all zones. So the default setting means turn on all lamps in zone 0.

The settings dialog also gives possibilities to set the least significant byte of the GUID for this "node". The six most significant bytes are the MAC address of your PC.

You have a total of seven databytes that you can send. A Level II event can have max 487 databytes and a Level I event can have a maximum of eight. This is why we have set a limit at eight bytes.

       

<< Previous

Next ->>