Start scanning...failed (err -5) NCS2.2.0

Hello,

update to NCS2.2.0,VScode, nRF5340DK

C:\ncs\v2.2.0\zephyr\samples\bluetooth\periodic_sync\

no change any code,got error,

*** Booting Zephyr OS build v3.2.99-ncs1 ***
Starting Periodic Advertising Synchronization Demo
Checking LED device...done.
Configuring GPIO pin...done.
Scan callbacks register...success.
Periodic Advertising callbacks register...Success.
Start scanning...failed (err -5)
[00:00:00.476,501] [0m<inf> bt_hci_core: hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)[0m
[00:00:00.476,531] [0m<inf> bt_hci_core: hci_vs_init: HW Variant: nRF53x (0x0003)[0m
[00:00:00.476,562] [0m<inf> bt_hci_core: hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 109.16784 Build 2917677098[0m
[00:00:00.478,149] [0m<inf> bt_hci_core: bt_dev_show_info: Identity: CA:F6:D8:05:5B:2D (random)[0m
[00:00:00.478,179] [0m<inf> bt_hci_core: bt_dev_show_info: HCI: version 5.3 (0x0c) revision 0x21fa, manufacturer 0x0059[0m
[00:00:00.478,179] [0m<inf> bt_hci_core: bt_dev_show_info: LMP: version 5.3 (0x0c) subver 0x21fa[0m
[00:00:00.489,471] [1;33m<wrn> bt_hci_core: bt_hci_cmd_send_sync: opcode 0x2041 status 0x01[0m

    

Best regards

Parents
  • Hello,

    Typically you'll find a list over the boards that we've tested and made sure works with a sample in its documentation. Though, as this is a zephyr sample (as opposed to the the ones in NCS), it might not necessarily work with our boards right out of the box; you might have to make some modifications. It seems that nRF52832 is listed as a supported device for this sample though.

    I do see the same issue as you on our 5340DK, though it does work with our nRF52s. I'll look a bit further at this issue tomorrow.

    Regards,

    Elfving

Reply
  • Hello,

    Typically you'll find a list over the boards that we've tested and made sure works with a sample in its documentation. Though, as this is a zephyr sample (as opposed to the the ones in NCS), it might not necessarily work with our boards right out of the box; you might have to make some modifications. It seems that nRF52832 is listed as a supported device for this sample though.

    I do see the same issue as you on our 5340DK, though it does work with our nRF52s. I'll look a bit further at this issue tomorrow.

    Regards,

    Elfving

Children
No Data