123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- #ifndef SECURITY_DISPATCHER_H__
- #define SECURITY_DISPATCHER_H__
- #include <stdint.h>
- #include "sdk_errors.h"
- #include "ble.h"
- #include "ble_gap.h"
- #include "peer_manager_types.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- ret_code_t smd_init(void);
- void smd_ble_evt_handler(ble_evt_t const * ble_evt);
- void smd_conn_sec_config_reply(uint16_t conn_handle, pm_conn_sec_config_t * p_conn_sec_config);
- ret_code_t smd_params_reply(uint16_t conn_handle,
- ble_gap_sec_params_t * p_sec_params,
- ble_gap_lesc_p256_pk_t * p_public_key);
- ret_code_t smd_link_secure(uint16_t conn_handle,
- ble_gap_sec_params_t * p_sec_params,
- bool force_repairing);
- #ifdef __cplusplus
- }
- #endif
- #endif
|