Device Query Service#

API and Callbacks for the Device Query Service Component.

This component queries new devices for their endpoints and clusters to record information in the Device Database component.

API#

void

Enable / Disable the device query service.

bool

Device query service get state.

void

get EUI64 of current discovery target

API Documentation#

emberAfPluginDeviceQueryServiceEnableDisable#

void emberAfPluginDeviceQueryServiceEnableDisable (bool enable)

Enable / Disable the device query service.

Parameters
N/Aenable

enable/disbale value Ver.:Always


Definition at line 42 of file app/framework/plugin/device-query-service/device-query-service.h

emberAfPluginDeviceQueryServiceGetEnabledState#

bool emberAfPluginDeviceQueryServiceGetEnabledState (void )

Device query service get state.

Parameters
N/A

Returns

  • enable state


Definition at line 48 of file app/framework/plugin/device-query-service/device-query-service.h

emberAfPluginDeviceQueryServiceGetCurrentDiscoveryTargetEui64#

void emberAfPluginDeviceQueryServiceGetCurrentDiscoveryTargetEui64 (EmberEUI64 returnEui64)

get EUI64 of current discovery target

Parameters
N/AreturnEui64

Ver.:Always


Definition at line 55 of file app/framework/plugin/device-query-service/device-query-service.h