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/05/06 11:41:31 UTC

[GitHub] [mynewt-nimble] rymanluk commented on a change in pull request #431: nimble/gap: Adding LE Clear Advertising Sets Command

rymanluk commented on a change in pull request #431: nimble/gap: Adding LE Clear Advertising Sets Command
URL: https://github.com/apache/mynewt-nimble/pull/431#discussion_r281149059
 
 

 ##########
 File path: nimble/host/src/ble_gap.c
 ##########
 @@ -3007,6 +3007,44 @@ ble_gap_ext_adv_remove(uint8_t instance)
     return 0;
 }
 
+int
+ble_gap_ext_adv_clear(void)
+{
+    int rc;
+    uint8_t instance;
+    uint16_t opcode;
+
+    ble_hs_lock();
+
+    for(instance = 0; instance < BLE_ADV_INSTANCES; instance++) {
 
 Review comment:
   minor coding style `if ( `

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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