Help needed to setup 6loble using IPSP sample


Vakul Garg <vakul.garg@...>
 

Hi

 

I am using frdm-kw41z (running hci_blackbox firmware from nxp) stacked over frdm-k64f running zephyr sample IPSP.

In this config, frdm-kw41z acts as bluetooth controller and frdm-k64f acts bluetooth host.

 

On the peer end, a linux machine is attached with another frdm-kw41z with same hci_blackbox firmware as above (but with different BD address).

 

On, running 'hcitool lescan' on linux machine, it can detect the peer IPSP node.

However, running 'hcitool lecc <ipsp node bd address>' causes following error prints on zephyr console.

 

net> [bt] [ERR] hci_acl: Unable to find conn for handle 32

[bt] [ERR] le_data_len_change: Unable to lookup conn for handle 32

net> [bt] [ERR] hci_num_completed_packets: No connection for handle 32

 

My colleague (Maureen – thanks !!) bisected the git and found that following commit is to blame.

Indeed, removing it solves the issue.

 

--------------------------------------------------------------------------------------

commit 56f79f817e679857e385a14f9a7e9b951dbc626e

Author: Johan Hedberg <johan.hedberg@...>

Date:   Thu Oct 5 09:43:56 2017 +0300

 

    Bluetooth: Add support for Link Layer Privacy

--------------------------------------------------------------------------------------

 

Can someone please advise me if I am missing some step or is it a bug that needs to be logged?

The same issue causes problem with other Bluetooth examples such peripheral_hr etc.

 

Regards

 

Vakul

 

Join users@lists.zephyrproject.org to automatically receive all group messages.