nRF5 SDK for Thread and Zigbee v1.0.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
zb_zcl_calendar_publish_seasons_payload_s Struct Reference

#include <zb_zcl_calendar.h>

Data Fields

zb_uint32_t provider_id
 
zb_uint32_t issuer_event_id
 
zb_uint32_t issuer_calendar_id
 
zb_uint8_t command_index
 
zb_uint8_t total_number_of_commands
 
zb_zcl_calendar_season_entry_payload_tseason_entry
 
zb_uint8_t number_of_entries_in_this_command
 

Detailed Description

PublishSeasons command payload.

See also
SE spec, subclause D.9.2.3.4.1

Field Documentation

zb_uint8_t zb_zcl_calendar_publish_seasons_payload_s::command_index

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

zb_uint32_t zb_zcl_calendar_publish_seasons_payload_s::issuer_calendar_id

Unique identifier generated by the commodity supplier. All parts of a calendar instance shall have the same Issuer Calendar ID.

zb_uint32_t zb_zcl_calendar_publish_seasons_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.

zb_uint8_t zb_zcl_calendar_publish_seasons_payload_s::number_of_entries_in_this_command

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

zb_uint32_t zb_zcl_calendar_publish_seasons_payload_s::provider_id

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

zb_zcl_calendar_season_entry_payload_t* zb_zcl_calendar_publish_seasons_payload_s::season_entry

A Season Entry consists of a Season Start Date and the reference (Week ID Ref) to the related Week Profile entry. The Start Date of the Season Entries must be arranged in ascending order. The active season is valid until the Season Start Date of the next Season Entry.

See also
zb_zcl_calendar_season_entry_payload_s
zb_uint8_t zb_zcl_calendar_publish_seasons_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.


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