nRF Connect SDK periodic_adv+periodic_sync run error

Hello,

i've two 52840DK, ncs1.8.0, windows10 X64.

D:\Program\v1.8.0\zephyr\samples\bluetooth\periodic_adv\

D:\Program\v1.8.0\zephyr\samples\bluetooth\periodic_sync\

I didn't change any source code and configure, but commented a line of printk("[DEVICE]:,

i got error like this:

[1;31m<err> bt_scan: Unknown handle 0x0000for periodic adv sync lost[0m

D:\Program\v1.8.0\zephyr\samples\bluetooth\periodic_adv\

thanks a lot

  • I've found the same error on v1.8.0. Running the sample codes as they come

  • Ok. Trying to find a workaround

    1) Reverting back  periodic_sync to v1.7.1. Problem: It will not detect periodic_adv running on v1.8.0.

    2) Reverting back periodic_adv to v1.7.1. Error on Init:

    Failed to set periodic advertising parameters (err -134)

    Is there any stable version for these two projects?

    Thanks

  • Coming back to both v1.8.0. The periodic_sync code waits for 10s for a message from the perodic_adv code.  The problem might be on the periodic_adv config response. However, there are also issues how the periodic_sync handles this situation. A bit more on the logs:

    Waiting for periodic sync...
    [00:00:26.658,660] <err> bt_scan: Unknown handle 0x0000for periodic adv sync lost
    failed (err -11)
    Deleting Periodic Advertising Sync...[00:00:35.461,517] <wrn> bt_hci_core: opcode 0x2045 status 0x0c
    failed (err -5)
    

  • Hi,

    We are aware that the periodic_sync sample is not stable, and that it could hardfault. Support for Periodic Advertising is experimental in NCS v1.8.0.

    Thanks for reporting this. We are working on a fix.

  • Hello,i've fix it,

    prj.conf  set    CONFIG_BT_LL_SW_SPLIT=y

    Two methods fix it:

    First  cmd build

    west build -b nrf52840dk_nrf52840    

    west flash --erase

    second  reinstall SES

    remove old SES

    cmd enter D:/Program/ncs/v1.8.0

    west init -m github.com/.../sdk-nrf --mr v1.8.0

    west update

    as follow error

    fatal: unable to access 'github.com/.../': OpenSSL SSL_read: Connection was reset, errno 10054

    fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Timed out

           please "https" changge to “git” 

    git clone git://github.com/zephyrproject-rtos/openthread/

    git clone git://github.com/nestlabs/nlassert.git/

    git clone git://github.com/zephyrproject-rtos/loramac-node/

    git clone git://github.com/NordicSemiconductor/cddl-gen/

    git clone git://github.com/zephyrproject-rtos/canopennode/

    git clone git://github.com/zephyrproject-rtos/civetweb/

    git clone git://github.com/zephyrproject-rtos/hal_st/

    git clone git://github.com/zephyrproject-rtos/civetweb/

Related