You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/02/18 11:06:09 UTC

[GitHub] rymanluk commented on a change in pull request #283: Adding Periodic Advertising Feature

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:
users@infra.apache.org


With regards,
Apache Git Services