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/07/13 21:05:17 UTC

incubator-mynewt-core git commit: BLE Host - Move ATT MTU defines into public hdr.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 3dd354e26 -> e6602f6c2


BLE Host - Move ATT MTU defines into public hdr.


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/e6602f6c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/e6602f6c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/e6602f6c

Branch: refs/heads/develop
Commit: e6602f6c28febadc18d50c880f6d4d9cf4f133ad
Parents: 3dd354e
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Jul 13 14:04:59 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Jul 13 14:04:59 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/include/host/ble_att.h | 4 ++++
 net/nimble/host/src/ble_att_priv.h     | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e6602f6c/net/nimble/host/include/host/ble_att.h
----------------------------------------------------------------------
diff --git a/net/nimble/host/include/host/ble_att.h b/net/nimble/host/include/host/ble_att.h
index 6137d25..5ce4123 100644
--- a/net/nimble/host/include/host/ble_att.h
+++ b/net/nimble/host/include/host/ble_att.h
@@ -89,6 +89,10 @@
 #define BLE_ATT_ACCESS_OP_READ              1
 #define BLE_ATT_ACCESS_OP_WRITE             2
 
+#define BLE_ATT_MTU_DFLT                23  /* Also the minimum. */
+#define BLE_ATT_MTU_MAX                 240
+#define BLE_ATT_MTU_PREFERRED_DFLT      240
+
 /**
  * Context for an access to an ATT attribute.  When a client reads or writes a
  * locally registered attribute, an instance of this struct gets passed to the

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e6602f6c/net/nimble/host/src/ble_att_priv.h
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_att_priv.h b/net/nimble/host/src/ble_att_priv.h
index 36bdf6b..4c50a49 100644
--- a/net/nimble/host/src/ble_att_priv.h
+++ b/net/nimble/host/src/ble_att_priv.h
@@ -100,10 +100,6 @@ STATS_SECT_START(ble_att_stats)
 STATS_SECT_END
 extern STATS_SECT_DECL(ble_att_stats) ble_att_stats;
 
-#define BLE_ATT_MTU_DFLT                23  /* Also the minimum. */
-#define BLE_ATT_MTU_MAX                 240
-#define BLE_ATT_MTU_PREFERRED_DFLT      240
-
 struct ble_att_prep_entry {
     SLIST_ENTRY(ble_att_prep_entry) bape_next;
     uint16_t bape_handle;