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 valueDescription
MBA_RES_SUCCESSSMP debug mode enabled successfully.
MBA_RES_FAILFail to enable debug mode because BLE_SMP_AcceptDebugKey has already been called.