From 9fed4ce48a09d8c19b47e1ec90c33fd10bcecd4f Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 26 May 2016 17:38:31 +0300 Subject: [PATCH] Bluetooth: Add missing flags to beacon sample The flag BT_LE_AD_NO_BREDR shall be set which makes BT_DATA_FLAGS mandatory. Change-Id: Id933a4d73bc9fdcdc53c197041bb488d45ba149a Signed-off-by: Luiz Augusto von Dentz --- samples/bluetooth/beacon/src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/bluetooth/beacon/src/main.c b/samples/bluetooth/beacon/src/main.c index 3b58cef7314..1d2b57cae41 100644 --- a/samples/bluetooth/beacon/src/main.c +++ b/samples/bluetooth/beacon/src/main.c @@ -33,6 +33,7 @@ * https://github.com/google/eddystone/tree/master/eddystone-url */ static const struct bt_data ad[] = { + BT_DATA_BYTES(BT_DATA_FLAGS, BT_LE_AD_NO_BREDR), BT_DATA_BYTES(BT_DATA_UUID16_ALL, 0xaa, 0xfe), BT_DATA_BYTES(BT_DATA_SVC_DATA16, 0xaa, 0xfe, /* Eddystone UUID */