Commit 8f0bc517 authored by schneider's avatar schneider Committed by schneider
Browse files

feat(ble): Only allow "secure" pairings

parent 4c783757
......@@ -113,11 +113,11 @@ static const basCfg_t bleBasCfg =
static const smpCfg_t bleSmpCfg =
{
3000, /*! 'Repeated attempts' timeout in msec */
SMP_IO_NO_IN_NO_OUT, /*! I/O Capability */
SMP_IO_DISP_YES_NO, /*! I/O Capability */
7, /*! Minimum encryption key length */
16, /*! Maximum encryption key length */
3, /*! Attempts to trigger 'repeated attempts' timeout */
0, /*! Device authentication requirements */
DM_AUTH_MITM_FLAG, /*! Device authentication requirements */
};
/**************************************************************************************************
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment