nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
device_handle Struct Reference

Device Handle used for unique identification of each peer. More...

#include <device_manager.h>

Data Fields

dm_application_instance_t appl_id
 
dm_connection_instance_t connection_id
 
dm_device_instance_t device_id
 
dm_service_instance_t service_id
 

Detailed Description

Device Handle used for unique identification of each peer.

This data type is used to uniquely identify each peer device. A peer device could be active and/or bonded. Therefore an instance for active and bonded is provided. Application is however expected to treat this is an opaque structure and use this for all API interactions once stored on appropriate events. See Device Manager Events.

Field Documentation

dm_application_instance_t device_handle::appl_id

Identifies the application instances for which the device is being managed.

dm_connection_instance_t device_handle::connection_id

Identifies connection instance. Active connection instance.

dm_device_instance_t device_handle::device_id

Identifies peer instance in the data base.

dm_service_instance_t device_handle::service_id

Service instance identifier.