14#ifndef BT_MESH_SCHEDULER_H__
15#define BT_MESH_SCHEDULER_H__
24#define BT_MESH_SCHEDULER_ACTION_ENTRY_COUNT 16u
27#define BT_MESH_SCHEDULER_ANY_YEAR 0x64
29#define BT_MESH_SCHEDULER_ANY_DAY 0x00
31#define BT_MESH_SCHEDULER_ANY_HOUR 0x18
33#define BT_MESH_SCHEDULER_ONCE_A_DAY 0x19
35#define BT_MESH_SCHEDULER_ANY_MINUTE 0x3C
37#define BT_MESH_SCHEDULER_EVERY_15_MINUTES 0x3D
39#define BT_MESH_SCHEDULER_EVERY_20_MINUTES 0x3E
41#define BT_MESH_SCHEDULER_ONCE_AN_HOUR 0x3F
43#define BT_MESH_SCHEDULER_ANY_SECOND 0x3C
45#define BT_MESH_SCHEDULER_EVERY_15_SECONDS 0x3D
47#define BT_MESH_SCHEDULER_EVERY_20_SECONDS 0x3E
49#define BT_MESH_SCHEDULER_ONCE_A_MINUTE 0x3F
117#define BT_MESH_SCHEDULER_OP_GET BT_MESH_MODEL_OP_2(0x82, 0x49)
118#define BT_MESH_SCHEDULER_OP_STATUS BT_MESH_MODEL_OP_2(0x82, 0x4A)
119#define BT_MESH_SCHEDULER_OP_ACTION_GET BT_MESH_MODEL_OP_2(0x82, 0x48)
120#define BT_MESH_SCHEDULER_OP_ACTION_STATUS BT_MESH_MODEL_OP_1(0x5F)
121#define BT_MESH_SCHEDULER_OP_ACTION_SET BT_MESH_MODEL_OP_1(0x60)
122#define BT_MESH_SCHEDULER_OP_ACTION_SET_UNACK BT_MESH_MODEL_OP_1(0x61)
124#define BT_MESH_SCHEDULER_MSG_LEN_ACTION_GET 1
125#define BT_MESH_SCHEDULER_MSG_LEN_ACTION_SET 10
126#define BT_MESH_SCHEDULER_MSG_LEN_ACTION_STATUS 10
127#define BT_MESH_SCHEDULER_MSG_LEN_ACTION_STATUS_REDUCED 1
128#define BT_MESH_SCHEDULER_MSG_LEN_GET 0
129#define BT_MESH_SCHEDULER_MSG_LEN_STATUS 2
bt_mesh_scheduler_action
Definition scheduler.h:83
@ BT_MESH_SCHEDULER_SCENE_RECALL
Definition scheduler.h:86
@ BT_MESH_SCHEDULER_TURN_ON
Definition scheduler.h:85
@ BT_MESH_SCHEDULER_NO_ACTIONS
Definition scheduler.h:87
@ BT_MESH_SCHEDULER_TURN_OFF
Definition scheduler.h:84
bt_mesh_scheduler_month
Definition scheduler.h:54
@ BT_MESH_SCHEDULER_JUN
Definition scheduler.h:60
@ BT_MESH_SCHEDULER_MAY
Definition scheduler.h:59
@ BT_MESH_SCHEDULER_DEC
Definition scheduler.h:66
@ BT_MESH_SCHEDULER_APR
Definition scheduler.h:58
@ BT_MESH_SCHEDULER_MAR
Definition scheduler.h:57
@ BT_MESH_SCHEDULER_AUG
Definition scheduler.h:62
@ BT_MESH_SCHEDULER_JAN
Definition scheduler.h:55
@ BT_MESH_SCHEDULER_OCT
Definition scheduler.h:64
@ BT_MESH_SCHEDULER_NOV
Definition scheduler.h:65
@ BT_MESH_SCHEDULER_FEB
Definition scheduler.h:56
@ BT_MESH_SCHEDULER_JUL
Definition scheduler.h:61
@ BT_MESH_SCHEDULER_SEP
Definition scheduler.h:63
bt_mesh_scheduler_wday
Definition scheduler.h:72
@ BT_MESH_SCHEDULER_TUE
Definition scheduler.h:74
@ BT_MESH_SCHEDULER_SAT
Definition scheduler.h:78
@ BT_MESH_SCHEDULER_FRI
Definition scheduler.h:77
@ BT_MESH_SCHEDULER_SUN
Definition scheduler.h:79
@ BT_MESH_SCHEDULER_WED
Definition scheduler.h:75
@ BT_MESH_SCHEDULER_MON
Definition scheduler.h:73
@ BT_MESH_SCHEDULER_THU
Definition scheduler.h:76
uint8_t transition_time
Definition scheduler.h:111
enum bt_mesh_scheduler_wday day_of_week
Definition scheduler.h:107
uint16_t scene_number
Definition scheduler.h:113
enum bt_mesh_scheduler_action action
Definition scheduler.h:109
uint8_t hour
Definition scheduler.h:101
enum bt_mesh_scheduler_month month
Definition scheduler.h:97
uint8_t minute
Definition scheduler.h:103
uint8_t day
Definition scheduler.h:99
uint8_t year
Definition scheduler.h:95
uint8_t second
Definition scheduler.h:105
Definition scheduler.h:91