; ***************************************************************************
; copyright   : (C) 2025 by Martin Preuss
; email       : martin@libchipcard.de
;
; ***************************************************************************
; * This file is part of the project "AqHome".                              *
; * Please see toplevel file COPYING of that project for license details.   *
; ***************************************************************************


; ***************************************************************************
; defines

.equ APP_MOTIONLIGHT_DEFAULT_ONTIME      = 3000 ; 5min (in 1/10 secs)

.equ APP_MOTIONLIGHT_SOURCE_NUM          = 2

.equ APP_MOTIONLIGHT_SOURCE_OFFS_ADDR    = 0
.equ APP_MOTIONLIGHT_SOURCE_OFFS_VALUEID = 1
.equ APP_MOTIONLIGHT_SOURCE_SIZE         = 2


.equ APP_MOTIONLIGHT_FLAGS_HAVELIGHT     = 0x01



.equ APP_MOTIONLIGHT_EE_OFFS_ONTIME_LO     = 0
.equ APP_MOTIONLIGHT_EE_OFFS_ONTIME_HI     = 1
.equ APP_MOTIONLIGHT_EE_OFFS_MSRC1_ADDR    = 2
.equ APP_MOTIONLIGHT_EE_OFFS_MSRC1_VALUEID = 3
.equ APP_MOTIONLIGHT_EE_OFFS_MSRC2_ADDR    = 4
.equ APP_MOTIONLIGHT_EE_OFFS_MSRC2_VALUEID = 5
.equ APP_MOTIONLIGHT_EE_OFFS_BSRC1_ADDR    = 6
.equ APP_MOTIONLIGHT_EE_OFFS_BSRC1_VALUEID = 7
.equ APP_MOTIONLIGHT_EE_OFFS_BLIMIT_LO     = 8
.equ APP_MOTIONLIGHT_EE_OFFS_BLIMIT_HI     = 9
.equ APP_MOTIONLIGHT_EE_SIZE               = 10


