summaryrefslogtreecommitdiff
path: root/tools/parser
Commit message (Collapse)AuthorAgeFilesLines
* tools: Inclusive language changesArchie Pusaka2021-09-217-94/+100
| | | | | | | | | | BT core spec 5.3 promotes the usage of inclusive languages. This CL replaces some terms with the more appropriate counterparts, such as "central", "peripheral", "accept list", "reject list", and "temporary link key". Note that some suggestions come from https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
* tools: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-2928-392/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 97 LGPL-2.1-or-later : 38 GPL-2.0-only : 2 License: GPL-2.0-or-later tools/l2cap-tester.c tools/hcisecfilter.c tools/ciptool.c tools/btsnoop.c tools/check-selftest.c tools/btpclientctl.c tools/hci-tester.c tools/hcitool.c tools/btiotest.c tools/oobtest.c tools/btinfo.c tools/hwdb.c tools/hciattach_bcm43xx.c tools/mgmt-tester.c tools/hex2hcd.c tools/hciattach_st.c tools/smp-tester.c tools/bluetooth-player.c tools/hciattach_tialt.c tools/gap-tester.c tools/bluemoon.c tools/bneptest.c tools/gatt-service.c tools/rctest.c tools/rfcomm-tester.c tools/hcieventmask.c tools/hciattach_ti.c tools/seq2bseq.c tools/scotest.c tools/bcmfw.c tools/hciconfig.c tools/btattach.c tools/l2ping.c tools/obexctl.c tools/l2test.c tools/hciattach_intel.c tools/hciattach.h tools/create-image.c tools/bnep-tester.c tools/userchan-tester.c tools/rfcomm.c tools/btmon-logger.c tools/hcidump.c tools/rtlfw.c tools/hciattach_qualcomm.c tools/btproxy.c tools/nokfw.c tools/hciattach_ath3k.c tools/3dsp.c tools/bdaddr.c tools/sco-tester.c tools/hciattach.c tools/amptest.c tools/btgatt-server.c tools/btgatt-client.c tools/cltest.c tools/ibeacon.c tools/mcaptest.c tools/hid2hci.c tools/btmgmt.c tools/advtest.c tools/eddystone.c tools/avtest.c tools/mpris-proxy.c tools/avinfo.c tools/sdptool.c tools/btconfig.c tools/update_compids.sh tools/parser/parser.h tools/parser/obex.c tools/parser/amp.c tools/parser/sdp.c tools/parser/tcpip.c tools/parser/sap.c tools/parser/cmtp.c tools/parser/avctp.c tools/parser/lmp.c tools/parser/ppp.c tools/parser/rfcomm.h tools/parser/hci.c tools/parser/sdp.h tools/parser/parser.c tools/parser/rfcomm.c tools/parser/avdtp.c tools/parser/avrcp.c tools/parser/ericsson.c tools/parser/hcrp.c tools/parser/bpa.c tools/parser/hidp.c tools/parser/bnep.c tools/parser/capi.c tools/parser/att.c tools/parser/l2cap.c tools/parser/smp.c tools/parser/csr.c tools/parser/l2cap.h tools/parse_companies.pl License: LGPL-2.1-or-later tools/test-runner.c tools/btpclient.c tools/meshctl.c tools/mesh-cfgclient.c tools/mesh/model.h tools/mesh/util.h tools/mesh/config-model.h tools/mesh/cfgcli.h tools/mesh/mesh-db.c tools/mesh/mesh-db.h tools/mesh/keys.c tools/mesh/util.c tools/mesh/agent.h tools/mesh/remote.c tools/mesh/keys.h tools/mesh/agent.c tools/mesh/cfgcli.c tools/mesh/remote.h tools/mesh-gatt/prov.c tools/mesh-gatt/util.h tools/mesh-gatt/prov.h tools/mesh-gatt/net.c tools/mesh-gatt/util.c tools/mesh-gatt/prov-db.h tools/mesh-gatt/crypto.c tools/mesh-gatt/crypto.h tools/mesh-gatt/gatt.c tools/mesh-gatt/config-server.c tools/mesh-gatt/keys.h tools/mesh-gatt/onoff-model.c tools/mesh-gatt/net.h tools/mesh-gatt/gatt.h tools/mesh-gatt/node.c tools/mesh-gatt/config-client.c tools/mesh-gatt/mesh-net.h tools/mesh-gatt/node.h tools/mesh-gatt/onoff-model.h tools/mesh-gatt/prov-db.c License: GPL-2.0-only tools/obex-server-tool.c tools/obex-client-tool.c
* build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann2018-12-0624-0/+24
|
* hcidump: Fix set_ext_ctrl() global buffer overflowCho, Yu-Chen2018-11-021-1/+1
| | | | Fix set_ext_ctrl() global buffer overflow.
* hcidump:fixed hci frame dump stack-buffer-overflowCho, Yu-Chen2018-11-021-0/+3
| | | | | hci_dump() didn't check the length of frame, and it would be a stack-buffer-overflow error.
* tools: Add missing break statementsMarcel Holtmann2017-07-111-0/+2
|
* tools/hcidump: Print LDAC vendor codec nameAndrzej Kaczmarek2015-11-161-0/+2
|
* tools: Add p_ prefix to parser field helper functionsMarcel Holtmann2015-10-1820-390/+390
|
* parser/hci: Fix ERROR CODES as per core_v4.2Gowtham Anandha Babu2015-01-121-3/+3
| | | | Modified the error codes as per core V4.2, Vol 2, Part D.
* parser/rfcomm: Add support for decoding Test commandGowtham Anandha Babu2014-12-191-1/+11
| | | | | | | < ACL data: handle 75 flags 0x00 dlen 14 L2CAP(d): cid 0x0040 len 10 [psm 3] RFCOMM(s): TEST RSP: cr 0 dlci 0 pf 0 ilen 6 fcs 0xaa mcc_len 4 Test data: 0x 5f 54 65 73
* tools: List all enum values in switchSzymon Janc2014-12-081-0/+15
| | | | As described in coding style M10.
* tools: Fix memory leakAndrei Emeltchenko2014-08-041-3/+16
| | | | lmpver and hciver are allocated through malloc and need to be freed.
* tools/hcidump: Decode MPEG-1,2 Audio codec capabilitiesAndrzej Kaczmarek2014-05-281-0/+58
|
* tools/hcidump: Decode aptX codec capabilitiesAndrzej Kaczmarek2014-05-271-3/+47
|
* tools/hcidump: Decode MPEG-2,4 AAC codec capabilitiesAndrzej Kaczmarek2014-05-271-1/+56
|
* tools: Use unaligned access macros from util.hClaudio Takahasi2014-03-254-6/+5
|
* Replace bt_get_le64() by get_le64()Claudio Takahasi2014-03-211-1/+1
|
* Replace bt_get_le32() by get_le32()Claudio Takahasi2014-03-211-1/+1
|
* Replace bt_get_le16() by get_le16()Claudio Takahasi2014-03-212-11/+13
|
* hcidump: Fix missing breakAndrei Emeltchenko2014-01-091-0/+4
|
* tools/hcidump: Fix parsing for service class 0x110fLuiz Augusto von Dentz2013-10-092-4/+2
| | | | According to assigned number 0x110f is AV Remote Controller not VCP.
* tools/hcidump: Fix parsing of Search PDULuiz Augusto von Dentz2013-06-131-5/+6
|
* tools: Fix printing of PlayItem pdu in hcidumpLuiz Augusto von Dentz2013-05-141-1/+1
|
* tools: Fix parsing of PlayItem pdu in hcidumpLuiz Augusto von Dentz2013-04-261-1/+1
|
* tools: Fix avrcp_media_element_item_dump to print elements properlyLuiz Augusto von Dentz2013-04-241-0/+2
|
* tools: Fix AVRCP parsing of GetFolderItems for folders and itemsLuiz Augusto von Dentz2013-04-191-8/+8
| | | | Length of name is 2 bytes not 1
* tools: Fix AVRCP parsing of GetFolderItems for media playersLuiz Augusto von Dentz2013-03-061-4/+4
| | | | Length of name is 2 bytes not 1
* tools: Add support for UIDs changed event to AVRCP parserLuiz Augusto von Dentz2013-02-271-0/+4
|
* tools: Add support for registering external playerLuiz Augusto von Dentz2013-02-221-1/+1
| | | | This adds --external/-e to register remote players found as local player
* tools: Fix hcidump parser of AVRCP for SetBrowsedPlayer commandLuiz Augusto von Dentz2013-02-221-1/+1
|
* tools: Fix hcidump parser of AVRCP GetItemAttributes commandLuiz Augusto von Dentz2013-02-141-4/+4
|
* tools: Fix hcidump parser of AVRCP media attributesLuiz Augusto von Dentz2013-02-141-2/+2
|
* tools: Print UID of track changed eventLuiz Augusto von Dentz2013-02-141-2/+1
| | | | | Before 1.4 this was considered reserved but now it is being used for UID of the current track.
* hcidump: Fix parsing of SetBrowsedPlayerLuiz Augusto von Dentz2013-01-311-4/+4
|
* hcidump: Fix parsing of GetCurrentPlayerApplicationSettingValueLuiz Augusto von Dentz2013-01-311-1/+1
|
* hcidump: Distinct Control and Browsing AVCTP channelsLuiz Augusto von Dentz2013-01-311-1/+2
| | | | This prints the respective channel of the trafic
* hcidump: Fix compilation errors due to unaligned memory accessSzymon Janc2012-12-182-16/+13
| | | | | | | | | | | | | | Use bt_get_le* helper functions to access unaligned memory. This fix number of compilation errors on ARM similar to: CC tools/parser/hci.o tools/parser/hci.c: In function ‘ext_inquiry_data_dump’: tools/parser/hci.c:797:10 error: cast increases required alignment of target type [-Werror=cast-align] tools/parser/hci.c:797:10: error: cast increases required alignment of target type [-Werror=cast-align] cc1: all warnings being treated as errors make[1]: *** [tools/parser/hci.o] Error 1
* hcidump: Add private header for L2CAP structuresMarcel Holtmann2012-12-182-1/+273
|
* hcidump: Add missing declaration of amp_assoc_dumpMarcel Holtmann2012-12-171-0/+2
|
* hcidump: Print all HCI_LE_Create_Connection parametersJohan Hedberg2012-12-171-0/+11
|
* hcidump: Decode Read Data Block Size HCI cmdAndrei Emeltchenko2012-12-171-1/+23
| | | | | | | | | | Decode Read Data Block Size HCI command and command status. < HCI Command: Read Data Block Size (0x04|0x000a) plen 0 > HCI Event: Command Complete (0x0e) plen 10 Read Data Block Size (0x04|0x000a) ncmd 1 status 0x00 Max ACL 1492 Block len 1492 Num blocks 4
* hcidump: Decode Num Completed Data BlocksAndrei Emeltchenko2012-12-171-0/+22
| | | | | | | | Adds decoding Number Of Completed Data Blocks Event > HCI Event: Number Of Completed Data Blocks (0x48) plen 9 Total num blocks 4 Num handles 1 Handle 0x0001: Num complt pkts 1 Num complt blks 1
* hcidump: Add parsing for GeneralReject PDULuiz Augusto von Dentz2012-12-171-0/+25
|
* hcidump: Add parsing for AddToNowPlaying PDULuiz Augusto von Dentz2012-12-171-0/+41
|
* hcidump: Add parsing for Search PDULuiz Augusto von Dentz2012-12-171-0/+57
|
* hcidump: Add parsing for PlayItem PDULuiz Augusto von Dentz2012-12-171-16/+57
|
* hcidump: Add parsing for GetItemAttributes PDULuiz Augusto von Dentz2012-12-171-28/+101
|
* hcidump: Add parsing for ChangePath PDULuiz Augusto von Dentz2012-12-171-0/+62
|
* hcidump: Add parsing for GetFolderItems PDULuiz Augusto von Dentz2012-12-171-0/+389
|
* hcidump: Fix parsing SetBrowsedPlayer as AV/C pduLuiz Augusto von Dentz2012-12-173-11/+11
| | | | | | | | As per AVRCP specification 1.4 page 32 the command type of SetBrowsedPlayer is Browsing, so move it to browsing channel. In addition to that pass the avctp header to avrcp_dump as it is required to identify if the frame is a command or response.