summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* monitor/avdtp: Decode AVDTP_RECONFIGUREAndrzej Kaczmarek2015-12-011-0/+32
|
* monitor/avdtp: Decode AVDTP_GET_CONFIGURATIONAndrzej Kaczmarek2015-12-011-0/+25
|
* monitor/avdtp: Decode AVDTP_SET_CONFIGURATIONAndrzej Kaczmarek2015-12-011-0/+37
| | | | | | | | | | | | | | < ACL Data TX: Handle 256 flags 0x00 dlen 18 Channel: 258 len 14 [PSM 25 mode 0] {chan 2} AVDTP: Set Configuration (0x03) Command (0x00) type 0x00 label 5 nosp 0 ACP SEID: 1 INT SEID: 3 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) 00 00 21 15 02 35 ..!..5 > ACL Data RX: Handle 256 flags 0x02 dlen 6 Channel: 66 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Set Configuration (0x03) Response Accept (0x02) type 0x00 label 5 nosp 0
* monitor/avdtp: Decode AVDTP_GET_CAPABILITIESAndrzej Kaczmarek2015-12-011-0/+85
| | | | | | | | | | | | | | | < ACL Data TX: Handle 256 flags 0x00 dlen 7 Channel: 258 len 3 [PSM 25 mode 0] {chan 2} AVDTP: Get Capabilities (0x02) Command (0x00) type 0x00 label 1 nosp 0 ACP SEID: 1 > ACL Data RX: Handle 256 flags 0x02 dlen 20 Channel: 66 len 16 [PSM 25 mode 0] {chan 2} AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 1 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) 00 00 3f ff 02 35 ..?..5 Service Category: Content Protection (0x04) 02 00 ..
* monitor/avdtp: Decode AVDTP_DISCOVERAndrzej Kaczmarek2015-12-011-1/+113
| | | | | | | | | | | | | | | | | | | | | | | | | < ACL Data TX: Handle 256 flags 0x00 dlen 6 Channel: 258 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Discover (0x01) Command (0x00) type 0x00 label 0 nosp 0 > ACL Data RX: Handle 256 flags 0x02 dlen 14 Channel: 66 len 10 [PSM 25 mode 0] {chan 2} AVDTP: Discover (0x01) Response Accept (0x02) type 0x00 label 0 nosp 0 ACP SEID: 1 Media Type: Audio (0x00) SEP Type: SRC (0x01) In use: No ACP SEID: 5 Media Type: Audio (0x00) SEP Type: SRC (0x01) In use: No ACP SEID: 3 Media Type: Audio (0x00) SEP Type: SRC (0x01) In use: No ACP SEID: 2 Media Type: Audio (0x00) SEP Type: SRC (0x01) In use: No
* monitor/avdtp: Add basic decoding of AVDTP signallingAndrzej Kaczmarek2015-12-015-0/+222
| | | | | | | | | | < ACL Data TX: Handle 256 flags 0x00 dlen 6 Channel: 258 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Discover (0x01) Command (0x00) type 0x00 label 0 nosp 0 > ACL Data RX: Handle 256 flags 0x02 dlen 14 Channel: 66 len 10 [PSM 25 mode 0] {chan 2} AVDTP: Discover (0x01) Response Accept (0x02) type 0x00 label 0 nosp 0 04 08 14 08 0c 08 08 08 ........
* monitor/l2cap: Add channel sequence numberAndrzej Kaczmarek2015-12-012-17/+37
| | | | | | | This patch adds sequence number to channels structure which determines order in which channels for the same PSM were created. It will be used for protocols like AVDTP where there is single PSM used for multiple channels and order it which they were created is important.
* agent: Change default IO capability to KeyboardDisplayJohan Hedberg2015-11-252-2/+2
| | | | | | | | The intention of the DisplayYesNo default capability was originally to provide the richest possible option available. However with LE there is a new even more capable option, namely KeyboardDisplay. When applied to BR/EDR connections this gets implicitly downgraded to DisplayYesNo since KeyboardDisplay is LE-specific.
* monitor: Fix possible crash on unknown LE Meta EventSzymon Janc2015-11-241-13/+14
| | | | | | | For unknown LE Meta Event subevent_data passed to print_subevent is NULL. This results in NULL pointer dereference when subeven code is printed. Fix that by making print_subevent expect always valid subevent_data and handle unknown event in caller.
* monitor: Fix use of uninitialized variableSzymon Janc2015-11-241-0/+1
| | | | | subevent code was never set in vendor_evt() resulting in printing random stack data as subevent opcode in print_subevent().
* tools/mgmt-tester: Add power on testcase with adv and privacyAndrzej Kaczmarek2015-11-231-2/+27
| | | | | | | | This test verifies if kernel can properly enable advertising during power on with privacy also enabled. This requires to generate new RPA which will fail if not done after SMP is registered. As a consequence advertising is not enabled in controller which means it cannot be also disabled (controller will reject HCI command).
* core: Fix replying with an error for connected profileLuiz Augusto von Dentz2015-11-232-2/+7
| | | | | If the profile(s) is already connected don't reply with an error, if the profile is in fact connecting already just wait until it completes.
* tools: Add support for Get Advertising Size Information commandMarcel Holtmann2015-11-231-0/+105
|
* lib: Add data structures for Get Advertising Size Information commandMarcel Holtmann2015-11-231-0/+13
|
* doc: Mention the management version 1.11 informationMarcel Holtmann2015-11-231-0/+3
|
* tools/mgmt-tester: Fix minor typoJohan Hedberg2015-11-231-1/+1
|
* tools/mgmt-tester: Simplify command result logJohan Hedberg2015-11-231-3/+2
|
* lib/mgmt: Update string tablesJohan Hedberg2015-11-231-4/+6
|
* tools/mgmt-tester: Take advantage of mgmt string helpersJohan Hedberg2015-11-231-10/+15
|
* build: Link mcaptest with -lrtJohn Keeping2015-11-221-1/+1
| | | | | profiles/health/mcap.c uses clock_gettime(3) so it needs to be linked with -lrt on some systems.
* doc: Fix missing field for Get Advertising Size Information responseMarcel Holtmann2015-11-201-0/+1
|
* monitor: Add missing Intel Startup eventMarcel Holtmann2015-11-191-0/+6
|
* doc: Add description for Add Advertising Size Information commandMarcel Holtmann2015-11-191-1/+40
|
* AUTHORS: Update Szymon, Łukasz and Andrzej emailsSzymon Janc2015-11-181-3/+3
| | | | Szymon, Łukasz and Andrzej are now working for CODECOUP.
* test/test-discovery: Remove dead codeŁukasz Rymanowski2015-11-171-8/+0
| | | | | | PropertyChanged is left over from BlueZ 4.x now it is PropertiesChanged. However in this test it does not make sense to register for this signal as StopDiscovery is never called from this test.
* doc/adapter-api: Use correct signal nameŁukasz Rymanowski2015-11-171-1/+1
|
* emulator/hciemu: Fix return valueGowtham Anandha Babu2015-11-161-2/+2
| | | | | | | | | | | | | | | | make throws out the following errors. emulator/hciemu.c: In function ‘hciemu_get_master_scan_enable’: emulator/hciemu.c:433:3: error: return makes integer from pointer without a cast [-Werror] return NULL; ^ emulator/hciemu.c: In function ‘hciemu_get_master_le_scan_enable’: emulator/hciemu.c:441:3: error: return makes integer from pointer without a cast [-Werror] return NULL; ^ cc1: all warnings being treated as errors Fixed by returning zero.
* tools/mgmt-tester: Wait before checking BR/EDR scan stateJohan Hedberg2015-11-161-4/+7
| | | | | | | Like the LE scan state, recent kernels moved to updating the BR/EDR scan state for Add/Remove Device independent from the mgmt command completion. We should therefore update the corresponding mgmt-tester cases to wait a bit before making a test result conclusion.
* emulator: Add API to get BR/EDR scan_enable valueJohan Hedberg2015-11-164-0/+17
|
* emulator: Return raw LE scan_enable valueJohan Hedberg2015-11-166-9/+9
| | | | | | This is more future proof (in case other values besides 0x00/0x01 are introduced) and consistent with a similar BR/EDR API that will be added soon.
* tools/l2cap-tester: Fix minor coding style issue (line lengths)Johan Hedberg2015-11-161-3/+3
|
* tools/hcidump: Print LDAC vendor codec nameAndrzej Kaczmarek2015-11-161-0/+2
|
* tools/avinfo: Print content protectionAndrzej Kaczmarek2015-11-161-1/+31
|
* tools/avinfo: Add partial support for Sony LDACAndrzej Kaczmarek2015-11-162-0/+20
| | | | | Contents of Vendor Specific Value in codec information is unknown at the moment so only raw value is printed.
* monitor/rfcomm: Fix names formattingAndrzej Kaczmarek2015-11-161-3/+3
|
* monitor/avctp: Fix typosAndrzej Kaczmarek2015-11-141-10/+10
|
* input/hog: Fix not reseting queue to NULL after destroying itLuiz Augusto von Dentz2015-11-131-1/+3
| | | | | This can cause crashes as the data pointed by devices if a new device is probed it would most likely access invalid memory.
* android/README: Fix typoAndrzej Kaczmarek2015-11-131-1/+1
|
* android/README: Update links to BfA on GitHubAndrzej Kaczmarek2015-11-131-11/+11
| | | | | Since code.google.com is now read-only, sample implementation of BfA is moved to GitHub. README is updated with new links.
* input/hog-lib: Print report value handle and typeLuiz Augusto von Dentz2015-11-131-1/+17
| | | | This adds better debug logs when discovering report type.
* input/hog: Make use of hog-libLuiz Augusto von Dentz2015-11-132-910/+60
| | | | | This changes the input plugin to use hog-lib so the same code is used in both D-Bus daemon, Android and unit tests.
* hog: Move code from android to profilesLuiz Augusto von Dentz2015-11-137-6/+7
| | | | | This is a place holder until the code is ported to use shared API so it can be shared by android and D-Bus daemon.
* dis: Move code from android to profilesLuiz Augusto von Dentz2015-11-136-5/+6
| | | | | This is a place holder until the code is ported to use shared API so it can be shared by android and D-Bus daemon.
* scpp: Move code from android to profilesLuiz Augusto von Dentz2015-11-136-5/+6
| | | | | This is a place holder until the code is ported to use shared API so it can be shared by android and D-Bus daemon.
* bas: Move code from android to profilesLuiz Augusto von Dentz2015-11-136-5/+5
| | | | | This is a place holder until the code is ported to use shared API so it can be shared by android and D-Bus daemon.
* android/hog: Port fixes to profiles HoGLuiz Augusto von Dentz2015-11-131-1/+26
| | | | | | | | This align the 2 copies of Hog since the plan is to merge android version back to profiles and just reuse from there. The fix for incomplete discover is modified so the reports are keep while attempting to discover.
* shared/att: Use smaller definesLuiz Augusto von Dentz2015-11-134-12/+12
| | | | | Not every term of the command needs to be part of the define as it make them awful long.
* shared/att: Fix going over 80 columnsLuiz Augusto von Dentz2015-11-131-6/+6
| | | | | This fixes lines that are over 80 columns by renaming op_type to just type so it doesn't turn into multi line either.
* core/device: Fix not responding to ConnectLuiz Augusto von Dentz2015-11-131-1/+1
| | | | | | If profile is removed while its connection is pending it may not respond to Connect method and not cleaning up properly leaving dev->connect set which will prevent any attempt to connect to the device again.
* client: Fix printing selcted device promptJohan Hedberg2015-11-131-0/+2
|