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 2018/10/18 16:28:31 UTC

[GitHub] andrzej-kaczmarek commented on a change in pull request #220: apps/btshell: Add option to restart advertising after disconnect

andrzej-kaczmarek commented on a change in pull request #220: apps/btshell: Add option to restart advertising after disconnect
URL: https://github.com/apache/mynewt-nimble/pull/220#discussion_r226372182
 
 

 ##########
 File path: apps/btshell/src/main.c
 ##########
 @@ -129,6 +129,21 @@ int btshell_full_disc_prev_chr_val;
 #define BTSHELL_AUTO_DEVICE_NAME    ""
 #endif
 
+#if MYNEWT_VAL(BLE_EXT_ADV)
+struct {
+    bool restart;
+    int conn_handle;
 
 Review comment:
   make this `uint16_t` and use `BLE_HS_CONN_HANDLE_NONE` instead of `-1` for invalid handle

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