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/04/12 13:52:32 UTC
[GitHub] rymanluk commented on a change in pull request #41: Connection
complete fix
rymanluk commented on a change in pull request #41: Connection complete fix
URL: https://github.com/apache/mynewt-nimble/pull/41#discussion_r181087351
##########
File path: nimble/host/src/ble_gap.c
##########
@@ -449,7 +449,7 @@ ble_gap_extract_conn_cb(uint16_t conn_handle,
{
const struct ble_hs_conn *conn;
- BLE_HS_DBG_ASSERT(conn_handle != 0);
+ BLE_HS_DBG_ASSERT(conn_handle <= 0x0eff);
Review comment:
Can we make 0x0eff as a define? Maybe BLE_CONN_HANDLE_MAX or similar? Or at least comment in the code
----------------------------------------------------------------
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