Hi,
nRFConnect SDK Sample not working (periodic_adv _sync)
I have two nRF52840 DK with nRFConnect SDK 1.7.1
Compiled and run on nRF52840 boards:
\ncs1.7.1\zephyr\samples\bluetooth\periodic_adv
\ncs1.7.1\zephyr\samples\bluetooth\periodic_sync
i've only changed prink to BT_INFO.
I found that in the periodic_adv,
mfg_data[2]++;
is sent with the advertisements, but it is not received at periodic_sync:
The debug run printout :
[DEVICE]: 21:B6:31:15:B8:3C (random), AD evt type 5, Tx Pwr: 127, RSSI -53 PerAdv C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE 2M, Interval: 0x0000 (0 ms), SID: 0
In the periodic_sync, function void scan_recv ()
if (!per_adv_found && info->interval) {
per_adv_found = true;
per_sid = info->sid;
bt_addr_le_copy(&per_addr, info->addr);
k_sem_give(&sem_per_adv);
}
info->interval always 0.
And callbacks sync_cb, recv_cb are never called.
Did I miss anything?
thank a lot.
maybe I can't use Wireshark-win64