public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC BlueZ 1/4] Add Bluetooth address type in sockaddr_l2
@ 2012-04-04 20:16 Claudio Takahasi
  2012-04-04 20:16 ` [RFC BlueZ 2/4] btio: Add address type in bt_io_connect Claudio Takahasi
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Claudio Takahasi @ 2012-04-04 20:16 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Claudio Takahasi

This patch adds the address type information to sockaddr_l2 structure,
allowing the userspace to inform the remote address type required for
LE Create Connection command.
---
 lib/l2cap.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/l2cap.h b/lib/l2cap.h
index 5806aaa..5ce94c4 100644
--- a/lib/l2cap.h
+++ b/lib/l2cap.h
@@ -43,6 +43,7 @@ struct sockaddr_l2 {
 	unsigned short	l2_psm;
 	bdaddr_t	l2_bdaddr;
 	unsigned short	l2_cid;
+	uint8_t		l2_bdaddr_type;
 };
 
 /* L2CAP socket options */
-- 
1.7.8.5


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-05 23:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04 20:16 [RFC BlueZ 1/4] Add Bluetooth address type in sockaddr_l2 Claudio Takahasi
2012-04-04 20:16 ` [RFC BlueZ 2/4] btio: Add address type in bt_io_connect Claudio Takahasi
2012-04-05 10:28   ` Johan Hedberg
2012-04-05 22:38     ` [RFC BlueZ v1 2/7] " Claudio Takahasi
2012-04-04 20:16 ` [RFC BlueZ 3/4] Add address type for BLE bt_io_connect calls Claudio Takahasi
2012-04-05 22:38   ` [RFC BlueZ v1 3/7] " Claudio Takahasi
2012-04-04 20:16 ` [RFC BlueZ 4/4] l2test: Add option to inform the address type Claudio Takahasi
2012-04-05  6:35   ` Andrei Emeltchenko
2012-04-05 22:38     ` [RFC BlueZ v1 7/7] " Claudio Takahasi
2012-04-05 23:17     ` [RFC BlueZ 4/4] " Andre Guedes
2012-04-05 10:30 ` [RFC BlueZ 1/4] Add Bluetooth address type in sockaddr_l2 Johan Hedberg
2012-04-05 22:38   ` [RFC BlueZ v1 1/7] " Claudio Takahasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox