| 093c4059 |
dbusoob: Set device name in device object |
Frédéric Danis |
13 years ago |
1 file, +1, -1 |
| d9a5bffe |
core: Make btd_event_remote_name local parameter const |
Johan Hedberg |
13 years ago |
2 files, +5, -3 |
| bf329be2 |
core: Fix coding style in event.h (long lines) |
Johan Hedberg |
13 years ago |
1 file, +12, -10 |
| 43a325e5 |
core: Make remote name event parameters const |
Johan Hedberg |
13 years ago |
2 files, +17, -9 |
| 3b8fd590 |
device: Retrieve name from storage
Try to retrieve name from device info file.
If that fails fall back to the cache and save it to device info file.
When device name is updated, save it. |
Frédéric Danis |
13 years ago |
1 file, +101, -1 |
| 3f32c6ed |
doc: Update settings-storage.txt
Device name should be saved in device info file. |
Frédéric Danis |
13 years ago |
1 file, +2, -0 |
| 98bba4a8 |
adapter: Simplify cached name storage |
Frédéric Danis |
13 years ago |
1 file, +33, -42 |
| 43f865a8 |
test: Add support for using external player
This add support for passing a device player object which is then
registered as a local one in a loopback fashion. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +61, -19 |
| 5a23a20d |
test: Fix using Number instead of Track in mpris-player |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -1 |
| 135e87f5 |
test: Fix using Number instead of Track in simple-player |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -1 |
| 46dd2312 |
AVRCP: Remove conversions inside media.c
The conversion should be done in avrcp.c as it is already doing for
controller players. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +89, -272 |
| add3a84d |
player: Add support for SetProperty
Properties Equalizer, Repeat, Shuffle and Scan can be set by user
application. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +288, -4 |
| 80b085fc |
audio: Export remote player as children object path of device
The object implements org.bluez.MediaPlayer similar to the target role. |
Luiz Augusto von Dentz |
13 years ago |
5 files, +564, -97 |
| c8b0c7d0 |
AVRCP: Add initial support for controller player
This also bump controller record to 1.3. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +441, -90 |
| 18a5dc6c |
monitor: Store traces with new data link format |
Marcel Holtmann |
13 years ago |
6 files, +68, -29 |
| 782ceb24 |
monitor: Add support for server channels |
Marcel Holtmann |
13 years ago |
3 files, +107, -1 |
| 6716e680 |
emulator: Add version and usage information |
Marcel Holtmann |
13 years ago |
1 file, +38, -0 |
| 9b40e38e |
emulator: Fix issue with remote disconnects |
Marcel Holtmann |
13 years ago |
1 file, +6, -2 |
| 394b893a |
build: Fix selecting HoG suspend backend
The dummy backend was always being compiled and the --with-hog-suspend
option was not being accepted by configure. Now the backend can be
selected with --with-hog-suspend and the suspend implementation file is
generated during compile time. |
João Paulo Rechi Vita |
13 years ago |
3 files, +6, -2 |
| 214244f1 |
emulator: Handle the local AMP info command |
Marcel Holtmann |
13 years ago |
1 file, +18, -0 |
| 462e5b97 |
monitor: Add packet information for local AMP info response |
Marcel Holtmann |
13 years ago |
1 file, +15, -0 |
| 9f3814a3 |
emulator: Create support for enabling AMP controllers |
Marcel Holtmann |
13 years ago |
5 files, +42, -17 |
| 2c33d253 |
hciattach: Allow creating AMP controller over UART |
Marcel Holtmann |
13 years ago |
1 file, +8, -0 |
| 1dbe2217 |
emulator: Add type definition for AMP controller |
Marcel Holtmann |
13 years ago |
2 files, +8, -0 |
| e696bce8 |
emulator: Add stub for LE single mode devices |
Marcel Holtmann |
13 years ago |
2 files, +34, -15 |
| 09c2d256 |
emulator: Allow specifying controller type |
Marcel Holtmann |
13 years ago |
4 files, +11, -4 |
| 43ec488a |
emulator: Create unique addresses accross devices |
Marcel Holtmann |
13 years ago |
1 file, +9, -4 |
| c139d529 |
emulator: Ignore failures for device transports |
Marcel Holtmann |
13 years ago |
1 file, +2, -7 |
| aef1dd1b |
emulator: Add support for TCP server connections |
Marcel Holtmann |
13 years ago |
2 files, +66, -2 |
| 724d61c9 |
AVDTP: Do not keep a internal reference
Don't initialize reference with 1, instead always start disconnect timer
when reference drops to 0, so in case nobody reclaims the session it
automatically disconnect after 1 second and frees the memory. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +82, -122 |
| 862e89c5 |
core: Do not call the callback on btd_cancel_authorization
btd_cancel_authorization should work like g_source_remove and not attempt
to reach the callback as its maybe already invalid or lead to double free
situations such as this:
Invalid write of size 4
at 0x13D480: connection_lost (avdtp.c:1102)
by 0x13F37A: session_cb (avdtp.c:2281)
by 0x4C7B824: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C7BB57: ??? (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C7BF51: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x122B21: main (main.c:551)
Address 0x6512ac0 is 32 bytes inside a block of size 1,184 free'd
at 0x4A07786: free (vg_replace_malloc.c:446)
by 0x4C8150E: g_free (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x13D4A9: connection_lost (avdtp.c:1216)
by 0x13D55E: auth_cb (avdtp.c:2471)
by 0x17E99A: service_auth_cancel (adapter.c:1021)
by 0x183C67: btd_cancel_authorization (adapter.c:3358)
by 0x13D477: connection_lost (avdtp.c:1098)
by 0x13F37A: session_cb (avdtp.c:2281)
by 0x4C7B824: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C7BB57: ??? (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C7BF51: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x122B21: main (main.c:551) |
Luiz Augusto von Dentz |
13 years ago |
1 file, +4, -1 |
| 1d18443e |
core: Fix memory leak
1,262 (64 direct, 1,198 indirect) bytes in 1 blocks are definitely lost in loss record 280 of 290
at 0x4A0881C: malloc (vg_replace_malloc.c:270)
by 0x4C813FE: g_malloc (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C95801: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C95D55: g_slice_alloc0 (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C746AA: g_key_file_new (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x18136C: load_config (adapter.c:2620)
by 0x18353B: adapter_init (adapter.c:2708)
by 0x17E62E: btd_manager_register_adapter (manager.c:337)
by 0x191171: mgmt_event.part.36 (mgmt.c:1081)
by 0x4C7B824: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C7BB57: ??? (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x4C7BF51: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3200.4) |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -0 |
| f24c3882 |
AVRCP: Add support for settings changed event
This event can be registered by the CT to get notified when any setting
is changed.
Per spec every single setting must be sent so the CT can track settings
being added or removed. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +88, -2 |
| 1ed385b0 |
AVCTP: Reduce verbosity of PDU parsing
This information is not really useful as debug and there are better
tools for sniffing traffic such as hcidump and wireshark. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +0, -23 |
| 0ede5ec7 |
AVRCP: Fix not adding session to player's list of sessions
If the session is not added in the list if the player gets
unregistered it will not be cleared from the session which might cause a
crash if the tries to access it. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +7, -1 |
| 8acf3cad |
AVRCP: Don't respond with errors when no player is registered
Some devices w.g. Sony MW600 will stop using certain commands if an
error happen, so the code now just fake a player and once a real
player is registered it takes place of the fake one. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +85, -33 |
| 55cff2a6 |
AVRCP: Fix using void * for metadata values
This replaces get_metadata callback with get_string and get_uint32
which uses proper types as return. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +42, -80 |
| 0a61f468 |
control: Fix Control.Disconnect not generating any reply
avctp_disconnect does disconnect immediatelly so there is no time to
set the pending message. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -18 |
| 79b5c838 |
network: Remove unnecessary field from connect_req
The device pointer in struct connect_req can be completely removed since
the callback already receives such pointer, and the network_peer takes
care of the device refcounting. |
Mikel Astiz |
13 years ago |
1 file, +1, -6 |
| 58f4c6ef |
systemd: prevent duplicate logging messages in journal
By default, both stdout and syslog messages go to the systemd journal,
which results in duplicate messages being logged. |
Marti Raudsepp |
13 years ago |
1 file, +1, -0 |
| 83ee9c4d |
network: Add missing btd_device reference counting |
Johan Hedberg |
13 years ago |
1 file, +4, -1 |
| c814fa7b |
input: Add profile .disconnect
Add the disconnect hook to the btd_profile. |
Mikel Astiz |
13 years ago |
1 file, +1, -0 |
| 2c31fdb6 |
input: Expose internal disconnection API
Expose the same API exposed in D-Bus to disconnect devices. |
Mikel Astiz |
13 years ago |
2 files, +22, -0 |
| b9c588d5 |
input: Trivial function rename
Use the local_ name prefix for functions implementing the D-Bus API. |
Mikel Astiz |
13 years ago |
1 file, +2, -2 |
| 60be2803 |
network: Add network .connect and .disconnect
Add the btd_profile hooks to connect and disconnect all three network
roles. |
Mikel Astiz |
13 years ago |
1 file, +99, -0 |
| afa7a207 |
network: Split Network into three btd_profile
Split the possible roles into three different btd_profile instances, one
role each, in accordance with the rest of the existing profiles. |
Mikel Astiz |
13 years ago |
1 file, +86, -19 |
| 77ba3a7c |
network: Expose internal connection API
Separate the D-Bus code from the internal connection handling code,
exposing an internal API in case some internal codepath/plugin is
interested in using it. |
Mikel Astiz |
13 years ago |
2 files, +108, -48 |
| 3a4473bb |
network: Trivial function rename
Avoid the connection_ prefix for local functions implementing the D-Bus
API. |
Mikel Astiz |
13 years ago |
1 file, +6, -6 |
| 1541c280 |
network: Specify id while registering server
Only one type of server is being installed (BNEP_SVC_NAP), but the
server API actually supports having several of them. Therefore, it is
more accurate to specify BNEP_SVC_NAP in the manager's side. |
Mikel Astiz |
13 years ago |
3 files, +8, -9 |
| 0cdd6a2c |
event: Remove write of LastSeen info |
Frédéric Danis |
13 years ago |
1 file, +0, -13 |