Skip to content

Commit

Permalink
Relax security requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
shermp committed Jul 14, 2024
1 parent 9b47fee commit 07436ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asha_bt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ extern "C" void bt_main()
sm_init();
sm_set_secure_connections_only_mode(true);
sm_set_io_capabilities(IO_CAPABILITY_DISPLAY_YES_NO);
sm_set_authentication_requirements(SM_AUTHREQ_SECURE_CONNECTION | SM_AUTHREQ_MITM_PROTECTION | SM_AUTHREQ_BONDING);
sm_set_authentication_requirements(SM_AUTHREQ_BONDING);

/* Init GATT client. Required to read/write GATT characteristics */
LOG_INFO("GATT Client Init.\n");
Expand Down

0 comments on commit 07436ba

Please sign in to comment.