summaryrefslogtreecommitdiff
path: root/tools/avinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* tools: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-291-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* avinfo: Fix parsing capabilitiesPali Rohár2019-01-311-1/+1
| | | | | | Function print_caps() expects capabilities buffer without AVDTP header. Previously avinfo somehow worked, because AVDTP header looks like capability header with unknown category which was skipped.
* avinfo: Dump unknown codecs and unknown categoriesPali Rohár2019-01-311-1/+14
|
* a2dp-codecs & avinfo: Simplify defintions and parsing of aptX familyPali Rohár2019-01-311-38/+15
| | | | | Reuse whole a2dp_aptx_t structure and defines as they are same for aptX Low Latency and aptX HD.
* avinfo: Parse new A2DP codecsPali Rohár2018-12-281-2/+144
| | | | | Parse information about additional A2DP codecs: FastStream, aptX Low Latency, aptX HD and LDAC.
* a2dp-codecs: Properly define macros and struct for LDAC codecPali Rohár2018-12-281-2/+2
|
* a2dp-codecs: Define a2dp_vendor_codec_t struct in endian neutral wayPali Rohár2018-12-281-2/+2
| | | | | | And define new macros A2DP_GET_VENDOR_ID(), A2DP_GET_CODEC_ID() and A2DP_SET_VENDOR_ID_CODEC_ID() for easily filling a2dp_vendor_codec_t struct.
* a2dp-codecs & avinfo: Fix parsing MPEG bit rate valuesPali Rohár2018-12-281-34/+101
| | | | | | | | | | | | | | | | Redefine bitrate field in a2dp_mpeg_t struct in endian neutral way and separate vbr field according to A2DP specification. Define new macros MPEG_GET_BITRATE() and MPEG_SET_BITRATE() for manipulating with bitrate like for a2dp_aac_t struct. And fix meaning of bitrate field. According to A2DP specification, it is bitrate index, not bitrate itself. According to MPEG specification, each MPEG layer have different bitrates for bitrate indexes. Therefore define correctly bitrates for Layers 1, 2 and 3. This fixes problems with parsing bitrate field in a2dp_mpeg_t struct as it was broken due to endianity and it was broken for Layer 1 and 2 as bitrate definitions was for Layer 3.
* avinfo: Show Vendor Specific DataPali Rohár2018-12-281-1/+7
|
* avinfo: Fix buffer overflow when parsing broken/malicious dataPali Rohár2018-12-281-20/+71
| | | | Check size of buffer prior casting it to struct.
* tools/avinfo: Print content protectionAndrzej Kaczmarek2015-11-161-1/+31
|
* tools/avinfo: Add partial support for Sony LDACAndrzej Kaczmarek2015-11-161-0/+12
| | | | | Contents of Vendor Specific Value in codec information is unknown at the moment so only raw value is printed.
* tools: Use local libbluetooth includesMarcel Holtmann2015-02-281-5/+5
|
* tools: Fix resource leak closing skAndrei Emeltchenko2014-08-111-0/+2
|
* tools/avinfo: Decode aptX codec capabilitiesAndrzej Kaczmarek2014-05-271-3/+31
|
* tools/avinfo: Decode MPEG-2,4 AAC codec capabilitiesAndrzej Kaczmarek2014-05-271-2/+50
|
* audio: Fix a2dp_vendor_codec_t declarationAndrzej Kaczmarek2014-05-271-5/+3
| | | | | | | As per A2DP spec, both Vendor ID (4.7.2.1) and Codec ID (4.7.2.2) are defined as 32-bit and 16-bit values respectively rather that array of bytes. Also changing to uint types will make using these values in code much easier.
* tools: Print codec name for MPEG24 capability typeMarcel Holtmann2014-05-131-0/+7
|
* Revert "Ensure config.h is included by using CPPFLAGS"Johan Hedberg2012-12-071-0/+4
| | | | | | | | | | | | | | This reverts commit 8a03376544b046a84301847d1594f6c3674983ff. The patch needs to be split up and the gdbus/ changes were bogus compared to the original commit message. Conflicts: Makefile.am Makefile.obexd profiles/cyclingspeed/cyclingspeed.c profiles/heartrate/heartrate.c src/error.c
* Ensure config.h is included by using CPPFLAGSLucas De Marchi2012-12-051-4/+0
| | | | | | | | | | Instead of trying to include config.h in each file over the tree and possibly forgetting to include it, give a "-include config.h" argument to the compiler so it's guaranteed that a) it will be included for all source files and b) it will be the first header included. gdbus/ directory is left out, since it would break other projects using it.
* build: Remove stupid -I directivesMarcel Holtmann2012-11-201-1/+1
|
* avinfo: Print a2dp vendor codec infoChan-yeol Park2012-10-091-0/+15
|
* avinfo: Replace definitions with a2dp-codecs.h'sChan-yeol Park2012-10-091-107/+6
|
* Fix empty parameter list in functions declarationsSzymon Janc2011-05-181-1/+1
|
* Update Nokia copyrightsJohan Hedberg2010-01-071-1/+1
|
* Update copyright informationMarcel Holtmann2010-01-011-1/+1
|
* Make use of size_t and ssize_t when possibleJohan Hedberg2009-03-121-11/+12
|
* Fix mostly every warning caused by -Wsign-compareMarcel Holtmann2009-01-291-2/+2
|
* Update copyright informationMarcel Holtmann2009-01-011-1/+1
|
* Make local functions staticMarcel Holtmann2008-12-231-2/+2
|
* Add -i option to avinfo.Luiz Augusto von Dentz2008-09-081-11/+22
|
* Fix typos and coding styleMarcel Holtmann2008-04-151-24/+22
|
* Print mpeg sep information.Luiz Augusto von Dentz2008-04-071-1/+94
|
* Introduce avinfo tool.Luiz Augusto von Dentz2008-04-011-0/+569