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/01/31 11:41:51 UTC

[GitHub] sjanc closed pull request #785: nimble: Enable missing Encryption Key Refresh Complete Event

sjanc closed pull request #785: nimble: Enable missing Encryption Key Refresh Complete Event
URL: https://github.com/apache/mynewt-core/pull/785
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/net/nimble/host/src/ble_hs_startup.c b/net/nimble/host/src/ble_hs_startup.c
index 2b144cc50..7e2151c06 100644
--- a/net/nimble/host/src/ble_hs_startup.c
+++ b/net/nimble/host/src/ble_hs_startup.c
@@ -200,9 +200,10 @@ ble_hs_startup_set_evmask_tx(void)
      *     0x0000000000000080 Encryption Change Event
      *     0x0000000000008000 Hardware Error Event
      *     0x0000000002000000 Data Buffer Overflow Event
+     *     0x0000800000000000 Encryption Key Refresh Complete Event
      *     0x2000000000000000 LE Meta-Event
      */
-    ble_hs_hci_cmd_build_set_event_mask(0x2000000002008090, buf, sizeof buf);
+    ble_hs_hci_cmd_build_set_event_mask(0x2000800002008090, buf, sizeof buf);
     rc = ble_hs_hci_cmd_tx_empty_ack(BLE_HCI_OP(BLE_HCI_OGF_CTLR_BASEBAND,
                                                 BLE_HCI_OCF_CB_SET_EVENT_MASK),
                                      buf, sizeof(buf));


 

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