You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/06/15 02:27:32 UTC
[10/50] [abbrv] incubator-mynewt-core git commit: BLE Host - Enable
data-length-change event by dflt
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/a96152c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/a96152c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/a96152c3
Branch: refs/heads/develop
Commit: a96152c317148be63c4e0f36d259841716ebe67c
Parents: 069dae2
Author: Christopher Collins <cc...@apache.org>
Authored: Tue Jun 7 18:43:57 2016 +0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue Jun 14 19:23:34 2016 -0700
----------------------------------------------------------------------
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/a96152c3/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;