Skip to content

Latest commit

 

History

History
126 lines (100 loc) · 6.73 KB

File metadata and controls

126 lines (100 loc) · 6.73 KB

PUSH BUTTON

PUSH BUTTON AUTO-ACK

If auto acknowledge is enabled on CUL (See CUL-stick), this acknowledge message comes always bevor the push button state message.

Received contact auto-ack:

Z0BBB000212345604FD33000000
|||||||||||||||||||||||||||
|||||||||||||||||||||||||++--------------------------RSSI (Received Signal Strength Indicator)
|||||||||||||||||||||||++----------------------------Payload (Always 00)
|||||||||||||||||||||++------------------------------Group/Room ID
|||||||||||||||++++++--------------------------------Destination Address (Address of the paired partner, if not paired: 000000 = broadcast)
|||||||||++++++--------------------------------------Source Address
|||||||++--------------------------------------------Message-Typ: 02 = Acknowledge
|||||++----------------------------------------------Flag???
|||++------------------------------------------------Message Count
|++--------------------------------------------------Checksum = Message length / 2 (The Z, the checksum itself and the RSSI are not counted)
+----------------------------------------------------Z = This is a MORITZ-Message from a MAX! device

PUSH BUTTON STATE

Received push button state

Z0CBB025004FD331234560010013B
|||||||||||||||||||||||||||||
|||||||||||||||||||||||||||++------------------------RSSI (Received Signal Strength Indicator)
|||||||||||||||||||||||++++--------------------------Payload (Decoding see below)
|||||||||||||||||||||++------------------------------Group/Room ID
|||||||||||||||++++++--------------------------------Destination Address (Address of the paired partner, if not paired: 000000 = broadcast)
|||||||||++++++--------------------------------------Source Address
|||||||++--------------------------------------------Message-Typ: 50 = Push button state
|||||++----------------------------------------------Flag???
|||++------------------------------------------------Message Count
|++--------------------------------------------------Checksum = Message length / 2 (The Z, the checksum itself and the RSSI are not counted)
+----------------------------------------------------Z = This is a MORITZ-Message from a MAX! device

Decoding Payload (Push button state)

1001
||||
||++-------------------------------------------------state,RF error and Battery low (Decoding see below)
++---------------------------------------------------???
Convert last byte to bin:
01 = 00000001
     ||||||||
     |||||||+----------------------------------------state: 0 = AUTO / 1 = ECO
     ||||||+-----------------------------------------???
     |||||+------------------------------------------???
     ||||+-------------------------------------------???
     |||+--------------------------------------------???
     ||+---------------------------------------------???
     |+----------------------------------------------RF error
     +-----------------------------------------------Battery low

PUSH BUTTON PAIRING

Received pairing request from push button:

Z17C0040004FD330000000012050F4A52453030303935353247
|||||||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||++--RSSI (Received Signal Strength Indicator)
|||||||||||||||||||||||++++++++++++++++++++++++++----Payload (Decoding see below)
|||||||||||||||||||||++------------------------------Group/Room ID
|||||||||||||||++++++--------------------------------Destination Address (Address of the paired partner, if not paired: 000000 = broadcast)
|||||||||++++++--------------------------------------Source Address
|||||||++--------------------------------------------Message-Typ: 00 = Pair Request
|||||++----------------------------------------------Flag???
|||++------------------------------------------------Message Count
|++--------------------------------------------------Checksum = Message length / 2 (The Z, the checksum itself and the RSSI are not counted)
+----------------------------------------------------Z = This is a MORITZ-Message from a MAX! device

Decoding payload (push button paring request)

12050F4A524530303039353532
||||||||||||||||||||||||||
||||||++++++++++++++++++++---------------------------Device-Serial (Decoding see below)
||||++-----------------------------------------------???
||++-------------------------------------------------Device-Typ: 05 = Push Button
++---------------------------------------------------Firmwareversion???

Decoding Device-Serial

4A524530303039353532 = JRE0009552
||||||||||||||||||||
||||||||||||||||||++---------------------------------32 Hex to ASCII = 2
||||||||||||||||++-----------------------------------35 Hex to ASCII = 5
||||||||||||||++-------------------------------------35 Hex to ASCII = 5
||||||||||||++---------------------------------------39 Hex to ASCII = 9
||||||||||++-----------------------------------------30 Hex to ASCII = 0
||||||||++-------------------------------------------30 Hex to ASCII = 0
||||||++---------------------------------------------30 Hex to ASCII = 0
||||++-----------------------------------------------45 Hex to ASCII = E
||++-------------------------------------------------52 Hex to ASCII = R
++---------------------------------------------------4A Hex to ASCII = J

Send pairing response to push button

Zs0b01000112345604fd330000
||||||||||||||||||||||||||
||||||||||||||||||||||||++---------------------------Payload (Always 00)
||||||||||||||||||||||++-----------------------------Group/Room ID
||||||||||||||||++++++-------------------------------Destination address
||||||||||++++++-------------------------------------Source address (CUL)
||||||||++-------------------------------------------Message-Typ: 01 = Pair response
||||||++---------------------------------------------Flags???
||||++-----------------------------------------------Message Count
||++-------------------------------------------------Checksum = Message length / 2 (The Zs and the checksum itself are not counted)
++---------------------------------------------------Zs = Send message to MAX! device