Skip to content

Device Protocol

bggardner edited this page Jan 21, 2018 · 3 revisions

This article describes the actions taken by a device in response to an event.

BaseStation

  • Initial power-on

    1. Send BaseStationKeypadPowerOnUpdate
    2. Send BaseStationKeypadTestModeOnUpdate
    3. Send BaseStationClearSensorError1Update*
    4. Send BaseStationClearSensorError2Update*
    5. Send BaseStationClearSensorError3Update*
    6. Send BaseStationClearSensorError4Update*

    * May be replaced by BaseStationSensorErrorUpdate

  • Power outage

    1. Send BaseStationKeypadStatusUpdate (ErrorFlags.POWER_OUTAGE = 1)
  • Power restored

    1. Send BaseStationKeypadStatusUpdate (ErrorFlags.POWER_OUTAGE = 0)
  • Test mode timeout (after 20 minutes)

    1. Send BaseStationKeypadTestModeOffUpdate
  • No link to dispatcher

    1. Send BaseStationKeypadStatusUpdate (ErrorFlags.NO_LINK_TO_DISPATCHER = 1)
  • Dispatcher link restored

    1. Send BaseStationKeypadStatusUpdate (ErrorFlags.NO_LINK_TO_DISPATCHER = 0)
  • Received KeypadHomeRequest

    1. Send BaseStationKeypadHomeResponse
  • Received KeypadAwayRequest

    1. SendBaseStationKeypadAwayResponse
  • Received KeypadPanicRequest or KeychainRemoteMessage (EventType.PANIC) or PanicButton (EventType.BUTTON_PRESS)

    1. Send BaseStationKeypadAlarmUpdate
  • Received KeypadAlarmPinRequest

    1. Send BaseStationKeypadAlarmPinResponse
Clone this wiki locally