Calendar Server#

API and Callbacks for the Calendar Cluster Server Component.

This component is an implementation of the calendar server cluster. It responds to requests for the calendar data using data from the Calendar Common component.

Modules#

Calendar Server

API#

void
sl_zigbee_af_calendar_server_publish_calendar_message(sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex)

Publish a calendar.

void
sl_zigbee_af_calendar_server_publish_day_profiles_message(sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex, uint8_t dayIndex)

Publish the day profiles of the specified day in the specified calendar.

void
sl_zigbee_af_calendar_server_publish_week_profile_message(sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex, uint8_t weekIndex)

Publish the week profile of the specified week in the specified calendar.

void
sl_zigbee_af_calendar_server_publish_seasons_message(sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex)

Publish the seasons in the specified calendar.

void
sl_zigbee_af_calendar_server_publish_special_days_message(sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex)

Publish the special days of the specified calendar.

void
sl_zigbee_af_calendar_server_cancel_calendar_message(sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex)

Publish the special days of the specified calendar.

API Documentation#

sl_zigbee_af_calendar_server_publish_calendar_message#

void sl_zigbee_af_calendar_server_publish_calendar_message (sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex)

Publish a calendar.

Parameters
N/AnodeId

The destination nodeId.

N/AsrcEndpoint

The source endpoint.

N/AdstEndpoint

The destination endpoint.

N/AcalendarIndex

The index in the calendar table.

Locates the calendar in the calendar table at the specified location and sends a PublishCalendar command using its information.


Definition at line 50 of file app/framework/plugin/calendar-server/calendar-server.h

sl_zigbee_af_calendar_server_publish_day_profiles_message#

void sl_zigbee_af_calendar_server_publish_day_profiles_message (sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex, uint8_t dayIndex)

Publish the day profiles of the specified day in the specified calendar.

Parameters
N/AnodeId

The destination nodeId.

N/AsrcEndpoint

The source endpoint.

N/AdstEndpoint

The destination endpoint.

N/AcalendarIndex

The index in the calendar table.

N/AdayIndex

The index of the day in the calendar.

Locates the calendar in the calendar table at the specified location and sends a PublishDayProfiles command using its information.


Definition at line 67 of file app/framework/plugin/calendar-server/calendar-server.h

sl_zigbee_af_calendar_server_publish_week_profile_message#

void sl_zigbee_af_calendar_server_publish_week_profile_message (sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex, uint8_t weekIndex)

Publish the week profile of the specified week in the specified calendar.

Parameters
N/AnodeId

The destination nodeId

N/AsrcEndpoint

The source endpoint

N/AdstEndpoint

The destination endpoint

N/AcalendarIndex

The index in the calendar table.

N/AweekIndex

The index of the week in the calendar.

Locates the calendar in the calendar table at the specified location and sends a PublishWeekProfile command using its information.


Definition at line 85 of file app/framework/plugin/calendar-server/calendar-server.h

sl_zigbee_af_calendar_server_publish_seasons_message#

void sl_zigbee_af_calendar_server_publish_seasons_message (sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex)

Publish the seasons in the specified calendar.

Parameters
N/AnodeId

The destination nodeId.

N/AsrcEndpoint

The source endpoint.

N/AdstEndpoint

The destination endpoint.

N/AcalendarIndex

The index in the calendar table.

Locates the calendar in the calendar table at the specified location and sends a PublishSeasons command using its information.


Definition at line 102 of file app/framework/plugin/calendar-server/calendar-server.h

sl_zigbee_af_calendar_server_publish_special_days_message#

void sl_zigbee_af_calendar_server_publish_special_days_message (sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex)

Publish the special days of the specified calendar.

Parameters
N/AnodeId

The destination nodeId.

N/AsrcEndpoint

The source endpoint.

N/AdstEndpoint

The destination endpoint.

N/AcalendarIndex

The index in the calendar table.

Locates the calendar in the calendar table at the specified location and sends a PublishSpecialDays command using its information.


Definition at line 118 of file app/framework/plugin/calendar-server/calendar-server.h

sl_zigbee_af_calendar_server_cancel_calendar_message#

void sl_zigbee_af_calendar_server_cancel_calendar_message (sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, uint8_t calendarIndex)

Publish the special days of the specified calendar.

Parameters
N/AnodeId

The destination nodeId.

N/AsrcEndpoint

The source endpoint.

N/AdstEndpoint

The destination endpoint.

N/AcalendarIndex

The index in the calendar table.

Locates the calendar in the calendar table at the specified location and sends a CancelCalendar command using its information. Note: It is up to the caller to invalidate the local copy of the calendar.


Definition at line 135 of file app/framework/plugin/calendar-server/calendar-server.h