BLE_SMP_EnableDebugMode
C
uint16_t BLE_SMP_EnableDebugMode(void);
Description
Enables BLE SMP debug mode for the pairing procedure.
Note
When debug mode is enabled, the debug public key will be used.Invoking this function will prohibit the use of BLE_SMP_AcceptDebugKey.
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | SMP debug mode enabled successfully. |
MBA_RES_FAIL | Fail to enable debug mode because BLE_SMP_AcceptDebugKey has already been called. |