Contain general information about service discovery.

Public Attribute Documentation#

status#

EmberAfServiceDiscoveryStatus EmberAfServiceDiscoveryResult::status

The status indicates both the type of request (broadcast or unicast) and whether a response has been received.


Definition at line 650 of file app/framework/include/af-types.h

zdoRequestClusterId#

uint16_t EmberAfServiceDiscoveryResult::zdoRequestClusterId

Indicate which ZDO request cluster was associated with the request. It is helpful for a callback that may be used for multiple ZDO request types to determine the type of data returned. It is based on the ZDO cluster values defined in ember-types.h.


Definition at line 658 of file app/framework/include/af-types.h

matchAddress#

EmberNodeId EmberAfServiceDiscoveryResult::matchAddress

This is the address of the device that matched the request, which may be different than the device that actually is responding. This occurs when parents respond on behalf of their children.


Definition at line 665 of file app/framework/include/af-types.h

responseData#

const void* EmberAfServiceDiscoveryResult::responseData

This data is non-NULL only if the status code indicates a response. When data is present, the type is determined according to the ZDO cluster ID sent out. For NETWORK_ADDRESS_REQUEST or IEEE_ADDRESS_REQUEST, the long ID will be contained in the responseData, which is a value of type ::EmberEUI64. The short ID will be in the matchAddress parameter field. For the MATCH_DESCRIPTORS_REQUEST the responseData will point to an EmberAfEndpointList structure.


Definition at line 676 of file app/framework/include/af-types.h