Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Disabled Bluetooth Security Manager while crypto is not supported
CONFIG_BT_SMP=n
7 changes: 7 additions & 0 deletions samples/bluetooth/llpm/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ static void connected(struct bt_conn *conn, uint8_t err)
if (err) {
printk("Failed to set security: %d\n", err);
}
#else
/*Start service discovery*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/* Comments start after a space */

err = bt_gatt_dm_start(default_conn, BT_UUID_LATENCY, &discovery_cb,
&latency_client);
if (err) {
printk("Discover failed (err %d)\n", err);
}
#endif /* CONFIG_BT_SMP */
}

Expand Down