WWAH Server Silabs#
API and Callbacks for the Silabs WWAH Cluster Server Component.
Silicon Labs proprietary Works With All Hubs (WWAH) server cluster.
API#
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.
Send a Powering On Notification command to the specified destination.
Read wwah server silabs attribute.
write wwah server silabs attribute.
Enumerations#
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.
N/A | nodeId | Ver.: always |
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
N/A | reason | Ver.: always |
N/A | manufacturerId | Ver.: always |
N/A | manufacturerReason | Ver.: always |
N/A | manufacturerReasonLen | Ver.: always |
N/A | pcallback | Ver.: always |
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.
N/A | nodeId | Ver.: always |
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
N/A | reason | Ver.: always |
N/A | manufacturerId | Ver.: always |
N/A | manufacturerReason | Ver.: always |
N/A | manufacturerReasonLen | Ver.: always |
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.
N/A | endpoint | Ver.: always |
N/A | attributeId | Ver.: always |
N/A | name | Ver.: always |
N/A | data | Ver.: always |
N/A | size | Ver.: always |
Returns
sl_zigbee_af_status_t app framework status code
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.
N/A | endpoint | Ver.: always |
N/A | attributeId | Ver.: always |
N/A | name | Ver.: always |
N/A | data | Ver.: always |
N/A | type | Ver.: always |
Returns
sl_zigbee_af_status_t app framework status code
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 |
70
of file app/framework/plugin/wwah-server-silabs/wwah-server-silabs.h