diff options
author | Gowtham Anandha Babu <gowtham.ab@samsung.com> | 2014-11-07 21:13:35 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-11-10 11:01:44 +0200 |
commit | 3d92c0289c41fdf2d1a4975a070323ac0c0048aa (patch) | |
tree | f2b9a457adbc770ba008cedd97b2dab5ebd82848 /monitor/l2cap.h | |
parent | ce4845a4de4362829c85bd7a8c10d65fe712ecd1 (diff) | |
download | bluez-3d92c0289c41fdf2d1a4975a070323ac0c0048aa.tar.gz |
monitor/rfcomm: Add RFCOMM support to btmon
Changes made to add initial code to support RFCOMM frame in btmon
btmon logs:
RFCOMM: Set Async Balance Mode (SABM) (0x2f)
01 1c ..
RFCOMM: Unnumbered Ack (UA)(0x63)
01 d7 ..
RFCOMM: Unnumbered Info with Header Check (UIH)(0xef)
15 81 11 20 e0 27 00 9a 02 00 07 aa ... .'......
RFCOMM: Disconnect (DISC)(0x43)
01 fd
Diffstat (limited to 'monitor/l2cap.h')
-rw-r--r-- | monitor/l2cap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor/l2cap.h b/monitor/l2cap.h index 5faaea610..c14aeeff0 100644 --- a/monitor/l2cap.h +++ b/monitor/l2cap.h @@ -153,3 +153,5 @@ static inline bool l2cap_frame_get_le64(struct l2cap_frame *frame, void l2cap_packet(uint16_t index, bool in, uint16_t handle, uint8_t flags, const void *data, uint16_t size); + +void rfcomm_packet(const struct l2cap_frame *frame); |