| 849648b8 |
tools: Fix hcidump parser of AVRCP media attributes |
Luiz Augusto von Dentz |
12 years ago |
1 file, +2, -2 |
| d60a09d6 |
tools: Print UID of track changed event
Before 1.4 this was considered reserved but now it is being used for
UID of the current track. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -2 |
| af28ffb2 |
gdbus: Fix missing PropertiesChanged signal
If D-Bus ObjectManager is not supported, InterfacesAdded signal
checking needs to be ignored otherwise PropertiesChanged signal
will never be sent. |
Vinicius Costa Gomes |
12 years ago |
1 file, +5, -2 |
| c1ebdbef |
tools: Track transport state if player status is not supported
This makes PlayPause method to work properly even if remote device
supports only AVRCP 1.0. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +48, -25 |
| 18fed70a |
doc: Add missing device RSSI property
RSSI property was not documented in device API. |
Szymon Janc |
12 years ago |
1 file, +5, -0 |
| 47fc3389 |
doc: Remove CancelConnect function from device API
This method is not implemented and Disconnect can be used instead. |
Szymon Janc |
12 years ago |
1 file, +3, -5 |
| 8eafe2e8 |
doc: Fix device disconnect description
Document what Disconnect() function actually does. |
Szymon Janc |
12 years ago |
1 file, +6, -4 |
| 35d4c4fb |
doc: Clarify device connect description
Describe behaviour when some profiles are already connected. Clarify
that it returns success if at least one profile was connected. |
Szymon Janc |
12 years ago |
1 file, +6, -1 |
| df1c61b8 |
transport: Fix inconsistent transport state
If a2dp_resume() fails, the transport state should not be modified. It
would otherwise enter an incosistent state where the transport will be
impossible to resume, since acquire() will see the transport in
TRANSPORT_STATE_REQUESTING state and will thus return
btd_error_not_authorized(). |
Mikel Astiz |
12 years ago |
1 file, +11, -3 |
| 516bae4d |
monitor: Add commands, events and features from CSA4 |
Marcel Holtmann |
12 years ago |
1 file, +101, -65 |
| ab2611a6 |
man: Remove misleading reference to main.conf man page |
Johan Hedberg |
12 years ago |
1 file, +0, -5 |
| 3767c5e9 |
gdbus: Don't call property changed callback during client init
When the client uses ObjectManager to init properties, do not call
property changed callbacks. They should only be called once the proxy
added has been successfully signaled since the proxy itself provides
a full copy of available properties. |
Marcel Holtmann |
12 years ago |
1 file, +10, -9 |
| ab34d7b7 |
tools: Add mgmt-tester command line option to control power on wait |
Johan Hedberg |
12 years ago |
1 file, +32, -3 |
| 1090c954 |
test: Add -p/--push option to map-client
This option can be used to push messages, it takes as a parameter a
file location which should contain the message in bmsg format. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +11, -2 |
| e859c032 |
obexd: Add PushMessage
Push message has been implemented similar to send file (OPP),
the message to send (in bMessage format) is read from a file. |
Christian Fetzer |
12 years ago |
2 files, +183, -0 |
| e9c1672a |
test: Fix missing call to parser.parse_args() in test-proximity |
Johan Hedberg |
13 years ago |
1 file, +2, -0 |
| d1fbda1e |
shared: Fix use after free in read_watch_destroy
read_watch_destroy is called when received_data returns FALSE.
free mgmt in read_watch_destroy instead of received_data to avoid
use after free.
Invalid write of size 4
at 0x8051604: read_watch_destroy (mgmt.c:271)
by 0x48C7468E: g_source_callback_unref (gmain.c:1457)
by 0x48C77287: g_main_context_dispatch (gmain.c:2723)
by 0x48C774FF: g_main_context_iterate.isra.22 (gmain.c:3290)
by 0x48C77962: g_main_loop_run (gmain.c:3484)
by 0x805393E: tester_run (tester.c:784)
by 0x804D1C7: main (mgmt-tester.c:2558)
Address 0x4039b80 is 16 bytes inside a block of size 76 free'd
at 0x4007F0F: free (vg_replace_malloc.c:446)
by 0x48C7D44B: standard_free (gmem.c:98)
by 0x48C7D607: g_free (gmem.c:252)
by 0x8051BB6: received_data (mgmt.c:337)
by 0x48CBA72E: g_io_unix_dispatch (giounix.c:167)
by 0x48C7715A: g_main_context_dispatch (gmain.c:2715)
by 0x48C774FF: g_main_context_iterate.isra.22 (gmain.c:3290)
by 0x48C77962: g_main_loop_run (gmain.c:3484)
by 0x805393E: tester_run (tester.c:784)
by 0x804D1C7: main (mgmt-tester.c:2558) |
Szymon Janc |
13 years ago |
1 file, +6, -3 |
| f5c43df6 |
monitor: Decode supported commands result |
Marcel Holtmann |
13 years ago |
1 file, +35, -5 |
| 37b90a95 |
monitor: Fix wrong supported commands bit value |
Marcel Holtmann |
13 years ago |
1 file, +1, -1 |
| b0dfcc41 |
tools: Fix mgmt-tester LE expected supported settings |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| de3cadbf |
tools: Add basic mgmt_set_local_name EIR test case |
Johan Hedberg |
13 years ago |
1 file, +20, -0 |
| 6f3c1e7a |
core: Use more compact definitions for zero-tail byte arrays |
Johan Hedberg |
13 years ago |
1 file, +14, -201 |
| 40d6efeb |
tools: Add basic mgmt_set_local_name success test cases |
Johan Hedberg |
13 years ago |
1 file, +37, -0 |
| ee4ca49a |
tools: Generalize alternate mgmt event handling for mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +28, -25 |
| b0b3b862 |
audio: Fix uint64_t format specifier |
Johan Hedberg |
13 years ago |
1 file, +2, -1 |
| 9ea3f21c |
Release 5.2 |
Marcel Holtmann |
13 years ago |
2 files, +13, -1 |
| 022756d2 |
lib: Update list of company identifiers |
Marcel Holtmann |
13 years ago |
1 file, +4, -0 |
| 63f45a5e |
AVRCP: Set addressed player as browsed player
This send SetBrowsedPlayer after getting the player details. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +209, -5 |
| 223116dd |
AVRCP: Split event handing to its own functions |
Luiz Augusto von Dentz |
13 years ago |
1 file, +85, -56 |
| 6ba93783 |
AVRCP: Get player list if supported
If addressed player changed is supported get the list of players |
Luiz Augusto von Dentz |
13 years ago |
3 files, +270, -0 |
| 6ff92086 |
AVRCP: Register to addressed player changed event if supported
This enables registering for addressed player changed event and handle
the interim response setting the player id and uid counter to the current
player. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +22, -7 |
| 0a425370 |
AVRCP: Avoid repeating command due to changed event
Currently we are repeating the same command twice for notification, first
for changed and then latter for interim response.
To avoid this the code now just do it for interim responses, changed
responses just trigger another registration. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +7, -11 |
| 56f02613 |
media-api: Add org.bluez.MediaFolder1
This interface adds support for browsing and searching in the player's
storage using AVRCP 1.4/1.5.
Some remarks about the design:
- Exposing UIDCounter and UIDs was considered, but the spec seems to have
missed to define the player's id persistency. There are also the fact that
UIDCounter alone does not guarantee persistency across sessions and do not
provide what exact items have changed, so in the end exposing these
details will bring almost no value.
- Indexing or caching the whole media library is not recommended, Bluetooth
is too slow for that and even vendors such as Apple do not recommend doing
it, so the only items keep in cache are the current listed ones.
- Addressed vs Browsed player is done implicitly when accessed, this was done
to simplify the API and avoid confusions between applications and players. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +171, -0 |
| eb42911f |
AVDTP: Fix memory leak
56 (16 direct, 40 indirect) bytes in 1 blocks are definitely lost in loss record 173 of 263
at 0x4A0883C: malloc (vg_replace_malloc.c:270)
by 0x4C8568E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x4C9A7F1: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x4C9BB92: g_slist_append (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x422072: send_req (avdtp.c:2569)
by 0x422D0B: avdtp_discover (avdtp.c:3380)
by 0x41D16C: source_setup_stream (source.c:307)
by 0x41D1EF: source_connect (source.c:331)
by 0x465411: connect_next (device.c:1073)
by 0x466C92: device_profile_connected (device.c:1097)
by 0x4629EB: ext_connect (profile.c:950)
by 0x44AECB: connect_cb (btio.c:230) |
Luiz Augusto von Dentz |
13 years ago |
1 file, +5, -1 |
| 68e1ae26 |
core: Fix missing return statement in ext_svc_complete |
Johan Hedberg |
13 years ago |
1 file, +4, -0 |
| 3d85cf30 |
device: Fix not marking svc_resolved when loaded from storage
When the device is loaded from storage, we should mark it as it
services were resolved. |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -0 |
| 0b552223 |
core: Fix trying go stop passive scanning multiple times |
Johan Hedberg |
13 years ago |
1 file, +8, -0 |
| 888a1c17 |
core: Add debug log to stop_passive_scanning_complete |
Johan Hedberg |
13 years ago |
1 file, +2, -0 |
| 365cbb27 |
network: Fix user data handling on unregister
User data in unregister_server() is a network_adapter struct. Unregistering
using full UUID will now also work. |
Patrik Flykt |
13 years ago |
1 file, +4, -2 |
| 7643aac9 |
gdbus: Fix unpublished interface signal emission
If we haven't published an interface yet (i.e. it's in the data->added
list), we should just ignore any property changed indications as the
values for the properties will anyway be part of the InterfacesAdded
signal. |
Johan Hedberg |
13 years ago |
1 file, +4, -0 |
| 11b9adb6 |
emulator: Fix BR/EDR-only and LE-only supported command checks |
Johan Hedberg |
13 years ago |
1 file, +106, -4 |
| dbab4243 |
emulator: Add command line options for selecting controller type to btvirt |
Johan Hedberg |
13 years ago |
1 file, +9, -2 |
| 24c29770 |
emulator: Use BR/EDR/LE vhci type as default for btvirt |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| e6356399 |
tools: Add LE-only test case support to mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +19, -0 |
| 83313af7 |
tools: Add BR/EDR-only test case support to mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +20, -0 |
| 4823e85d |
tools: Fix mgmt-tester BR/EDR/LE test macro naming |
Johan Hedberg |
13 years ago |
1 file, +112, -108 |
| 6b0eaec9 |
emulator: Fix controller version for BR/EDR type |
Johan Hedberg |
13 years ago |
1 file, +6, -1 |
| b926af1c |
AVRCP: Get track duration using GetPlayStatus command
Some stacks, notably broadcom, don't send track duration together with
other metadata so it has to be set using GetPlayStatus. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +26, -2 |
| 5c62723d |
A2DP: Fix not setting setup error to NULL
Once the error is informed to the callback it should be properly freed and
set to NULL otherwise a subsequent operation may end up reusing the same
error which might lead to crashes. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +6, -6 |
| 6a4f06b6 |
AVCTP: Fix memory leak
651 (280 direct, 371 indirect) bytes in 7 blocks are definitely lost in loss record 306 of 332
at 0x4A06B2F: calloc (vg_replace_malloc.c:593)
by 0x319724D706: g_malloc0 (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x418A54: avctp_send_browsing_req (avctp.c:1457)
by 0x41A330: avrcp_handle_event (avrcp.c:1998)
by 0x417810: session_cb (avctp.c:702)
by 0x3197247A74: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3197247DA7: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x31972481A1: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x409D6E: main (main.c:583) |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -0 |