| 8f13cb2b |
sap: Move UUID string definition to lib |
Daniel Wagner |
13 years ago |
2 files, +3, -1 |
| 5a82646b |
proximity: Move UUID string definition to lib |
Daniel Wagner |
13 years ago |
3 files, +5, -6 |
| 2eda66eb |
deviceinfo: Move UUID string definition to lib |
Daniel Wagner |
13 years ago |
3 files, +3, -4 |
| b0dcec9c |
network: Move UUID string definition to lib |
Daniel Wagner |
13 years ago |
5 files, +8, -5 |
| b968b129 |
audio: Move UUID string definition to lib |
Daniel Wagner |
13 years ago |
8 files, +24, -16 |
| 78745b24 |
sdp: Remove unused BASE_UUID definition |
Daniel Wagner |
13 years ago |
1 file, +0, -2 |
| 3e53b386 |
hciattach: Add basic Three-wire UART support |
Johan Hedberg |
13 years ago |
1 file, +4, -0 |
| 48d31710 |
Remove compatibility check for DBUS_TYPE_UNIX_FD
Since commit c89b589a586e97ad875fbdd1d41f03979157ebb0, D-Bus >= 1.4.0 is
required. This version already contains Unix FD passing support,
therefore code that checks for DBUS_TYPE_UNIX_FD definition is
unnecessary. |
Anderson Lizardo |
13 years ago |
8 files, +1, -40 |
| eefdb359 |
attrib-server: allow SDP records for secondary GATT services
It seems this is the correct way to discover such services that work
over BR/EDR (according to section 4.4 in the GATT specification). |
Arik Nemtsov |
13 years ago |
1 file, +5, -4 |
| d65ee066 |
GATT: Avoid unneeded discover transaction
This patch fix unneeded discover characteristics transaction when the
last characteristic declaration contains the handle number equals to the
end handle of the primary service. |
Claudio Takahasi |
13 years ago |
1 file, +1, -1 |
| cbe6a5b6 |
core: Remove unneeded textfile header include |
Claudio Takahasi |
13 years ago |
1 file, +0, -1 |
| a49ba8ab |
gattrib: Fix a request/response command deadlock
New requests and responses are never sent if a request was sent and the
response for it hasn't been received yet. As a result, if both end
points send requests at the same time, a deadlock could occur. This
could happen, for instance, if the client sends a read request and the
server sends an indication before responding to the read request.
Fix this by introducing an additional queue for responses. Responses may
be sent while there's still a pending request/indication. |
Ido Yariv |
13 years ago |
1 file, +87, -24 |
| 932bc368 |
GATT: Move GATT assigned numbers to GATT header |
Claudio Takahasi |
13 years ago |
9 files, +41, -33 |
| 66a0ce72 |
GATT: Rename Characteristic Configuration constants
This patch renames the constants related to Client Characteristic
Configuration bit field to use a proper name since it is related to
GATT instead of ATT. |
Claudio Takahasi |
13 years ago |
2 files, +5, -5 |
| 147dad19 |
agent: Fix segmentation fault
This patch fixes a segmentation fault when the agent leaves the bus
and there is a request passkey pending.
bluetoothd[3137]: src/agent.c:agent_exited() Agent exited without
calling Unregister
==3137== Invalid read of size 8
==3137== at 0x4489E7: device_get_adapter (device.c:2197)
==3137== by 0x448C69: passkey_cb (device.c:2757)
==3137== by 0x43FA47: agent_free (agent.c:168)
==3137== by 0x40A738: service_filter (watch.c:477)
==3137== by 0x40A450: message_filter (watch.c:527)
==3137== by 0x516451B: dbus_connection_dispatch (in
/usr/lib64/libdbus-1.so.3.5.8)
==3137== by 0x409387: message_dispatch (mainloop.c:76)
==3137== by 0x4E7986A: g_timeout_dispatch (in
/usr/lib64/libglib-2.0.so.0.3000.2)
==3137== by 0x4E78091: g_main_context_dispatch (in
/usr/lib64/libglib-2.0.so.0.3000.2)
==3137== by 0x4E78887: g_main_context_iterate.clone.6 (in
/usr/lib64/libglib-2.0.so.0.3000.2)
==3137== by 0x4E78DD9: g_main_loop_run (in
/usr/lib64/libglib-2.0.so.0.3000.2)
==3137== by 0x431AA6: main (main.c:542)
==3137== Address 0xe818247c89102594 is not stack'd, malloc'd or
(recently) free'd |
Paulo Alcantara |
13 years ago |
1 file, +5, -0 |
| 99dd125c |
build: Remove dependency on libcap-ng |
Marcel Holtmann |
13 years ago |
4 files, +2, -26 |
| a3671b9d |
attrib-server: Allow zero length attribute update
attrib_db_update always fails when g_try_realloc returns NULL, not
taking into account that the length passed to g_try_realloc could be
zero. In this case, g_try_realloc frees the currently allocated memory
and returns NULL.
As a result, not only will attrib_db_update fail needlessly, a
use-after-free could occur as the attribute's length will still hold the
length of the freed buffer.
Fix this by only returning an error if the length is non-zero. |
Ido Yariv |
13 years ago |
1 file, +1, -1 |
| e1942bc1 |
AVRCP: Fix not registering to VolumeChanged event again when notified
The spec says:
"A registered notification gets changed on receiving CHANGED event
notification. For a new notification additional NOTIFY command is
expected to be sent." |
Luiz Augusto von Dentz |
13 years ago |
1 file, +8, -1 |
| da8b6211 |
audio: Add Volume property to A2DP transport GetProperties
Now that volume is being handled by SetProperty it should also be
available in GetProperties. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +5, -0 |
| 3b3e3c3d |
AVRCP: Add support for sending SetAbsoluteVolume
Once the transport volume is changed update the remote volume by sending
SetAbsoluteVolume:
< AVCTP: Command : pt 0x00 transaction 9 pid 0x110e
AV/C: Changed: address 0x48 opcode 0x00
Subunit: Panel
Opcode: Vendor Dependent
Company ID: 0x001958
AVRCP: SetAbsoluteVolume: pt Single len 0x0001
Volume: 100.00% (127/127)
> AVCTP: Response : pt 0x00 transaction 9 pid 0x110e
AV/C: Accepted: address 0x48 opcode 0x00
Subunit: Panel
Opcode: Vendor Dependent
Company ID: 0x001958
AVRCP: SetAbsoluteVolume: pt Single len 0x0001
Volume: 100.00% (127/127) |
Luiz Augusto von Dentz |
13 years ago |
3 files, +71, -0 |
| 32b2b057 |
audio: Fix signature type for transport Volume
Signature is now uint16 instead of byte |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -2 |
| dbe02b8c |
audio: Fix updating volume property for non-A2DP transports
Volume property is A2DP only |
Luiz Augusto von Dentz |
13 years ago |
1 file, +3, -5 |
| bd7644ed |
AVRCP: Fix initializing volume before checking PDU type
Response may be rejected or not implemented so the operand used to
initialize the variable may not even exist. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +4, -2 |
| a9262df6 |
SAP: Remove not needed checks from disconnect_ind
disconnect_ind is an helper funtion and is always called with valid
connection and from valid state so there is no need to double check
that. |
Szymon Janc |
13 years ago |
1 file, +0, -10 |
| 77713a7a |
sap-dummy: Fix DBus connection leak if interface registration failed
If DBus interface registration failed dbus connection should be
unreferenced. |
Szymon Janc |
13 years ago |
1 file, +2, -0 |
| b7bc3849 |
SAP: Remove one line of indentation in sap_io_destroy |
Szymon Janc |
13 years ago |
1 file, +13, -13 |
| e4dbf827 |
SAP: Remove not needed src field from struct sap_server
src is only used in sap_server_register, no need to keep in memory for
SAP session duration. |
Szymon Janc |
13 years ago |
1 file, +2, -4 |
| 1b65dde9 |
SAP: Remove not needed includes |
Szymon Janc |
13 years ago |
2 files, +0, -13 |
| 9dbdcd2c |
sap-dummy: Remove not needed includes |
Szymon Janc |
13 years ago |
1 file, +0, -3 |
| 909ed773 |
sap-dummy: Small refactor to sap_connect_req
This makes function easier to read and more similar to rest of code. |
Szymon Janc |
13 years ago |
1 file, +15, -9 |
| 56caec3d |
sap-dummy: Use constants when setting ongoing call status
This improves readbility of whan new ongoing call status is being set. |
Szymon Janc |
13 years ago |
1 file, +2, -2 |
| b1955277 |
SAP: Fix some code style issue |
Szymon Janc |
13 years ago |
2 files, +13, -14 |
| 3f03b1cf |
SAP: Remove not needed NULL pointer check in check_msg
Buffer passed to check_msg() is always valid. |
Szymon Janc |
13 years ago |
1 file, +0, -3 |
| 35beaaa5 |
udev: remove deprecated function
This function has in the past returned "/sys" unconditionally. As of
udev-183 it is gone, so just replace it with the string. |
Tom Gundersen |
13 years ago |
1 file, +1, -1 |
| cc47dc79 |
storage: Rename appearance file to appearances
This patch renames the "appearance" file to "appearances" to be more
suitable with its content. |
Paulo Alcantara |
13 years ago |
1 file, +2, -2 |
| f4ccefdc |
storage: Rename primary file to primaries
This patch renames the "primary" file to "primaries" to be more suitable
with its content. |
Claudio Takahasi |
13 years ago |
2 files, +6, -6 |
| 6fe93014 |
storage: Rename characteristic to characteristics
This patch renames the "characteristic" file to "characteristics" to be
more suitable with its content. |
Claudio Takahasi |
13 years ago |
1 file, +3, -3 |
| a6b75b03 |
storage: Store address type in "attributes" file
Addressing types can be either BR/EDR, BLE public or BLE random so the
entries in the "attributes" file did not contain enough information to
distinguish which addressing type it's supposed to be. Entries will now
contain both address number and address type as a single key in every
entry in the file. |
Paulo Alcantara |
13 years ago |
3 files, +11, -10 |
| 8443819e |
core: Fix creating device from "longtermkeys" file |
Paulo Alcantara |
13 years ago |
1 file, +16, -10 |
| 8d43820c |
storage: Store address type in "longtermkeys" file
Addressing types can be either BR/EDR, BLE public or BLE random so the
entries in the "longtermkeys" file did not contain enough information to
distinguish which addressing type it's supposed to be. Entries will now
contain both address number and address type as a single key in every
entry in the file. |
Paulo Alcantara |
13 years ago |
4 files, +33, -19 |
| 19accda2 |
storage: Store address type in "ccc" file
Addressing types can be either BR/EDR, BLE public or BLE random so
the entries in the "ccc" file did not contain enough information to
distinguish which addressing type it's supposed to be. Entries will
now contain both address number and address type as a single key in
every entry in the file. |
Paulo Alcantara |
13 years ago |
5 files, +34, -19 |
| 24fb2b3a |
storage: Store address type in "appearance" file
BLE addressing types can be either public or random so the entries in
the "appearance" file did not contain enough information to distinguish
which addressing type it's supposed to be (LE public or LE random).
Appearance is an information related to BLE device only. Entries will
now contain both BLE address number and BLE address type as a single key
in every entry in the file. |
Paulo Alcantara |
13 years ago |
4 files, +21, -14 |
| 0185e5d4 |
storage: Store address type in "characteristics"
GATT can use BR/EDR or BLE as transport. Addressing types can be either
BR/EDR, BLE public or BLE random so the entries in the "characteristics"
file did not contain enough information to distinguish which addressing
type it's supposed to be. Entries will now contain both address number
and address type as a single key in every entry in the file. |
Paulo Alcantara |
13 years ago |
3 files, +29, -20 |
| f04e4a74 |
AVRCP: Remove unneeded check for set_volume callback |
Lucas De Marchi |
13 years ago |
1 file, +1, -2 |
| d55d05b8 |
media-api: Update documentation to include Volume property |
Luiz Augusto von Dentz |
13 years ago |
1 file, +8, -0 |
| ea5e0da4 |
AVRCP: Fix not setting audio device connected to player
While connecting device should be set to match the AVCTP session and when
disconnected reset it back to NULL. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -0 |
| fda5d9f6 |
AVCTP: Fix setting wrong transaction id expected for responses
The id were incremented after being set to the request so it is always
+1 of the actual transaction. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +3, -1 |
| 8f85b820 |
input: Remove unwanted codes from device
Here the variable iconn never be NULL, so no need to check it
against NULL. |
Syam Sidhardhan |
13 years ago |
1 file, +0, -5 |
| 732b5eb5 |
audio: Remove unwanted code from manager
Here the variable adp never be NULL, so no need to check it
against NULL. |
Syam Sidhardhan |
13 years ago |
1 file, +0, -2 |
| aecbb97c |
core: Remove unnecessary agent variable |
Johan Hedberg |
13 years ago |
1 file, +1, -3 |