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/bnep.h | |
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/bnep.h')
-rw-r--r-- | monitor/bnep.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/monitor/bnep.h b/monitor/bnep.h new file mode 100644 index 000000000..38340d6c1 --- /dev/null +++ b/monitor/bnep.h @@ -0,0 +1,25 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2011-2014 Intel Corporation + * Copyright (C) 2002-2010 Marcel Holtmann <marcel@holtmann.org> + * + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +void bnep_packet(const struct l2cap_frame *frame); |