38 #ifndef SCENE_MESSAGES_H__ 39 #define SCENE_MESSAGES_H__ 42 #include "scene_common.h" 52 #define SCENE_STORE_DELETE_LEN 2 55 #define SCENE_RECALL_MINLEN 3 57 #define SCENE_RECALL_MAXLEN 5 60 #define SCENE_STATUS_MINLEN 3 62 #define SCENE_STATUS_MAXLEN 6 65 #define SCENE_REGISTER_STATUS_MINLEN 3 67 #define SCENE_REGISTER_STATUS_MAXLEN (SCENE_REGISTER_STATUS_MINLEN + (2 * SCENE_REGISTER_ARRAY_SIZE)) 72 SCENE_OPCODE_GET = 0x8241,
73 SCENE_OPCODE_RECALL = 0x8242,
74 SCENE_OPCODE_RECALL_UNACKNOWLEDGED = 0x8243,
75 SCENE_OPCODE_STATUS = 0x5E,
76 SCENE_OPCODE_REGISTER_GET = 0x8244,
77 SCENE_OPCODE_REGISTER_STATUS = 0x8245,
78 SCENE_OPCODE_STORE = 0x8246,
79 SCENE_OPCODE_STORE_UNACKNOWLEDGED = 0x8247,
80 SCENE_OPCODE_DELETE = 0x829E,
81 SCENE_OPCODE_DELETE_UNACKNOWLEDGED = 0x829F,
87 typedef struct __attribute((packed))
93 typedef struct __attribute((packed))
102 typedef struct __attribute((packed))
123 typedef struct __attribute((packed))
131 typedef struct __attribute((packed))
Message format for the Scene Register Status message 5.2.2.8 Scene Register Status Scene Register Sta...
uint16_t scene_number
Number of the scene to be stored.
uint8_t status_code
Status code for the last operation.
Message format for the Scene Status message.
uint8_t delay
Encoded message execution delay in 5 millisecond steps.
uint16_t scene_number
Number of the scene to be stored.
uint8_t remaining_time
Encoded remaining transition time.
uint16_t current_scene
Scene number of a current scene.
uint16_t current_scene
Scene number of a current scene.
Packed message structure typedefs are used for packing and unpacking byte stream. ...
Message format for the Scene Delete message.
uint16_t target_scene
Scene number of a target scene.
Message format for the Scene Recall message.
uint8_t tid
Transaction number for application.
uint16_t scene_number
Number of the scene to be deleted.
uint8_t status_code
Status code for the last operation.
uint8_t transition_time
Encoded transition time value.