Logo
Developing with ZBOSS for Zigbee
zb_zcl_daily_schedule_publish_day_profile_payload_s Struct Reference

#include <zb_zcl_daily_schedule.h>

Data Fields

zb_uint32_t provider_id
 
zb_uint32_t issuer_event_id
 
zb_uint16_t day_id
 
zb_uint32_t schedule_id
 
zb_uint8_t total_number_of_schedule_entries
 
zb_uint8_t command_index
 
zb_uint8_t total_number_of_commands
 
zb_uint8_t schedule_type
 
zb_zcl_daily_schedule_entry_tday_schedule_entries
 
zb_uint8_t number_of_entries_in_this_command
 

Detailed Description

PublishDayProfile command payload.

See also
Zigbee-17-05035-004, subclause D.9.2.3.2

Field Documentation

§ command_index

zb_uint8_t zb_zcl_daily_schedule_publish_day_profile_payload_s::command_index

The CommandIndex is used to count the payload fragments in the case where the entire payload does not fit into one message. The CommandIndex starts at 0 and is incremented for each fragment belonging to the same command

§ day_id

zb_uint16_t zb_zcl_daily_schedule_publish_day_profile_payload_s::day_id

Unique identifier generated by the commodity supplier. The Day ID is used as a reference to assign a Day Profile to a Daily Schedule

§ day_schedule_entries

zb_zcl_daily_schedule_entry_t* zb_zcl_daily_schedule_publish_day_profile_payload_s::day_schedule_entries

day_schedule_entries pointer is considered as a beginning of array (of day schedule entries), number_of_entries_in_this_command - as a number of entries. Please also take into account overall ZCL payload size.

See also
zb_zcl_daily_schedule_entry_t

§ issuer_event_id

zb_uint32_t zb_zcl_daily_schedule_publish_day_profile_payload_s::issuer_event_id

Unique identifier generated by the commodity provider. When new information is provided that replaces older information for the same time period, this field allows devices to determine which information is newer.

§ number_of_entries_in_this_command

zb_uint8_t zb_zcl_daily_schedule_publish_day_profile_payload_s::number_of_entries_in_this_command

An 8-bit integer representing the number of Day Schedule entries in this command

§ provider_id

zb_uint32_t zb_zcl_daily_schedule_publish_day_profile_payload_s::provider_id

An unsigned 32-bit field containing a unique identifier for the commodity provider.

§ schedule_id

zb_uint32_t zb_zcl_daily_schedule_publish_day_profile_payload_s::schedule_id

Unique identifier generated by the commodity Supplier to identify a particular schedule.

§ schedule_type

zb_uint8_t zb_zcl_daily_schedule_publish_day_profile_payload_s::schedule_type

An 8-bit enumeration identifying the type of schedule published in this command.

See also
zb_zcl_daily_schedule_type_t

§ total_number_of_commands

zb_uint8_t zb_zcl_daily_schedule_publish_day_profile_payload_s::total_number_of_commands

In the case where the entire payload does not fit into one message, the Total Number of Commands field indicates the total number of sub-commands in the message.

§ total_number_of_schedule_entries

zb_uint8_t zb_zcl_daily_schedule_publish_day_profile_payload_s::total_number_of_schedule_entries

An 8-bit integer representing the total number of ScheduleEntries in this Day Profile.


The documentation for this struct was generated from the following file: