| 65c2713c |
audio: Remove AudioSink interface
This interface is no longer needed as Device interface can now connect
the profiles and the state can be tracked using MediaTransport interface. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +3, -191 |
| 65c84e43 |
device: Pass correct DBusMessage parameter to btd_error_failed |
Johan Hedberg |
13 years ago |
1 file, +2, -1 |
| 4c6d344b |
core: Fix reading D-Bus boolean parameters too local bool type
The D-Bus boolean type may be larger than the local bool type which can
lead to writing past the memory space of the local variable. To fix
this, use a temporary dbus_bool_t variable before assigning to the local
type. |
Johan Hedberg |
13 years ago |
1 file, +5, -4 |
| 5ff74495 |
test: Remove AutoConnect from test-hfp since it's now the default |
Johan Hedberg |
13 years ago |
1 file, +0, -1 |
| ccab1d7b |
formfactor: Remove not needed empty remove callback
Remove callback is called only if it is not NULL so there is no need to
register empty callback function. |
Szymon Janc |
13 years ago |
1 file, +0, -5 |
| 86cea3b3 |
adaptername: Remove not needed empty remove callback
Remove callback is called only if it is not NULL so there is no need to
register empty callback function. |
Szymon Janc |
13 years ago |
1 file, +0, -5 |
| 652b3ad4 |
core: Send a "cancelled" response to Device.Connect when disconnecting |
Johan Hedberg |
13 years ago |
1 file, +8, -0 |
| f92eb1ef |
core: Fix cleaning up pending connect list if a profile fails |
Johan Hedberg |
13 years ago |
1 file, +3, -0 |
| a645bd07 |
adapter: Call driver remove callback when unregistering driver
This seems to be what plugins expect as only dbusoob explicite called
its remove function before unregistering adapter drivers.
This results in cleaner shutdown path:
Without patch:
bluetoothd[13563]: src/mgmt.c:mgmt_remove_uuid() index 0
bluetoothd[13563]: src/adapter.c:btd_adapter_unref() 0x606b2a0: ref=4
bluetoothd[13563]: src/adapter.c:btd_adapter_unref() 0x606b2a0: ref=3
bluetoothd[13563]: Stopping SDP server
bluetoothd[13563]: Exit
==13563==
==13563== HEAP SUMMARY:
==13563== in use at exit: 64,908 bytes in 395 blocks
==13563== total heap usage: 7,035 allocs, 6,640 frees, 4,432,371 bytes allocated
==13563==
==13563== LEAK SUMMARY:
==13563== definitely lost: 0 bytes in 0 blocks
==13563== indirectly lost: 0 bytes in 0 blocks
==13563== possibly lost: 17,429 bytes in 169 blocks
==13563== still reachable: 47,479 bytes in 226 blocks
==13563== suppressed: 0 bytes in 0 blocks
With patch:
bluetoothd[13301]: src/mgmt.c:mgmt_remove_uuid() index 0
bluetoothd[13301]: src/adapter.c:btd_adapter_unref() 0x606b2a0: ref=1
bluetoothd[13301]: src/adapter.c:btd_adapter_unref() 0x606b2a0: ref=0
bluetoothd[13301]: src/adapter.c:adapter_free() 0x606b2a0
bluetoothd[13301]: Stopping SDP server
bluetoothd[13301]: Exit
==13301==
==13301== HEAP SUMMARY:
==13301== in use at exit: 64,954 bytes in 348 blocks
==13301== total heap usage: 7,247 allocs, 6,899 frees, 4,625,672 bytes allocated
==13301==
==13301== LEAK SUMMARY:
==13301== definitely lost: 0 bytes in 0 blocks
==13301== indirectly lost: 0 bytes in 0 blocks
==13301== possibly lost: 17,334 bytes in 150 blocks
==13301== still reachable: 47,620 bytes in 198 blocks
==13301== suppressed: 0 bytes in 0 blocks |
Szymon Janc |
13 years ago |
2 files, +5, -2 |
| 75dbf9e8 |
core: Don't do reverse SDP when services are already resolved |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| 47a7b315 |
core: Add auto_connect entries to profile defaults |
Johan Hedberg |
13 years ago |
1 file, +7, -0 |
| 3bcb6484 |
audio: Fix missing AVCTP security level |
Johan Hedberg |
13 years ago |
1 file, +2, -0 |
| fac77354 |
device: Fix leaking browse request DBusMessage |
Johan Hedberg |
13 years ago |
1 file, +3, -2 |
| e224fd82 |
device: Add btd_ prefix to device_set_pnpid()
As device_set_pnpid() is used inside a plugin it should have the btd_
prefix. |
Vinicius Costa Gomes |
13 years ago |
3 files, +4, -4 |
| 35a9ae33 |
audio: Remove deprecated Connected/Disconnected signals |
Johan Hedberg |
13 years ago |
2 files, +1, -22 |
| d296dbce |
audio: Remove deprecated Control.IsConnected method |
Johan Hedberg |
13 years ago |
2 files, +1, -29 |
| 464e962e |
hog: Fix output report
Even if we receive the output report with the report id included, we
must send the output report without the report id, as the remote side
is able to infer it using the handle. |
Vinicius Costa Gomes |
13 years ago |
1 file, +7, -2 |
| f0fd6fda |
hog: Fix potencial segfault when sending a output report
As UHID is not notified when the device is disconnected, it may be
possible that an output report is forwarded when the device is not
connected, one example, would be when the caps lock key is pressed on
another keyboard. |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -0 |
| 044d567a |
sdptool: Add missing UUID entries for MAP and HSP |
Johan Hedberg |
13 years ago |
1 file, +4, -0 |
| 8ac20a71 |
lib: Add missing svclass entries for MAP |
Johan Hedberg |
13 years ago |
1 file, +3, -0 |
| d5a97358 |
test: Add auto-trust and auto-connect to simple-agent |
Johan Hedberg |
13 years ago |
1 file, +17, -0 |
| f694c96c |
device: Update reverse discovery timer from 2 to 1 second
There's no reason to wait so long for reverse discovery. We still don't
want this to be immediate since it's likely that the pairing initiator
is starting to do discovery right after pairing, but 1 second should be
good. |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| e9e62c0f |
monitor: Decode LMP features pages |
Marcel Holtmann |
13 years ago |
1 file, +115, -10 |
| f078cf5c |
hciconfig: Add an option to set which advertise type will be on
There are some advertise types that can be used, so we need a way to
tell which one we want. The default one is ADV_IND. |
Jefferson Delfes |
13 years ago |
1 file, +70, -6 |
| b0fc910f |
monitor: Add missing HCI testing commands |
Marcel Holtmann |
13 years ago |
1 file, +10, -0 |
| 85955127 |
monitor: Add HCI commands from CSA2 and CSA3 |
Marcel Holtmann |
13 years ago |
1 file, +10, -0 |
| 3196fe8e |
TODO: Add entry about built-in profiles connection management by core |
Luiz Augusto von Dentz |
13 years ago |
1 file, +9, -0 |
| 2b28946e |
device: Retrieve device pnp ids from storage
When device pnp ids are updated, save them and emit property
changed signals. |
Frédéric Danis |
13 years ago |
1 file, +34, -17 |
| bdeb013b |
adapter: Convert storage did file |
Frédéric Danis |
13 years ago |
1 file, +42, -0 |
| bc10f3f2 |
device: Retrieve device blocked from storage |
Frédéric Danis |
13 years ago |
1 file, +11, -11 |
| 6aa7a483 |
adapter: Convert storage device blocked
An entry exists in blocked file only when a device is blocked.
So, we do not need to check entry value and set device (entry key) as
blocked. |
Frédéric Danis |
13 years ago |
1 file, +8, -0 |
| e4054ff0 |
doc: Update settings-storage.txt
Remote features are not available from user space,
so replace Features entry by SupportedTechnologies.
Device blocked should be saved in device info file. |
Frédéric Danis |
13 years ago |
1 file, +5, -2 |
| 202b7a98 |
core: Use UUID-16 or UUID-32 when possible when resolving profiles |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| b19465d1 |
control: Add profile .connect and .disconnect
Add the connection and disconnection hooks to the avrcp btd_profile. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +60, -0 |
| c8ad2db5 |
control: 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. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +96, -26 |
| 4b516892 |
sink: Add profile .connect and .disconnect
Add the connection and disconnection hooks to the a2dp_sink btd_profile. |
Mikel Astiz |
13 years ago |
1 file, +60, -0 |
| 1f9efe36 |
source: Add profile .connect and .disconnect
Add the connection and disconnection hooks to the a2dp_source
btd_profile. |
Mikel Astiz |
13 years ago |
1 file, +90, -0 |
| 3a45f6e3 |
audio: Split A2DP into two btd_profile
Merging the three audio profiles (AVDTP, A2DP sink and A2DP source)
into one was convenient in the past was doesn't fit very well the new
btd_profile approach. The split is also more consistent with other
existing profiles. |
Mikel Astiz |
13 years ago |
3 files, +92, -72 |
| 4478da0c |
core: Fix connection order of Device.Connect
We should with higher priority first. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -1 |
| 176aa9c4 |
neard: Be more consistent in error handling and variable naming |
Johan Hedberg |
13 years ago |
1 file, +32, -31 |
| 24973ff5 |
neard: Set device class in device object
As soon as we have info related to a new device,
device object will be created if it does not exist yet.
Change check_device() to use this device object and
remove call to adapter_remove_device() in it. |
Frédéric Danis |
13 years ago |
1 file, +15, -17 |
| 7bbf66a3 |
audio: Remove another leftover of HFP code |
Luiz Augusto von Dentz |
13 years ago |
1 file, +0, -6 |
| dc7be9cb |
doc: Add HFP design document |
Frédéric Danis |
13 years ago |
2 files, +318, -1 |
| eaef3c77 |
gdbus: Remove not needed NULL pointer checks
g_strdup returns NULL if argument passed is NULL and there is no need
to double check that. |
Szymon Janc |
13 years ago |
1 file, +2, -2 |
| f15478ec |
monitor: Handle attribute lists for SDP records |
Marcel Holtmann |
13 years ago |
1 file, +109, -27 |
| 3beb0c5c |
monitor: Track SDP continuation for attribute lists |
Marcel Holtmann |
13 years ago |
3 files, +226, -52 |
| a9953817 |
monitor: Handle UUID-32 and UUID-128 values |
Marcel Holtmann |
13 years ago |
3 files, +48, -2 |
| 6986e5aa |
monitor: Decode SDP element data structures |
Marcel Holtmann |
13 years ago |
1 file, +221, -11 |
| ce06826b |
build: Remove stupid -I directives |
Marcel Holtmann |
13 years ago |
30 files, +93, -95 |
| 50e9f0dc |
monitor: Add basic attribute UUID decoding |
Marcel Holtmann |
13 years ago |
4 files, +186, -1 |