summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-17hcidump: Change includes to use local copy of Bluetooth libraryMarcel Holtmann23-85/+14
2012-12-17hcidump: Fix whitespace in l2cap.cJohan Hedberg1-3/+3
2012-12-17hcidump: Fix L2CAP cid matchingPeter Hurley1-19/+23
If multiple ACL connections are using identical cid values, the L2CAP parser will match the first avail cid found in the cid table. This error often leads to incorrect psm determination, and thus incorrect parsing of higher-layer frames. When searching the cid table, a matching cid value must match by ACL handle as well.
2012-12-17hcidump: Add support for parsing SRM headersSyam Sidhardhan1-0/+4
2012-12-17hcidump: Fix response for GetCurrentPlayerApplicationSettingValueLucas De Marchi1-6/+1
According to AVRCP spec there's no player id in response.
2012-12-17hcidump: Add parsing for AVRCP RegisterNotification PDULuiz Augusto von Dentz1-0/+101
2012-12-17hcidump: Add parsing for AVRCP GetPlayStatus PDULuiz Augusto von Dentz1-0/+62
2012-12-17hcidump: Add parsing for AVRCP GetElementAttributes PDULuiz Augusto von Dentz1-0/+114
2012-12-17hcidump: Add parsing for AVRCP InformBatteryStatusOfCT PDULuiz Augusto von Dentz1-0/+35
2012-12-17hcidump: Add parsing for AVRCP InformDisplayableCharacterSet PDULuiz Augusto von Dentz1-0/+33
2012-12-17hcidump: Add parsing for AVRCP GetPlayerApplicationSettingValueText PDULuiz Augusto von Dentz1-0/+76
2012-12-17hcidump: Add parsing for AVRCP GetPlayerApplicationSettingAttributeText PDULuiz Augusto von Dentz1-0/+100
2012-12-17hcidump: Add parsing for AVRCP SetPlayerApplicationSettingValue PDULuiz Augusto von Dentz1-0/+38
2012-12-17hcidump: Add parsing for AVRCP GetCurrentPlayerApplicationSettingValue PDULuiz Augusto von Dentz1-0/+59
2012-12-17hcidump: Add parsing for AVRCP ListPlayerApplicationSettingValues PDULuiz Augusto von Dentz1-0/+94
2012-12-17hcidump: Add parsing for AVRCP ListPlayerApplicationSettingAttributes PDULuiz Augusto von Dentz1-0/+51
2012-12-17hcidump: Add parsing for command type rejected AVRCP responsesLuiz Augusto von Dentz1-0/+97
2012-12-17hcidump: Don't parse response AVRCP PDU if ctype is NOT_IMPLETEDLuiz Augusto von Dentz1-0/+6
2012-12-17hcidump: Decode extended flow spec optionAndrei Emeltchenko1-8/+44
Decode EFS option in L2CAP configuration packets
2012-12-17hcidump: Add parsing of L2CAP Info responseAndrei Emeltchenko1-14/+25
Adds parsing L2CAP extended feature mask. before: hcidump -r /tmp/info-rsp.cap HCI sniffer - Bluetooth packet analyzer ver 2.1 btsnoop version: 1 datalink type: 1002 > ACL data: handle 11 flags 0x02 dlen 16 L2CAP(s): Info rsp: type 2 result 0 Extended feature mask 0x00b8 after: src/hcidump -r /tmp/info-rsp.cap HCI sniffer - Bluetooth packet analyzer ver 2.1 btsnoop version: 1 datalink type: 1002 > ACL data: handle 11 flags 0x02 dlen 16 L2CAP(s): Info rsp: type 2 result 0 Extended feature mask 0x00b8 Enhanced Retransmission mode Streaming mode FCS Option Fixed Channels
2012-12-17hcidump: Add parsing for AVRCP GetCapabilitiesLuiz Augusto von Dentz1-1/+123
2012-12-17hcidump: Add check to verify AVRCP pdu length matches frame lengthLuiz Augusto von Dentz1-0/+5
2012-12-17hcidump: Add basic parsing support for AVRCP PDULuiz Augusto von Dentz1-1/+109
2012-12-17hcidump: Add basic AVRCP parsingLuiz Augusto von Dentz3-1/+266
This add support for AV/C Panel passthrough headers
2012-12-17hcidump: Add basic AVCTP parsingLuiz Augusto von Dentz1-2/+27
2012-12-17hcidump: Add support for OBEX Action commandLuiz Augusto von Dentz1-1/+7
Add support for parsing OBEX Action command and related headers.
2012-12-17hcidump: Add missing error code descriptions from Core spec. 4.0Johan Hedberg1-1/+8
2012-12-17hcidump: Fix gcc 4.6 compiler warningsJohan Hedberg6-9/+22
2012-12-17hcidump: Add basic parsing for SMPLuiz Augusto von Dentz4-0/+347
2012-12-17hcidump: Fix infinite loop in read by group response parsingJohan Hedberg1-0/+1
2012-12-17hcidump: Add ATT parsing for the ATT fixed CIDJohan Hedberg1-0/+5
2012-12-17hcidump: use correct size to copy 'direction' valueIain Hibbert1-1/+3
frm.in is stored as an uint8_t, so we cannot copy an int there directly. use an intermediate variable so that it also works on big-endian systems.
2012-12-17hcidump: Add parsing for ATT Execute Write commandAndre Dieb Martins1-0/+16
BT's Core V4.0 document is buggy regarding Execute Write Response, so we'll leave it out until a proper description is given.
2012-12-17hcidump: Add parsing for ATT Prepare WriteAndre Dieb Martins1-0/+20
2012-12-17hcidump: Fix handle formatting for ATT Handle NotifyAndre Dieb Martins1-1/+1
2012-12-17hcidump: Add parsing for ATT Signed WriteAndre Dieb Martins1-0/+22
2012-12-17hcidump: Add parsing for ATT Write CommandAndre Dieb Martins1-0/+1
2012-12-17hcidump: Add parsing for ATT Write RequestAndre Dieb Martins1-0/+15
Note we do not need extra parsing for ATT Write Response as it only has one field (opcode).
2012-12-17hcidump: Minor coding style fixes to ATT parser codeJohan Hedberg1-8/+4
2012-12-17hcidump: Add parsing for Read MultipleAndre Dieb Martins1-0/+28
2012-12-17hcidump: Add parsing for ATT Read By GroupAndre Dieb Martins1-2/+28
Additionally, fix Read By Type printf formatting for handles.
2012-12-17hcidump: Add parsing for ATT Read BlobAndre Dieb Martins1-0/+26
2012-12-17hcidump: Add parsing for ATT Find By TypeAndre Dieb Martins1-0/+35
2012-12-17hcidump: Fix compilation against latest BlueZAnderson Lizardo1-16/+0
BlueZ now has ntoh64()/hton64() functions in bluetooth.h, therefore the hcidump local copy is not necessary.
2012-12-17hcidump: Fix HCI LE advertising report dumpAndre Dieb Martins1-62/+84
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.
2012-12-17hcidump: Add check for ACL_START_NO_FLUSHDaniel Orstadius1-1/+1
In addition to ACL_START, hcidump should check for the flag ACL_START_NO_FLUSH to indicate the start of a frame. Using '==' instead of '&' for the comparison since ACL_START_NO_FLUSH is defined to zero. The flag was introduced in BlueZ commit 2430512c983cad8c20252f1df8f297399993ca3d
2012-12-17hcidump: Add ATT read by type req/resp dumpAndre Dieb Martins1-0/+54
2012-12-17hcidump: Add ATT dump for read req/respAndre Dieb Martins1-0/+14
2012-12-17hcidump: Add ATT find info req/resp dumpAndre Dieb Martins1-3/+113
Adds dumping for ATT's Find Info Request and Response. Also adds a simple name resolving for GATT common uuids (listed on Assigned Numbers).
2012-12-17hcidump: Add ATT error pdu dumpAndre Dieb Martins1-0/+80