Find and Bind Initiator#

Callbacks for Find and Bind Initiator Component.

Callbacks#

bool
emberAfPluginFindAndBindInitiatorBindTargetCallback(EmberNodeId nodeId, EmberBindingTableEntry *bindingEntry, uint8_t *groupName)

Bind Target.

void

Find and Bind Complete.

Callbacks Documentation#

emberAfPluginFindAndBindInitiatorBindTargetCallback#

bool emberAfPluginFindAndBindInitiatorBindTargetCallback (EmberNodeId nodeId, EmberBindingTableEntry * bindingEntry, uint8_t * groupName)

Bind Target.

Parameters
TypeDirectionArgument NameDescription
EmberNodeIdN/AnodeId

short ID of the potential target Ver.: always

EmberBindingTableEntry *N/AbindingEntry

The binding entry for that target. Ver.: always

uint8_t *N/AgroupName

The name of the group if a multicast binding is created. Ver.: always

This callback with enable the user to programmatically decide if they want to bind with a potential target. The plugin will try to bind with this target if and only if the function returns true. By default, the callback tells the plugin to try to bind with the target. If the binding type is changed to ::EMBER_MULTICAST_BINDING, a multicast binding will be created.


emberAfPluginFindAndBindInitiatorCompleteCallback#

void emberAfPluginFindAndBindInitiatorCompleteCallback (EmberStatus status)

Find and Bind Complete.

Parameters
TypeDirectionArgument NameDescription
EmberStatusN/Astatus

Status code describing the completion of the find and bind process Ver.: always

This callback is fired by the initiator when the Find and Bind process is complete.