WWAH Server Silabs#

API and Callbacks for the Silabs WWAH Cluster Server Component.

Silicon Labs proprietary Works With All Hubs (WWAH) server cluster.

API#

void
sl_zigbee_af_wwah_server_send_powering_off_notification(sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, sl_zigbee_af_wwah_power_notification_reason_t reason, uint16_t manufacturerId, uint8_t *manufacturerReason, uint8_t manufacturerReasonLen, void(*pcallback)(sl_zigbee_power_down_notification_result_t))

Send a Powering Off Notification command to the specified destination. If the callback function pointer is not NULL, the callback function will be called once the Powering Off Notification command is delivered or times out.

void
sl_zigbee_af_wwah_server_send_powering_on_notification(sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, sl_zigbee_af_wwah_power_notification_reason_t reason, uint16_t manufacturerId, uint8_t *manufacturerReason, uint8_t manufacturerReasonLen)

Send a Powering On Notification command to the specified destination.

sl_zigbee_read_wwah_server_silabs_attribute(uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId, const char *name, uint8_t *data, uint8_t size)

Read wwah server silabs attribute.

sl_zigbee_write_wwah_server_silabs_attribute(uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId, const char *name, uint8_t *data, sl_zigbee_af_attribute_type_t type)

write wwah server silabs attribute.

Enumerations#

enum
SL_ZIGBEE_POWER_DOWN_NOTIFICATION_SUCCESS
SL_ZIGBEE_POWER_DOWN_NOTIFICATION_FAILURE
SL_ZIGBEE_POWER_DOWN_NOTIFICATION_TIMEOUT
SL_ZIGBEE_POWER_DOWN_NOTIFICATION_IN_PROGRESS
}

API Documentation#

sl_zigbee_af_wwah_server_send_powering_off_notification#

void sl_zigbee_af_wwah_server_send_powering_off_notification (sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, sl_zigbee_af_wwah_power_notification_reason_t reason, uint16_t manufacturerId, uint8_t * manufacturerReason, uint8_t manufacturerReasonLen, void(*)(sl_zigbee_power_down_notification_result_t) pcallback)

Send a Powering Off Notification command to the specified destination. If the callback function pointer is not NULL, the callback function will be called once the Powering Off Notification command is delivered or times out.

Parameters
N/AnodeId

Ver.: always

N/AsrcEndpoint

Ver.: always

N/AdstEndpoint

Ver.: always

N/Areason

Ver.: always

N/AmanufacturerId

Ver.: always

N/AmanufacturerReason

Ver.: always

N/AmanufacturerReasonLen

Ver.: always

N/Apcallback

Ver.: always


Definition at line 96 of file app/framework/plugin/wwah-server-silabs/wwah-server-silabs.h

sl_zigbee_af_wwah_server_send_powering_on_notification#

void sl_zigbee_af_wwah_server_send_powering_on_notification (sl_802154_short_addr_t nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, sl_zigbee_af_wwah_power_notification_reason_t reason, uint16_t manufacturerId, uint8_t * manufacturerReason, uint8_t manufacturerReasonLen)

Send a Powering On Notification command to the specified destination.

Parameters
N/AnodeId

Ver.: always

N/AsrcEndpoint

Ver.: always

N/AdstEndpoint

Ver.: always

N/Areason

Ver.: always

N/AmanufacturerId

Ver.: always

N/AmanufacturerReason

Ver.: always

N/AmanufacturerReasonLen

Ver.: always


Definition at line 116 of file app/framework/plugin/wwah-server-silabs/wwah-server-silabs.h

sl_zigbee_read_wwah_server_silabs_attribute#

sl_zigbee_af_status_t sl_zigbee_read_wwah_server_silabs_attribute (uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId, const char * name, uint8_t * data, uint8_t size)

Read wwah server silabs attribute.

Parameters
N/Aendpoint

Ver.: always

N/AattributeId

Ver.: always

N/Aname

Ver.: always

N/Adata

Ver.: always

N/Asize

Ver.: always

Returns

  • sl_zigbee_af_status_t app framework status code


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

sl_zigbee_write_wwah_server_silabs_attribute#

sl_zigbee_af_status_t sl_zigbee_write_wwah_server_silabs_attribute (uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId, const char * name, uint8_t * data, sl_zigbee_af_attribute_type_t type)

write wwah server silabs attribute.

Parameters
N/Aendpoint

Ver.: always

N/AattributeId

Ver.: always

N/Aname

Ver.: always

N/Adata

Ver.: always

N/Atype

Ver.: always

Returns

  • sl_zigbee_af_status_t app framework status code


Definition at line 152 of file app/framework/plugin/wwah-server-silabs/wwah-server-silabs.h

Enumeration Documentation#

sl_zigbee_power_down_notification_result_t#

sl_zigbee_power_down_notification_result_t
Enumerator
SL_ZIGBEE_POWER_DOWN_NOTIFICATION_SUCCESS
SL_ZIGBEE_POWER_DOWN_NOTIFICATION_FAILURE
SL_ZIGBEE_POWER_DOWN_NOTIFICATION_TIMEOUT
SL_ZIGBEE_POWER_DOWN_NOTIFICATION_IN_PROGRESS

Definition at line 70 of file app/framework/plugin/wwah-server-silabs/wwah-server-silabs.h

Macro Definition Documentation#

SL_ZIGBEE_AF_PLUGIN_WWAH_SERVER_SILABS_SURVEY_BEACON_RESULT_LIMIT#

#define SL_ZIGBEE_AF_PLUGIN_WWAH_SERVER_SILABS_SURVEY_BEACON_RESULT_LIMIT
Value:
4

Definition at line 65 of file app/framework/plugin/wwah-server-silabs/wwah-server-silabs.h