| Airoha M0 BLE API 1.0.5.4

sm_master.h
1 /******************************************************************************
2 Copyright (c) Airoha 2016 - All rights reserved
3
4 FILE NAME
5 sm_master.h
6 DESCRIPTION
7 NOTES
8 ********************************************************************************/
9 #ifndef __SM_MASTER_H__
10 #define __SM_MASTER_H__
11
12 #if (SM_MASTER_SUPPORTED)
13
14 #if (SM_HAL_AB1600_ENABLED)
15 #include <stdbool.h>
16 #include "ble_gap_sm.h"
17 #endif
18
19 void SM_Master_Init(void);
20 bool SM_Master_SendPairingRequest(uint8_t idx, ble_sm_security_param_t *securityParam);
21 bool SM_Master_StartPairing(uint8_t idx, ble_sm_security_param_t *securityParam);
22 void SM_Master_EncryptionChange(uint8_t idx, uint8_t *evtPtr);
23 void SM_Master_PasskeyInputRsp(uint8_t idx, uint32_t passKey);
24 void SM_Master_OOBInputRsp(uint8_t idx, uint8_t* oobData);
25
26 #endif /* #if (SM_MASTER_SUPPORTED) */
27 #endif /* __SM_MASTER_H__ */
28
ble_sm_security_param_t
Parameters for BLE_gap_sm_set_security_param function.
Definition: ble_gap_sm.h:116