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
emberAfPluginWwahServerSendPoweringOffNotification(EmberNodeId nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, EmberAfWwahPowerNotificationReason reason, uint16_t manufacturerId, uint8_t *manufacturerReason, uint8_t manufacturerReasonLen, void(*pcallback)(EmberPowerDownNotificationResult))

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
emberAfPluginWwahServerSendPoweringOnNotification(EmberNodeId nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, EmberAfWwahPowerNotificationReason reason, uint16_t manufacturerId, uint8_t *manufacturerReason, uint8_t manufacturerReasonLen)

Send a Powering On Notification command to the specified destination.

emberReadWwahServerSilabsAttribute(uint8_t endpoint, EmberAfAttributeId attributeId, const char *name, uint8_t *data, uint8_t size)

Read wwah server silabs attribute.

emberWriteWwahServerSilabsAttribute(uint8_t endpoint, EmberAfAttributeId attributeId, const char *name, uint8_t *data, EmberAfAttributeType type)

write wwah server silabs attribute.

Enumerations#

enum
EMBER_POWER_DOWN_NOTIFICATION_SUCCESS
EMBER_POWER_DOWN_NOTIFICATION_FAILURE
EMBER_POWER_DOWN_NOTIFICATION_TIMEOUT
EMBER_POWER_DOWN_NOTIFICATION_IN_PROGRESS
}

API Documentation#

emberAfPluginWwahServerSendPoweringOffNotification#

void emberAfPluginWwahServerSendPoweringOffNotification (EmberNodeId nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, EmberAfWwahPowerNotificationReason reason, uint16_t manufacturerId, uint8_t *manufacturerReason, uint8_t manufacturerReasonLen, void(*pcallback)(EmberPowerDownNotificationResult))

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

emberAfPluginWwahServerSendPoweringOnNotification#

void emberAfPluginWwahServerSendPoweringOnNotification (EmberNodeId nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, EmberAfWwahPowerNotificationReason 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

emberReadWwahServerSilabsAttribute#

EmberAfStatus emberReadWwahServerSilabsAttribute (uint8_t endpoint, EmberAfAttributeId 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

  • EmberAfStatus app framework status code


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

emberWriteWwahServerSilabsAttribute#

EmberAfStatus emberWriteWwahServerSilabsAttribute (uint8_t endpoint, EmberAfAttributeId attributeId, const char *name, uint8_t *data, EmberAfAttributeType 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

  • EmberAfStatus app framework status code


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

Enumeration Documentation#

EmberPowerDownNotificationResult#

EmberPowerDownNotificationResult
Enumerator
EMBER_POWER_DOWN_NOTIFICATION_SUCCESS
EMBER_POWER_DOWN_NOTIFICATION_FAILURE
EMBER_POWER_DOWN_NOTIFICATION_TIMEOUT
EMBER_POWER_DOWN_NOTIFICATION_IN_PROGRESS

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

Macro Definition Documentation#

EMBER_AF_PLUGIN_WWAH_SERVER_SILABS_SURVEY_BEACON_RESULT_LIMIT#

#define EMBER_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