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 nrf51-sdk by
device_manager.h File Reference
Go to the source code of this file.
Data Structures | |
struct | dm_enc_key |
Device Manager Master identification and encryption information. More... | |
struct | dm_id_key |
Device Manager identity and address information. More... | |
struct | dm_sign_key |
Device Manager signing information. More... | |
struct | dm_sec_keyset |
Security keys. More... | |
struct | dm_sec_keyset_t |
Device Manager security key set. More... | |
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 dm_enc_key | dm_enc_key_t |
Device Manager Master identification and encryption information. | |
typedef struct dm_id_key | dm_id_key_t |
Device Manager identity and address information. | |
typedef struct dm_sign_key | dm_sign_key_t |
Device Manager signing information. | |
typedef struct dm_sec_keyset | dm_sec_keys_t |
Security keys. | |
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 ret_code_t(* | dm_event_cb_t )(dm_handle_t const *p_handle, dm_event_t const *p_event, ret_code_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 | |
ret_code_t | dm_init (dm_init_param_t const *p_init_param) |
Module Initialization Routine. | |
ret_code_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. | |
ret_code_t | dm_security_setup_req (dm_handle_t *p_handle) |
Function for requesting setting up security on a link. | |
ret_code_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. | |
ret_code_t | dm_whitelist_create (dm_application_instance_t const *p_handle, ble_gap_whitelist_t *p_whitelist) |
Function for creating the whitelist. | |
ret_code_t | dm_device_delete (dm_handle_t const *p_handle) |
Function for deleting a peer device context and all related information from the database. | |
ret_code_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. | |
ret_code_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. | |
ret_code_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. | |
ret_code_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. | |
ret_code_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. | |
ret_code_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. | |
ret_code_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. | |
ret_code_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. | |
ret_code_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. | |
ret_code_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. | |
ret_code_t | dm_handle_initialize (dm_handle_t *p_handle) |
Function for initializing Device Manager handle. | |
ret_code_t | dm_distributed_keys_get (dm_handle_t const *p_handle, dm_sec_keyset_t *p_key_dist) |
Function for getting distributed keys for a device. | |
ret_code_t | dm_handle_get (uint16_t conn_handle, dm_handle_t *p_handle) |
Function for getting the corresponding dm_handle_t based on the connection handle. |
Detailed Description
Definition in file device_manager.h.
Generated on Tue Jul 12 2022 14:11:21 by
