This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

hci_lpuart zephyr link layer implementation

Hi, I am working on a project that utilizes the periodic advertisement feature. I have an nrf9160DK as a gateway to synchronize to multiple advertisers. I use the nrf9160 chip as the host and the nrf52840 as a controller and they communicate via LPUART. The problem is, hci_lpuart sample uses SoftDevice Link Layer but in order to use periodic advertisement with multiple advertisers, I need to use the Zephyr (Software-based) Link Layer. When I try to run the hci_lpuart sample with Zephyr Link Layer, I get an EIO error:

*** Booting Zephyr OS build v2.4.0-ncs1-2618-g8b6686f731f9  ***
Starting Periodic Advertising Synchronization
nRF52833 reset pin configured as P0.04
[00:00:00.269,989] �[1;33m<wrn> bt_hci_core: opcode 0x0000 pool id 2 pool 0x20010418 != &hci_cmd_pool 0x200103f0�[0m
[00:00:00.290,191] �[0m<inf> bt_hci_core: Identity: EF:74:31:44:B6:1D (random)�[0m
[00:00:00.290,191] �[0m<inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x0000, manufacturer 0x05f1�[0m
[00:00:00.290,191] �[0m<inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0xffff�[0m
Scan callbacks register...success.
Periodic Advertising callbacks register...Success.
Start scanning...[00:00:00.293,548] �[1;33m<wrn> bt_hci_core: opcode 0x2041 status 0x01�[0m
failed (err -5)

Is there any way I can use LPUART with Zephyr Link Layer?

Thanks in advance.

Parents Reply Children
No Data
Related