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#
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.
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
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.
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
emberReadWwahServerSilabsAttribute#
EmberAfStatus emberReadWwahServerSilabsAttribute (uint8_t endpoint, EmberAfAttributeId 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
EmberAfStatus app framework status code
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.
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
EmberAfStatus app framework status code
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 |
70
of file app/framework/plugin/wwah-server-silabs/wwah-server-silabs.h