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

 ##########
 File path: nimble/host/include/host/ble_gap.h
 ##########
 @@ -708,6 +711,47 @@ struct ble_gap_event {
             uint8_t tx_phy;
             uint8_t rx_phy;
         } phy_updated;
+#if MYNEWT_VAL(BLE_EXT_ADV) && MYNEWT_VAL(BLE_PERIODIC_ADV)
+        /**
+         * Represents an periodic advertising sync established during discovery
+         * procedure.  Valid for the following event types:
+         *     o BLE_GAP_EVENT_PERIODIC_ADV_SYNC_ESTAB
+         */
+        struct {
+            uint8_t status;
+            uint16_t sync_handle;
+            uint8_t sid;
+            uint8_t adv_addr_type;
+            uint8_t adv_addr[6];
+            uint8_t adv_phy;
+            uint16_t per_adv_ival;
+            uint8_t adv_clk_accuracy;
+        } per_adv_sync_estab;
+
 
 Review comment:
   please remove empty line

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