MeyCan: PROTOCOL ArbitartionID: |<-- 13 bits -->| |<-- 16 bits -->| COMMAND DEVICE_ID ABC 0x14 6A COMMAND: The Command or data type transfered. -> 2^11 = 2048 Package-Types DEVICE_ID: A unique id for the device within the CAN Network (Home) -> 2^18 bit = 65.536 devices allowed Packages --------------------------------- 0xF00: HELLO->ADOPT Payload: 2 bytes | Byte -> Software-Version (1.0) 2 bytes | Byte -> Hw Version (4.0) 1 bytes | DeviceTypeId | 1: Switch | 2: Switch + Rule | 3: UP 0x050: Input Switch Triggered -> Broadcast --------------------------------- Payload: 1 byte| PinId -> Id of the pin of the local board. 1 byte| State -> 1 for Switched, 0 for Unswitched 0x055: Command Set Switch -> Broadcast --------------------------------- 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 0x010: Request Remote Pin State -> Broadcast --------------------------------- 2 bytes | TargetDeviceId -> The id of the board to request the remote pin states from. This needs to be a control device (not UP) 1 byte | 0: Request | 1: Response DAT | -- n Items of format ------------ * 2 byte: DeviceId * 1 byte: The State 0x009: Debug -> Debug Package ---------------------------------- some debug information 0xAA AudioStream #1 0xAB AudioStream #2 0xBA AudioStream #3 0xBB AudioStream #4 0xAAXX -> XX = Sequence Counter 0xY -> Reserve - Flag |<-- 4 bits -->| |<-- 24 bits -->| -> 3 Byte / Paket