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

 ##########
 File path: nimble/host/src/ble_hs_startup.c
 ##########
 @@ -256,12 +256,15 @@ ble_hs_startup_le_set_evmask_tx(void)
          * Enable the following LE events:
          *   0x0000000000000800 LE PHY Update Complete Event
          *   0x0000000000001000 LE Extended Advertising Report Event
+         *   0x0000000000002000 LE Periodic Advertising Sync Established Event
+         *   0x0000000000004000 LE Periodic Advertising Report Event
+         *   0x0000000000008000 LE Periodic Advertising Sync Lost Event
          *   0x0000000000010000 LE Extended Scan Timeout Event
          *   0x0000000000020000 LE Extended Advertising Set Terminated Event
          *   0x0000000000040000 LE Scan Request Received Event
          *   0x0000000000080000 LE Channel Selection Algorithm Event
          */
-        mask |= 0x00000000000f1800;
+        mask |= 0x00000000000f1800 | 0x2000 | 0x4000 | 0x8000;
 
 Review comment:
   I would just calculate it in

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