added testcases / a bit refactored
This commit is contained in:
@@ -15,9 +15,9 @@ Packages
|
||||
---------------------------------
|
||||
0xF00: HELLO->ADOPT
|
||||
Payload:
|
||||
2 bytes | DeviceId -> DeviceId Explicit
|
||||
2 bytes | Byte -> Software-Version (1.0)
|
||||
2 bytes | Byte -> Hw Version (4.0
|
||||
2 bytes | Byte -> Hw Version (4.0)
|
||||
2 bytes | DeviceId -> DeviceId Explicit
|
||||
|
||||
0x050: Input Switch Triggered
|
||||
-> Broadcast
|
||||
@@ -29,7 +29,7 @@ Payload:
|
||||
0x055: Command Set Switch
|
||||
-> Broadcast
|
||||
---------------------------------
|
||||
2 bytes | TargetDeviceId -> The id of the board
|
||||
2 bytes | TargetDeviceId -> The id of the device to set the pin of
|
||||
1 byte | PinId -> Idof the pin of the board
|
||||
1 byte | state -> 1 to swtich on, 0 to switch off
|
||||
|
||||
|
||||
Reference in New Issue
Block a user