We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca3eec2 commit 9c8d6e6Copy full SHA for 9c8d6e6
mrbgems/picoruby-ble/ports/rp2040/ble.c
@@ -137,6 +137,10 @@ BLE_init(const uint8_t *profile_data, int ble_role)
137
l2cap_init();
138
sm_init();
139
140
+ sm_set_io_capabilities(IO_CAPABILITY_NO_INPUT_NO_OUTPUT);
141
+ sm_set_authentication_requirements(SM_AUTHREQ_BONDING);
142
+ sm_set_secure_connections_only_mode(false); // If true, LEGACY pairing will fail
143
+
144
role = ble_role;
145
146
switch (role) {
0 commit comments