Difference between revisions of "Protocol"

Line 8: Line 8:
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
 
|+ Example Keypad Message
 
|+ Example Keypad Message
| colspan="4" align="center" | <span style="color: #FF0000">[001000010000--------]</span>,<span style="color: #0000FF">010</span>,<span style="color: #00FF00">[f70700060010808c08020000]</span>,<span style="color: #800080">"ARMED ***STAY** ZONE BYPASSED "</span>
+
| colspan="4" align="center" style="background-color: #DEDEDE; font-weight: bold" | <span style="color: #F56464">[001000010000--------]</span>,<span style="color: #8C8CF5">010</span>,<span style="color: #70BA66">[f70700060010808c08020000]</span>,<span style="color: #804580">"ARMED ***STAY** ZONE BYPASSED "</span>
 
|-  
 
|-  
 
| colspan="4" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="160px" style="color: #FF0000" | Bit field
+
! scope="col" width="160px" style="color: #F56464" | Bit field
! scope="col" width="100px" style="color: #0000FF" | Numeric code
+
! scope="col" width="100px" style="color: #8C8CF5" | Numeric code
! scope="col" width="200px" style="color: #00FF00" | Raw data
+
! scope="col" width="200px" style="color: #70BA66" | Raw data
! scope="col" width="220px" style="color: #800080" | Alphanumeric Keypad Message
+
! scope="col" width="220px" style="color: #804580" | Alphanumeric Keypad Message
 
|-
 
|-
 
| align="center" | [001000010000--------]
 
| align="center" | [001000010000--------]
Line 27: Line 27:
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
 
|+ Example !EXP Message
 
|+ Example !EXP Message
| colspan="4" align="center" | <span style="color: #FF0000">!EXP</span>:<span style="color: #0000FF">07</span>,<span style="color: #00FF00">01</span>,<span style="color: #800080">01</span>
+
| colspan="4" align="center" style="background-color: #DEDEDE; font-weight: bold" | <span style="color: #F56464">!EXP</span>:<span style="color: #8C8CF5">07</span>,<span style="color: #70BA66">01</span>,<span style="color: #804580">01</span>
 
|-  
 
|-  
 
| colspan="4" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="80px" style="color: #FF0000" | Header
+
! scope="col" width="80px" style="color: #F56464" | Header
! scope="col" width="160px" style="color: #0000FF" | Zone Expander Address
+
! scope="col" width="160px" style="color: #8C8CF5" | Zone Expander Address
! scope="col" width="140px" style="color: #00FF00" | Expander Channel
+
! scope="col" width="140px" style="color: #70BA66" | Expander Channel
! scope="col" width="100px" style="color: #800080" | Data
+
! scope="col" width="100px" style="color: #804580" | Data
 
|-
 
|-
 
| align="center" | !EXP
 
| align="center" | !EXP
Line 46: Line 46:
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
 
|+ Example !REL Message
 
|+ Example !REL Message
| colspan="4" align="center" | <span style="color: #FF0000">!REL</span>:<span style="color: #0000FF">12</span>,<span style="color: #00FF00">01</span>,<span style="color: #800080">01</span>
+
| colspan="4" align="center" style="background-color: #DEDEDE; font-weight: bold" | <span style="color: #F56464">!REL</span>:<span style="color: #8C8CF5">12</span>,<span style="color: #70BA66">01</span>,<span style="color: #804580">01</span>
 
|-  
 
|-  
 
| colspan="4" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="80px" style="color: #FF0000" | Header
+
! scope="col" width="80px" style="color: #F56464" | Header
! scope="col" width="160px" style="color: #0000FF" | Relay Expander Address
+
! scope="col" width="160px" style="color: #8C8CF5" | Relay Expander Address
! scope="col" width="140px" style="color: #00FF00" | Expander Channel
+
! scope="col" width="140px" style="color: #70BA66" | Expander Channel
! scope="col" width="100px" style="color: #800080" | Data
+
! scope="col" width="100px" style="color: #804580" | Data
 
|-
 
|-
 
| align="center" | !REL
 
| align="center" | !REL
Line 65: Line 65:
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
 
|+ Example !RFX Message
 
|+ Example !RFX Message
| colspan="4" align="center" | <span style="color: #FF0000">!RFX</span>:<span style="color: #0000FF">0180036</span>,<span style="color: #00FF00">80</span>
+
| colspan="4" align="center" style="background-color: #DEDEDE; font-weight: bold" | <span style="color: #F56464">!RFX</span>:<span style="color: #8C8CF5">0180036</span>,<span style="color: #70BA66">80</span>
 
|-  
 
|-  
 
| colspan="4" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="80px" style="color: #FF0000" | Header
+
! scope="col" width="80px" style="color: #F56464" | Header
! scope="col" width="100px" style="color: #0000FF" | Serial Number
+
! scope="col" width="100px" style="color: #8C8CF5" | Serial Number
! scope="col" width="100px" style="color: #00FF00" | Data
+
! scope="col" width="100px" style="color: #70BA66" | Data
 
|-
 
|-
 
| align="center" | !RFX
 
| align="center" | !RFX
Line 82: Line 82:
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
 
|+ Example !LRR Message
 
|+ Example !LRR Message
| colspan="4" align="center" | <span style="color: #FF0000">!LRR</span>:<span style="color: #0000FF">012</span>,<span style="color: #00FF00">1</span>,<span style="color: #800080">ARM_STAY</span>
+
| colspan="4" align="center" style="background-color: #DEDEDE; font-weight: bold" | <span style="color: #F56464">!LRR</span>:<span style="color: #8C8CF5">012</span>,<span style="color: #70BA66">1</span>,<span style="color: #804580">ARM_STAY</span>
 
|-  
 
|-  
 
| colspan="4" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="80px" style="color: #FF0000" | Header
+
! scope="col" width="80px" style="color: #F56464" | Header
! scope="col" width="100px" style="color: #0000FF" | Event Data
+
! scope="col" width="100px" style="color: #8C8CF5" | Event Data
! scope="col" width="80px" style="color: #00FF00" | Partition
+
! scope="col" width="80px" style="color: #70BA66" | Partition
! scope="col" width="100px" style="color: #800080" | Event Type
+
! scope="col" width="100px" style="color: #804580" | Event Type
 
|-
 
|-
 
| align="center" | !LRR
 
| align="center" | !LRR

Revision as of 12:17, 17 December 2013

There are several types of messages produced by the AlarmDecoder. These include: Keypad, Relay Expander, Zone Expander, RFX, LRR, and AUI.

Contents

Commands

Message Types

Keypad

Example Keypad Message
[001000010000--------],010,[f70700060010808c08020000],"ARMED ***STAY** ZONE BYPASSED "
 
Bit field Numeric code Raw data Alphanumeric Keypad Message
[001000010000--------] 010 [f70700060010808c08020000] "ARMED ***STAY** ZONE BYPASSED "

Zone Expander

Example !EXP Message
!EXP:07,01,01
 
Header Zone Expander Address Expander Channel Data
 !EXP 07 01 01

Relay Expander

Example !REL Message
!REL:12,01,01
 
Header Relay Expander Address Expander Channel Data
 !REL 12 01 01

RFX

Example !RFX Message
!RFX:0180036,80
 
Header Serial Number Data
 !RFX 0180036 80

LRR

Example !LRR Message
!LRR:012,1,ARM_STAY
 
Header Event Data Partition Event Type
 !LRR 012 1 ARM_STAY

AUI

TODO