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

 ##########
 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_periodic_adv_configure(uint8_t instance, const struct 
ble_gap_periodic_adv_params *params);
+int ble_gap_periodic_adv_start(uint8_t instance);
+int ble_gap_periodic_adv_stop(uint8_t instance);
+int ble_gap_periodic_adv_set_data(uint8_t instance, struct os_mbuf *data);
+int ble_gap_periodic_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);
 
 Review comment:
   let's don't expose `unsed`  it in the yet and set this in 0x00 in HCI 
command as per BT 5.0 specification.

----------------------------------------------------------------
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