Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
device_manager.h File Reference
Go to the source code of this file.
Data Structures | |
struct | device_handle |
Device Handle used for unique identification of each peer. More... | |
struct | dm_context_t |
Definition of Data Context. More... | |
struct | dm_service_context_t |
Service Context. More... | |
union | dm_event_param_t |
Event parameters. More... | |
struct | dm_event_t |
Asynchronous events details notified to the application by the module. More... | |
struct | dm_init_param_t |
Initialization Parameters. More... | |
struct | dm_application_param_t |
Application Registration Parameters. More... | |
Typedefs | |
typedef uint8_t | dm_application_instance_t |
Application Instance. | |
typedef uint8_t | dm_connection_instance_t |
Connection Instance. | |
typedef uint8_t | dm_device_instance_t |
Device Instance. | |
typedef uint8_t | dm_service_instance_t |
Service Instance. | |
typedef uint8_t | service_type_t |
Service/Protocol Type Identifier. | |
typedef struct device_handle | dm_handle_t |
Device Handle used for unique identification of each peer. | |
typedef dm_context_t | dm_device_context_t |
Device Context. | |
typedef dm_context_t | dm_application_context_t |
Application context. | |
typedef api_result_t(* | dm_event_cb_t )(dm_handle_t const *p_handle, dm_event_t const *p_event, api_result_t event_result) |
Event notification callback registered by application with the module. | |
Enumerations | |
enum | dm_security_status_t { NOT_ENCRYPTED, ENCRYPTION_IN_PROGRESS, ENCRYPTED } |
Defines possible security status/states. More... | |
Functions | |
api_result_t | dm_init (dm_init_param_t const *p_init_param) |
Module Initialization Routine. | |
api_result_t | dm_register (dm_application_instance_t *p_appl_instance, dm_application_param_t const *p_appl_param) |
Function for registering the application. | |
void | dm_ble_evt_handler (ble_evt_t *p_ble_evt) |
Function for handling BLE events. | |
api_result_t | dm_security_setup_req (dm_handle_t *p_handle) |
Function for requesting setting up security on a link. | |
api_result_t | dm_security_status_req (dm_handle_t const *p_handle, dm_security_status_t *p_status) |
Function for reading the status of the security on a link. | |
api_result_t | dm_whitelist_create (dm_application_instance_t const *p_handle, ble_gap_whitelist_t *p_whitelist) |
Function for creating the whitelist. | |
api_result_t | dm_device_delete (dm_handle_t const *p_handle) |
Function for deleting a peer device context and all related information from the database. | |
api_result_t | dm_device_delete_all (dm_application_instance_t const *p_handle) |
Function for deleting all peer device context and all related information from the database. | |
api_result_t | dm_service_context_set (dm_handle_t const *p_handle, dm_service_context_t const *p_context) |
Function for setting Service Context for a peer device identified by 'p_handle' parameter. | |
api_result_t | dm_service_context_get (dm_handle_t const *p_handle, dm_service_context_t *p_context) |
Function for getting Service Context for a peer device identified by 'p_handle' parameter. | |
api_result_t | dm_service_context_delete (dm_handle_t const *p_handle) |
Function for deleting a Service Context for a peer device identified by the 'p_handle' parameter. | |
api_result_t | dm_application_context_set (dm_handle_t const *p_handle, dm_application_context_t const *p_context) |
Function for setting Application Context for a peer device identified by the 'p_handle' parameter. | |
api_result_t | dm_application_context_get (dm_handle_t const *p_handle, dm_application_context_t *p_context) |
Function for getting Application Context for a peer device identified by the 'p_handle' parameter. | |
api_result_t | dm_application_context_delete (dm_handle_t const *p_handle) |
Function for deleting Application Context for a peer device identified by the 'p_handle' parameter. | |
api_result_t | dm_application_instance_set (dm_application_instance_t const *p_appl_instance, dm_handle_t *p_handle) |
Function for Setting/Copying Application instance to Device Manager handle. | |
api_result_t | dm_peer_addr_get (dm_handle_t const *p_handle, ble_gap_addr_t *p_addr) |
Function for getting a peer's device address. | |
api_result_t | dm_peer_addr_set (dm_handle_t const *p_handle, ble_gap_addr_t const *p_addr) |
Function for setting/updating a peer's device address. | |
api_result_t | dm_handle_initialize (dm_handle_t *p_handle) |
Function for initializing Device Manager handle. | |
api_result_t | dm_distributed_keys_get (dm_handle_t const *p_handle, ble_gap_sec_keyset_t *p_key_dist) |
Function for getting distributed keys for a device. |
Detailed Description
Definition in file device_manager.h.
Generated on Tue Jul 12 2022 18:47:34 by
