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#
Macros#
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(*)(EmberPowerDownNotificationResult) 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.
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberNodeId | N/A | nodeId | Ver.: always |
uint8_t | N/A | srcEndpoint | Ver.: always |
uint8_t | N/A | dstEndpoint | Ver.: always |
EmberAfWwahPowerNotificationReason | N/A | reason | Ver.: always |
uint16_t | N/A | manufacturerId | Ver.: always |
uint8_t * | N/A | manufacturerReason | Ver.: always |
uint8_t | N/A | manufacturerReasonLen | Ver.: always |
void(*)(EmberPowerDownNotificationResult) | N/A | pcallback | Ver.: always |
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.
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberNodeId | N/A | nodeId | Ver.: always |
uint8_t | N/A | srcEndpoint | Ver.: always |
uint8_t | N/A | dstEndpoint | Ver.: always |
EmberAfWwahPowerNotificationReason | N/A | reason | Ver.: always |
uint16_t | N/A | manufacturerId | Ver.: always |
uint8_t * | N/A | manufacturerReason | Ver.: always |
uint8_t | N/A | manufacturerReasonLen | Ver.: always |
emberReadWwahServerSilabsAttribute#
EmberAfStatus emberReadWwahServerSilabsAttribute (uint8_t endpoint, EmberAfAttributeId attributeId, const char * name, uint8_t * data, uint8_t size)
Read wwah server silabs attribute.
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | Ver.: always |
EmberAfAttributeId | N/A | attributeId | Ver.: always |
const char * | N/A | name | Ver.: always |
uint8_t * | N/A | data | Ver.: always |
uint8_t | N/A | size | Ver.: always |
Returns
EmberAfStatus app framework status code
emberWriteWwahServerSilabsAttribute#
EmberAfStatus emberWriteWwahServerSilabsAttribute (uint8_t endpoint, EmberAfAttributeId attributeId, const char * name, uint8_t * data, EmberAfAttributeType type)
write wwah server silabs attribute.
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | Ver.: always |
EmberAfAttributeId | N/A | attributeId | Ver.: always |
const char * | N/A | name | Ver.: always |
uint8_t * | N/A | data | Ver.: always |
EmberAfAttributeType | N/A | type | Ver.: always |
Returns
EmberAfStatus app framework status code
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 |