Difference between revisions of "Protocol"

Line 7: Line 7:
 
==Keypad==
 
==Keypad==
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
|-
+
|+ Example Keypad Message
! scope="col" colspan="4"  | Example 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" | <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>
 
|-  
 
|-  
Line 28: Line 26:
 
==Zone Expander==
 
==Zone Expander==
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
|-
+
|+ Example !EXP Message
! scope="col" colspan="4"  | Example 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" | <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" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="160px" style="color: #FF0000" | Header
+
! scope="col" width="80px" style="color: #FF0000" | Header
! scope="col" width="100px" style="color: #0000FF" | Zone Expander Address
+
! scope="col" width="160px" style="color: #0000FF" | Zone Expander Address
! scope="col" width="200px" style="color: #00FF00" | Expander Channel
+
! scope="col" width="140px" style="color: #00FF00" | Expander Channel
! scope="col" width="220px" style="color: #800080" | Data
+
! scope="col" width="100px" style="color: #800080" | Data
 
|-
 
|-
 
| align="center" | !EXP
 
| align="center" | !EXP
Line 49: Line 45:
 
==Relay Expander==
 
==Relay Expander==
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
|-
+
|+ Example !REL Message
! scope="col" colspan="4"  | Example 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" | <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" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="160px" style="color: #FF0000" | Header
+
! scope="col" width="80px" style="color: #FF0000" | Header
! scope="col" width="100px" style="color: #0000FF" | Zone Expander Address
+
! scope="col" width="160px" style="color: #0000FF" | Relay Expander Address
! scope="col" width="200px" style="color: #00FF00" | Expander Channel
+
! scope="col" width="140px" style="color: #00FF00" | Expander Channel
! scope="col" width="220px" style="color: #800080" | Data
+
! scope="col" width="100px" style="color: #800080" | Data
 
|-
 
|-
 
| align="center" | !REL
 
| align="center" | !REL
Line 70: Line 64:
 
==RFX==
 
==RFX==
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
|-
+
|+ Example !RFX Message
! scope="col" colspan="4"  | Example 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" | <span style="color: #FF0000">!RFX</span>:<span style="color: #0000FF">0180036</span>,<span style="color: #00FF00">80</span>
 
|-  
 
|-  
 
| colspan="4" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="160px" style="color: #FF0000" | Header
+
! scope="col" width="80px" style="color: #FF0000" | Header
 
! scope="col" width="100px" style="color: #0000FF" | Serial Number
 
! scope="col" width="100px" style="color: #0000FF" | Serial Number
! scope="col" width="220px" style="color: #00FF00" | Data
+
! scope="col" width="100px" style="color: #00FF00" | Data
 
|-
 
|-
 
| align="center" | !RFX
 
| align="center" | !RFX
Line 89: Line 81:
 
==LRR==
 
==LRR==
 
{| align="center" class="wikitable" border="1"
 
{| align="center" class="wikitable" border="1"
|-
+
|+ Example !LRR Message
! scope="col" colspan="4"  | Example 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" | <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" | &nbsp;
 
| colspan="4" | &nbsp;
 
|-  
 
|-  
! scope="col" width="160px" style="color: #FF0000" | Header
+
! scope="col" width="80px" style="color: #FF0000" | Header
 
! scope="col" width="100px" style="color: #0000FF" | Event Data
 
! scope="col" width="100px" style="color: #0000FF" | Event Data
! scope="col" width="220px" style="color: #00FF00" | Partition
+
! scope="col" width="80px" style="color: #00FF00" | Partition
! scope="col" width="220px" style="color: #800080" | Event Type
+
! scope="col" width="100px" style="color: #800080" | Event Type
 
|-
 
|-
 
| align="center" | !LRR
 
| align="center" | !LRR

Revision as of 12:05, 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