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/10/24 09:34:32 UTC

[GitHub] [mynewt-nimble] mnasr93 commented on a change in pull request #607: nimble/gatt: fix custom notify/indicate to work with proper connection handle

mnasr93 commented on a change in pull request #607: nimble/gatt: fix custom notify/indicate to work with proper connection handle
URL: https://github.com/apache/mynewt-nimble/pull/607#discussion_r338474988
 
 

 ##########
 File path: nimble/host/src/ble_gattc.c
 ##########
 @@ -4166,8 +4166,8 @@ ble_gattc_notify_custom(uint16_t conn_handle, uint16_t chr_val_handle,
             rc = BLE_HS_ENOMEM;
             goto done;
         }
-        rc = ble_att_svr_read_handle(BLE_HS_CONN_HANDLE_NONE,
-                                     chr_val_handle, 0, txom, NULL);
+        rc = ble_att_svr_read_handle(conn_handle |
 
 Review comment:
   yes it creates an issue, 
   if the characteristic to be notified has only write and notify permissions,
   then reading the characteristic value to be notified will fail

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