Commit: 4ebdfcce8c6137e45ad717a99fd3a3211cf27792
Parent: 2f371db645a69423e4afd398987bfff395567073
Author: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-11-10 11:01:44
Tree: af4d3531ce158976453c9d0e7d78daeebc8a804d

monitor/rfcomm: Add support for UIH frame decoding Changes made to decode UIH frame in btmon. In below UIH frame, MCC frame is present, so no credits field is printed. RFCOMM: Unnumbered Info with Header Check (UIH)(0xef) Address: 0x01 cr 0 dlci 0x00 Control: 0xef poll/final 0 Length: 10 FCS: 0xaa 81 11 20 e0 27 00 9a 02 00 07 aa .. .'...... In this UIH frame, no MCC frame, so credits field is printed. RFCOMM: Unnumbered Info with Header Check (UIH)(0xef) Address: 0x81 cr 0 dlci 0x20 Control: 0xff poll/final 1 Length: 0 FCS: 0x1e Credits : 33

Diffstat

M monitor/rfcomm.c | 30 ++++++++++++++++++++++++++++- -

1 files changed, 28 insertions(+), 2 deletions(-)

View Full Diff | Patch