Skip to content
Snippets Groups Projects
Commit 8f0bc517 authored by schneider's avatar schneider Committed by schneider
Browse files

feat(ble): Only allow "secure" pairings

parent 4c783757
No related branches found
No related tags found
No related merge requests found
...@@ -113,11 +113,11 @@ static const basCfg_t bleBasCfg = ...@@ -113,11 +113,11 @@ static const basCfg_t bleBasCfg =
static const smpCfg_t bleSmpCfg = static const smpCfg_t bleSmpCfg =
{ {
3000, /*! 'Repeated attempts' timeout in msec */ 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 */ 7, /*! Minimum encryption key length */
16, /*! Maximum encryption key length */ 16, /*! Maximum encryption key length */
3, /*! Attempts to trigger 'repeated attempts' timeout */ 3, /*! Attempts to trigger 'repeated attempts' timeout */
0, /*! Device authentication requirements */ DM_AUTH_MITM_FLAG, /*! Device authentication requirements */
}; };
/************************************************************************************************** /**************************************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment