OSDN Git Service

hcidump: Fix HCI LE advertising report dump
authorAndre Dieb Martins <andre.dieb@signove.com>
Mon, 28 Feb 2011 03:58:22 +0000 (00:58 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 17 Dec 2012 22:53:02 +0000 (23:53 +0100)
commit22974ec9ef2a90a869b5b5f59c0c008d283e71bf
treefb473507a1815073d4e92b819df72706620e8e89
parent10fb9d6a17dedde75be8fffc17e32e22057fb2d6
hcidump: Fix HCI LE advertising report dump

LE advertising report event has only one data block for each report.
Thus, we can't reuse ext_inquiry_response_dump(), which loops over
successive data blocks until reaches a zero-length one.

This commit introduces ext_inquiry_data_dump(), which dumps a frame
containing data formatted according to [Vol 3] Part C, Section 8. This
function is reused by ext_inquiry_response_dump().

Also adds RSSI parsing to each advertising report.
tools/parser/hci.c