16 const uint8_t peerOdd[] = {
19 0x00, 0x00, 0x32, 0x64, 0x00, 0xFF, 0x00, 0xFF, 0x01, 0x64, 0x66,
20 0x00, 0x00, 0x32, 0x64, 0x00, 0xFF, 0x00, 0xFF, 0x21, 0x64, 0x66
22 const uint8_t peerEven[] = {
25 0x00, 0x00, 0x32, 0x64, 0x00, 0xFF, 0x00, 0xFF, 0x01, 0x13, 0x33,
26 0x00, 0x00, 0x32, 0x64, 0x00, 0xFF, 0x00, 0xFF, 0x21, 0x13, 0x33
28 const uint8_t peerSingle[] = {
31 0x00, 0x00, 0x32, 0x64, 0x00, 0xFF, 0x00, 0xFF, 0x01, 0x14, 0x63,
32 0x00, 0x00, 0x32, 0x64, 0x00, 0xFF, 0x00, 0xFF, 0x21, 0x14, 0x63,
50 uint8_t shCtDlyOff :4;
59 uint8_t shActionType :2;
61 uint8_t shOffTimeMode :1;
62 uint8_t shOnTimeMode :1;
65 uint8_t shSwJtDlyOn :4;
66 uint8_t shSwJtDlyOff :4;
68 uint8_t lgCtDlyOff :4;
77 uint8_t lgActionType :2;
79 uint8_t lgMultiExec :1;
80 uint8_t lgOffTimeMode :1;
81 uint8_t lgOnTimeMode :1;
84 uint8_t lgSwJtDlyOn :4;
85 uint8_t lgSwJtDlyOff :4;
100 uint8_t actionType :2;
102 uint8_t multiExec :1;
103 uint8_t offTimeMode :1;
104 uint8_t onTimeMode :1;
116 void (*fSwitch)(uint8_t);
121 uint8_t curStat:4, nxtStat:4;
129 uint16_t rampTme, duraTme;
133 void config(
void Init(),
void Switch(uint8_t));
135 void trigger11(uint8_t value, uint8_t *rampTime, uint8_t *duraTime);
136 void trigger40(uint8_t msgLng, uint8_t msgCnt);
137 void trigger41(uint8_t msgBLL, uint8_t msgCnt, uint8_t msgVal);
140 void sendStatus(
void);
152 void setToggle(
void);
153 void configCngEvent(
void);
154 void pairSetEvent(uint8_t *data, uint8_t len);
155 void pairStatusReq(
void);
156 void peerMsgEvent(uint8_t type, uint8_t *data, uint8_t len);
161 void regInHM(uint8_t cnl, uint8_t lst,
AS *instPtr);
162 void hmEventCol(uint8_t by3, uint8_t by10, uint8_t by11, uint8_t *data, uint8_t len);
163 void peerAddEvent(uint8_t *data, uint8_t len);
Main class for implementation of the AskSin protocol stack. Every device needs exactly one instance o...
Definition: AS.h:39
Timer class for non-blocking delays.
Definition: AS.h:200