MYNEWT-642 Eddystone buf: one byte too large.
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/b41f55db Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b41f55db Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b41f55db Branch: refs/heads/1_0_0_dev Commit: b41f55db3c44d544366887a2a0155a52d71434d3 Parents: 0c354af Author: Christopher Collins <[email protected]> Authored: Mon Feb 27 20:31:12 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Mon Mar 6 15:48:21 2017 -0800 ---------------------------------------------------------------------- net/nimble/host/src/ble_eddystone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b41f55db/net/nimble/host/src/ble_eddystone.c ---------------------------------------------------------------------- diff --git a/net/nimble/host/src/ble_eddystone.c b/net/nimble/host/src/ble_eddystone.c index 6132b78..f19191d 100644 --- a/net/nimble/host/src/ble_eddystone.c +++ b/net/nimble/host/src/ble_eddystone.c @@ -22,7 +22,7 @@ #include "host/ble_hs_adv.h" #include "ble_hs_priv.h" -#define BLE_EDDYSTONE_MAX_SVC_DATA_LEN 23 +#define BLE_EDDYSTONE_MAX_SVC_DATA_LEN 22 #define BLE_EDDYSTONE_SVC_DATA_BASE_SZ 3 #define BLE_EDDYSTONE_SERVICE_UUID 0xfeaa
