Open Thalley opened 3 weeks ago
Would you be able to get an HCI pcap? Would be great if you could test with an older version of Zephyr too.
Would you be able to get an HCI pcap? Would be great if you could test with an older version of Zephyr too.
Trying to, but I have some issues getting the log with btmon
. Not sure what the cause is yet.
Shouldn't the bt_conn_set_security()
call be excluded when CONFIG_SAMPLE_BT_USE_AUTHENTICATION=n
? I.e. is the sample simply missing an #ifdef?
Shouldn't the
bt_conn_set_security()
call be excluded whenCONFIG_SAMPLE_BT_USE_AUTHENTICATION=n
? I.e. is the sample simply missing an #ifdef?
Security level 2 can be done without authentication
Security level 2 can be done without authentication
Right, and I checked that smp.c
should correctly fall back to just-works when there are no authentication callbacks registered.
Security level 2 can be done without authentication
Right, and I checked that
smp.c
should correctly fall back to just-works when there are no authentication callbacks registered.
Indeed. I've tested the same with the BT shell and works fine there, so I believe the issue is that it is being called in the connected
callback, or related to timing
Describe the bug The sample has
in the
connected
callback, but it seems to fail to do encryption when connected to an Android Phone.To Reproduce
Expected behavior Expect the security to be set to level 2.
Impact Depends. If it was something that used to work and stopped working at some point, it is caused by a change in the stack that may not be documented.
Logs and console output
Environment (please complete the following information):
Additional context Tested on a nRF5340 DK for the Zephyr sample with the
hci_ipc
sample with thenrf5340_cpunet_iso-bt_ll_sw_split.conf
overlay for the network core. Tested on an Pixel 8 running Android 14