rymanluk commented on a change in pull request #283: Adding Periodic 
Advertising Feature
URL: https://github.com/apache/mynewt-nimble/pull/283#discussion_r246772097
 
 

 ##########
 File path: nimble/host/include/host/ble_gap.h
 ##########
 @@ -913,6 +966,28 @@ int ble_gap_ext_adv_stop(uint8_t instance);
 int ble_gap_ext_adv_set_data(uint8_t instance, struct os_mbuf *data);
 int ble_gap_ext_adv_rsp_set_data(uint8_t instance, struct os_mbuf *data);
 int ble_gap_ext_adv_remove(uint8_t instance);
+
+#if MYNEWT_VAL(BLE_PERIODIC_ADV)
+/* Periodic Advertising */
+int ble_gap_per_adv_configure(uint8_t instance, const struct 
ble_gap_per_adv_params *params);
+int ble_gap_per_adv_start(uint8_t instance);
+int ble_gap_per_adv_stop(uint8_t instance);
+int ble_gap_per_adv_set_data(uint8_t instance, struct os_mbuf *data);
+int ble_gap_per_adv_create_sync (uint8_t filter_policy,
+                                                                uint8_t        
adv_sid, uint8_t adv_add_type,
+                                                                const uint8_t 
*adv_addr, uint16_t skip,
+                                                                uint16_t 
sync_timeout, uint8_t unused);
+int ble_gap_per_adv_create_sync_cancel(void);
+int ble_gap_per_adv_terminate_sync(uint16_t sync_handle);
+int ble_gap_add_dev_to_per_adv_list(uint8_t adv_add_type, const uint8_t 
*adv_add,
 
 Review comment:
   what about `ble_gap_periodic_adv_list_add()` and  
`ble_gap_periodic_adv_list_remove()`, `ble_gap_periodic_adv_list_clear()`, 
`ble_gap_periodic_adv_list_read_size()` ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to