linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/5] Bluetooth LE 6LoWPAN using CoC
@ 2014-06-02 15:00 Jukka Rissanen
  2014-06-02 15:00 ` [PATCH v5 1/5] Bluetooth: Refactor l2cap_sock_sendmsg() to copy user buffer Jukka Rissanen
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jukka Rissanen @ 2014-06-02 15:00 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

v5:
- memory buffer made const in patch 1
- misc changes and refactoring in patch 2

v4:
- renamed l2cap_from_skbuf() to more logical l2cap_copy_into_skbuff()
  in l2cap_core.c (patch 1)
- fixed the module usage count code in patch 4

Usage:

In the slave side do this:

$ modprobe bluetooth_6lowpan
$ echo 62 > /sys/kernel/debug/bluetooth/6lowpan_psm
$ hciconfig hci0 leadv

In the master side do this:

$ modprobe bluetooth_6lowpan
$ echo 62 > /sys/kernel/debug/bluetooth/6lowpan_psm
$ echo 'connect E0:06:E6:B7:2A:73 1' > \
                  /sys/kernel/debug/bluetooth/6lowpan_control


Cheers,
Jukka


Jukka Rissanen (5):
  Bluetooth: Refactor l2cap_sock_sendmsg() to copy user buffer
  Bluetooth: 6LoWPAN: Use connected oriented channel instead of fixed
    one
  Bluetooth: 6LoWPAN: Create a kernel module
  Bluetooth: 6LoWPAN: Count module usage
  Bluetooth: 6LoWPAN: Remove network devices when unloading

 include/net/bluetooth/hci.h      |   1 -
 include/net/bluetooth/hci_core.h |   1 -
 include/net/bluetooth/l2cap.h    |   5 +-
 net/bluetooth/6lowpan.c          | 845 +++++++++++++++++++++++++++++----------
 net/bluetooth/6lowpan.h          |  47 ---
 net/bluetooth/Kconfig            |   6 +-
 net/bluetooth/Makefile           |   4 +-
 net/bluetooth/a2mp.c             |  12 +-
 net/bluetooth/hci_core.c         |  45 ---
 net/bluetooth/hci_event.c        |   3 -
 net/bluetooth/l2cap_core.c       | 101 ++---
 net/bluetooth/l2cap_sock.c       |  14 +-
 12 files changed, 716 insertions(+), 368 deletions(-)
 delete mode 100644 net/bluetooth/6lowpan.h

-- 
1.8.3.1


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

end of thread, other threads:[~2014-06-03  4:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-02 15:00 [PATCH v5 0/5] Bluetooth LE 6LoWPAN using CoC Jukka Rissanen
2014-06-02 15:00 ` [PATCH v5 1/5] Bluetooth: Refactor l2cap_sock_sendmsg() to copy user buffer Jukka Rissanen
2014-06-03  3:49   ` Marcel Holtmann
2014-06-02 15:00 ` [PATCH v5 2/5] Bluetooth: 6LoWPAN: Use connected oriented channel instead of fixed one Jukka Rissanen
2014-06-03  3:55   ` Marcel Holtmann
2014-06-02 15:00 ` [PATCH v5 3/5] Bluetooth: 6LoWPAN: Create a kernel module Jukka Rissanen
2014-06-03  3:57   ` Marcel Holtmann
2014-06-02 15:00 ` [PATCH v5 4/5] Bluetooth: 6LoWPAN: Count module usage Jukka Rissanen
2014-06-02 15:00 ` [PATCH v5 5/5] Bluetooth: 6LoWPAN: Remove network devices when unloading Jukka Rissanen
2014-06-03  4:00   ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).