TEsting the periodic advertising example with nrf52840 dongle sniffer

Hi all,

Im testing the "periodic_advertising_example" but in wireshark (nrf52840 dongle) I can just receive the AUX_ADV_IND packet below. I can I see the periodic advertising data ?

Thanks.

Parents
  • Hi Amanda,

    thanks fro replying me.

    What I cant see in the sniffer are the "peridic advertising data" ; I mean reading the example code in the while (true) there is the following call:

    err = bt_le_per_adv_set_data(adv, per_adv_ad, ARRAY_SIZE(per_adv_ad));
    so I expected to find also the data inside the :
    "per_adv_ad" payload and in particular the "mfg_data[]" buffer content:
    static const struct bt_data per_adv_ad[] = {
    BT_DATA(BT_DATA_MANUFACTURER_DATA, mfg_data, 3),
    };
    How can also read the periodic advertising data ?
    is the nrf52840 dongle able to read it?
    Thanks again.
    Nicola

  • Hi Amanda ,

    I already changed the line 

    err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN, NULL, &adv);

    to 

    err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN_IDENTITY, NULL, &adv);

    but I cant see any periodic_av train (AUX_SYNC_IND packet).

    How can the dongle subscribe for this events ?

    You say : "When you select a device in Wireshark, you're essentially synchronizing with its periodic advertising train. The sniffer follows the periodic advertising and subscribes to the subevent, which is why you're seeing the AUX_SYNC_IND"

    How can I seect the device in wireshark so that it subscribe to the periodic events?

    What I can see are just 3 packet related to the device but not seems to be the peridoic data!

    Thanks 

Reply
  • Hi Amanda ,

    I already changed the line 

    err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN, NULL, &adv);

    to 

    err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN_IDENTITY, NULL, &adv);

    but I cant see any periodic_av train (AUX_SYNC_IND packet).

    How can the dongle subscribe for this events ?

    You say : "When you select a device in Wireshark, you're essentially synchronizing with its periodic advertising train. The sniffer follows the periodic advertising and subscribes to the subevent, which is why you're seeing the AUX_SYNC_IND"

    How can I seect the device in wireshark so that it subscribe to the periodic events?

    What I can see are just 3 packet related to the device but not seems to be the peridoic data!

    Thanks 

Children
Related