diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-10-05 11:47:47 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-10-08 10:51:13 +0300 |
commit | 78b3106989dd57a30906b9a00940f74a1df609dc (patch) | |
tree | f580a2eba453a3859ed0719b26e6fc26736c9ab4 /monitor/l2cap.h | |
parent | 0aabe64aafca212ae9067f6a02705befc5c1bc26 (diff) | |
download | bluez-78b3106989dd57a30906b9a00940f74a1df609dc.tar.gz |
monitor: Add support for user input/output data
This detects if the user logging is an input/output and then proceed to
decode the header which inform for which CID and PSM the data is for.
Diffstat (limited to 'monitor/l2cap.h')
-rw-r--r-- | monitor/l2cap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor/l2cap.h b/monitor/l2cap.h index 813c7932a..07864caee 100644 --- a/monitor/l2cap.h +++ b/monitor/l2cap.h @@ -170,6 +170,9 @@ static inline bool l2cap_frame_get_be128(struct l2cap_frame *frame, return true; } +void l2cap_frame(uint16_t index, bool in, uint16_t handle, uint16_t cid, + uint16_t psm, const void *data, uint16_t size); + void l2cap_packet(uint16_t index, bool in, uint16_t handle, uint8_t flags, const void *data, uint16_t size); |