From: Szymon Janc <szymon.janc@tieto.com>
To: linux-bluetooth@vger.kernel.org
Cc: Szymon Janc <szymon.janc@tieto.com>
Subject: [PATCH v3 1/5] core: Move EIR flags definitions to eir.h
Date: Mon, 24 Mar 2014 13:36:42 +0100 [thread overview]
Message-ID: <1395664606-32263-2-git-send-email-szymon.janc@tieto.com> (raw)
In-Reply-To: <1395664606-32263-1-git-send-email-szymon.janc@tieto.com>
---
src/adapter.c | 9 ---------
src/eir.h | 9 +++++++++
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/adapter.c b/src/adapter.c
index 88d94b4..e396a3d 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -72,15 +72,6 @@
#define ADAPTER_INTERFACE "org.bluez.Adapter1"
-/* Flags Descriptions */
-#define EIR_LIM_DISC 0x01 /* LE Limited Discoverable Mode */
-#define EIR_GEN_DISC 0x02 /* LE General Discoverable Mode */
-#define EIR_BREDR_UNSUP 0x04 /* BR/EDR Not Supported */
-#define EIR_SIM_CONTROLLER 0x08 /* Simultaneous LE and BR/EDR to Same
- Device Capable (Controller) */
-#define EIR_SIM_HOST 0x10 /* Simultaneous LE and BR/EDR to Same
- Device Capable (Host) */
-
#define MODE_OFF 0x00
#define MODE_CONNECTABLE 0x01
#define MODE_DISCOVERABLE 0x02
diff --git a/src/eir.h b/src/eir.h
index 9e53983..e486fa2 100644
--- a/src/eir.h
+++ b/src/eir.h
@@ -38,6 +38,15 @@
#define EIR_DEVICE_ID 0x10 /* device ID */
#define EIR_GAP_APPEARANCE 0x19 /* GAP appearance */
+/* Flags Descriptions */
+#define EIR_LIM_DISC 0x01 /* LE Limited Discoverable Mode */
+#define EIR_GEN_DISC 0x02 /* LE General Discoverable Mode */
+#define EIR_BREDR_UNSUP 0x04 /* BR/EDR Not Supported */
+#define EIR_CONTROLLER 0x08 /* Simultaneous LE and BR/EDR to Same
+ Device Capable (Controller) */
+#define EIR_SIM_HOST 0x10 /* Simultaneous LE and BR/EDR to Same
+ Device Capable (Host) */
+
struct eir_data {
GSList *services;
unsigned int flags;
--
1.9.1
next prev parent reply other threads:[~2014-03-24 12:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-24 12:36 [PATCH v3 0/5] android: LE device handling improvements Szymon Janc
2014-03-24 12:36 ` Szymon Janc [this message]
2014-03-24 12:36 ` [PATCH v3 2/5] android/bluetooth: Filter out not discoverable LE devices Szymon Janc
2014-03-24 12:36 ` [PATCH v3 3/5] android/bluetooth: Add support for loading LTKs Szymon Janc
2014-03-24 12:36 ` [PATCH v3 4/5] android/bluetooth: Add support for new long term key mgmt event Szymon Janc
2014-03-24 12:36 ` [PATCH v3 5/5] android/bluetooth: Fix handling of BREDR, LE and dual mode devices Szymon Janc
2014-03-24 13:25 ` [PATCH v3 0/5] android: LE device handling improvements Szymon Janc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1395664606-32263-2-git-send-email-szymon.janc@tieto.com \
--to=szymon.janc@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox