diff options
author | Gowtham Anandha Babu <gowtham.ab@samsung.com> | 2015-04-02 17:02:05 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-04-10 17:19:57 +0300 |
commit | 639fa90c07fb99bb7b614d003079c6d7c5699e8c (patch) | |
tree | 5e8d25b8dbf0c454178433a038c94b9e9d8f915e /monitor/l2cap.c | |
parent | 44dbeb329b47612f6236b9184ca9c78b24b064a0 (diff) | |
download | bluez-639fa90c07fb99bb7b614d003079c6d7c5699e8c.tar.gz |
monitor: Add initial support for BNEP
> ACL Data RX: Handle 71 flags 0x02 dlen 11
Channel: 64 len 7 [PSM 15 mode 0] {chan 0}
BNEP: Control (0x01|0)
01 02 11 16 11 15 ......
> ACL Data RX: Handle 71 flags 0x01 dlen 35
Channel: 64 len 1532 [PSM 15 mode 0] {chan 0}
BNEP: General Ethernet (0x00|1)
00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 0f ................
05 00 0c 03 00 00 20 00 00 03 00 00 20 00 00 3c ...... ..... ..<
> ACL Data RX: Handle 71 flags 0x01 dlen 12
Channel: 64 len 1509 [PSM 15 mode 0] {chan 0}
BNEP: Compressed Ethernet Dest Only (0x04|0)
00 00 00 00 00 00 08 00 3c 3b 3a 39 38 37 36 35 ........<;:98765
34 33 32 31 30 2f 2e 2d 2c 2b 2a 29 28 27 26 25 43210/.-,+*)('&%
Diffstat (limited to 'monitor/l2cap.c')
-rw-r--r-- | monitor/l2cap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/monitor/l2cap.c b/monitor/l2cap.c index 5faa26fdf..fc565b143 100644 --- a/monitor/l2cap.c +++ b/monitor/l2cap.c @@ -43,6 +43,7 @@ #include "sdp.h" #include "avctp.h" #include "rfcomm.h" +#include "bnep.h" /* L2CAP Control Field bit masks */ #define L2CAP_CTRL_SAR_MASK 0xC000 @@ -2951,6 +2952,9 @@ static void l2cap_frame(uint16_t index, bool in, uint16_t handle, case 0x0003: rfcomm_packet(&frame); break; + case 0x000f: + bnep_packet(&frame); + break; case 0x001f: att_packet(index, in, handle, cid, data, size); break; |