mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccoll...@apache.org
Subject [09/12] incubator-mynewt-core git commit: BLE Host - Enable data-length-change event by dflt
Date Tue, 07 Jun 2016 14:41:16 GMT
BLE Host - Enable data-length-change event by dflt


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/c7345ccb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/c7345ccb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/c7345ccb

Branch: refs/heads/upf54
Commit: c7345ccbf11f7acd04387b061e50f1e0b7991558
Parents: 12c296a
Author: Christopher Collins <ccollins@apache.org>
Authored: Tue Jun 7 18:43:57 2016 +0800
Committer: Christopher Collins <ccollins@apache.org>
Committed: Tue Jun 7 22:40:34 2016 +0800

----------------------------------------------------------------------
 net/nimble/host/src/ble_hs_startup.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/c7345ccb/net/nimble/host/src/ble_hs_startup.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_hs_startup.c b/net/nimble/host/src/ble_hs_startup.c
index a517f03..310c5b8 100644
--- a/net/nimble/host/src/ble_hs_startup.c
+++ b/net/nimble/host/src/ble_hs_startup.c
@@ -91,9 +91,10 @@ ble_hs_startup_le_set_evmask_tx(void)
      *     0x0000000000000008 LE Read Remote Used Features Complete Event
      *     0x0000000000000010 LE Long Term Key Request Event
      *     0x0000000000000020 LE Remote Connection Parameter Request Event
+     *     0x0000000000000040 LE Data Length Change Event
      *     0x0000000000000200 LE Enhanced Connection Complete Event
      */
-    host_hci_cmd_build_le_set_event_mask(0x000000000000023f, buf, sizeof buf);
+    host_hci_cmd_build_le_set_event_mask(0x000000000000027f, buf, sizeof buf);
     rc = ble_hci_cmd_tx_empty_ack(buf);
     if (rc != 0) {
         return rc;


Mime
View raw message