extenal observer for a periodic adverttising 1 to 4 network

There is a way to make an observer to verify how the subnetwork work: periodic advertising with response ? 

Thanks 

Novello G.

Parents
  • Hi,

    Yes, there is. I would suggest you to take a look at our PAwR synchronization (observer) sample in nRF Connect SDK to see how the PAwR subnetwork works. The sample pair is periodic_sync_rsp (observer) which is to be used with periodic_adv_rsp (advertiser). The observer sample:

    1) Starts scanning and creates a periodic advertising sync with the advertiser with bt_le_per_adv_sync_create().

    2) After the sync has been established, it uses bt_le_per_adv_sync_subevent() to choose subevents to listen to.

    3) For each PAwR event, the observer receives a callback with:

    • which subevent it came from
    • the data from the advertiser. In the same callback, it can send a response back in a chosen response slot by using PAwR response APIs. 

    I would recommend you to see our PAwR guide. For API for creating and managing periodic advertising and sync objects, take a look at Zephyr BT GAP.  

    Best Regards,

    Samruddhi

Reply
  • Hi,

    Yes, there is. I would suggest you to take a look at our PAwR synchronization (observer) sample in nRF Connect SDK to see how the PAwR subnetwork works. The sample pair is periodic_sync_rsp (observer) which is to be used with periodic_adv_rsp (advertiser). The observer sample:

    1) Starts scanning and creates a periodic advertising sync with the advertiser with bt_le_per_adv_sync_create().

    2) After the sync has been established, it uses bt_le_per_adv_sync_subevent() to choose subevents to listen to.

    3) For each PAwR event, the observer receives a callback with:

    • which subevent it came from
    • the data from the advertiser. In the same callback, it can send a response back in a chosen response slot by using PAwR response APIs. 

    I would recommend you to see our PAwR guide. For API for creating and managing periodic advertising and sync objects, take a look at Zephyr BT GAP.  

    Best Regards,

    Samruddhi

Children
No Data
Related