| 35938b77 |
gobex: Fix being able to cancel completed requests
This fixes bogus responses when rsp_func calls g_obex_cancel_req for
responses with final bit set. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +5, -3 |
| 1d23383b |
obexd/client: Fix calling g_obex_cancel_req for completed requests
This leads to incorrect responses such as the following:
> ACL data: handle 12 flags 0x02 dlen 26
L2CAP(d): cid 0x0041 len 22 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 38 pf 0 ilen 18 fcs 0xfd
OBEX: Get rsp(f): status 200 len 18
Status 200 = Success
Connection ID (0xcb) = 1
App. Parameters (0x4c) = Sequence length 4
End of Body (0x49) = Sequence length 0
< ACL data: handle 12 flags 0x00 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 38 pf 0 ilen 3 fcs 0x27
OBEX: Get rsp(f): status 715 len 3 |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -0 |
| 07989af4 |
AUTHORS: Mention Petri's and Scott's contributions |
Marcel Holtmann |
11 years ago |
1 file, +2, -0 |
| dceee75c |
android: Add initial MCAP common code
The patch keeps all MCAP specific logic in mcap-lib until it receives
proper unit tests and then eventually will be used by health profile
code as well. |
Ravi kumar Veeramally |
11 years ago |
4 files, +3597, -0 |
| 8e1be2bb |
android/pts: Re-test AVRCP against PTS 5.1 |
Sebastian Chlad |
11 years ago |
1 file, +2, -2 |
| 50a76f0e |
android/pts: Bump PICS and PIXIT for AVRCP
Bumping version of PTS for AVRCP profile. |
Sebastian Chlad |
11 years ago |
2 files, +2, -2 |
| c9099ace |
android: Rebuild executables on version change
This patch adds additional dependency to configure.ac file for all
executables to make sure they are rebuilt every time BlueZ version is
changed. Otherwise, it's possible to have BlueZ built from most recent
commit but with old version number since this information is extracted
from configure.ac and then passed via -D preprocessor option which does
not trigger rebuild when value changes. |
Andrzej Kaczmarek |
11 years ago |
1 file, +18, -0 |
| d8f4c013 |
android: Avoid creating symlinks in lib/
This patch add bluetooth-headers module which is fake static library
to provide headers from lib/ directory in proper manner, i.e. from
bluetooth/ directory. Headers are copied to intermediates directory
and proper include path is added by build system once dependency to
this module is added. It's not longer necessary to specify lib/
directory on include path for each module.
This is to avoid modyfing source repository by creating symlinks in
lib/ directory - now it's possible to build BlueZ without touching
source repository at all. |
Andrzej Kaczmarek |
11 years ago |
1 file, +39, -25 |
| 8f6622b3 |
android/pts: Update PTS tests for DID
DID tests results on PTS 5.1. |
Sebastian Chlad |
11 years ago |
3 files, +4, -4 |
| e152ed75 |
android/pts: Adjust PICS and PIXITs for OPP
Adjusting PICS and PIXITs for OPP on PTS 5.1 |
Sebastian Chlad |
11 years ago |
2 files, +69, -68 |
| 3106ca75 |
android/avrcp-lib: Fix byte order in avrcp_get_folder_items |
Luiz Augusto von Dentz |
11 years ago |
1 file, +9, -2 |
| fcbe44bc |
android/avrcp-lib: Fix byte order in avrcp_get_item_attributes |
Luiz Augusto von Dentz |
11 years ago |
1 file, +9, -2 |
| 94b32ee3 |
android/avrcp-lib: Add support for parsing SetAbsoluteVolume response |
Luiz Augusto von Dentz |
11 years ago |
3 files, +68, -37 |
| 325d9bd4 |
doc: Mention the deprecated Debug_Keys parameter for Load Link Keys |
Marcel Holtmann |
11 years ago |
1 file, +6, -0 |
| 65610e08 |
input: Use proper bool type for boolean variable |
Johan Hedberg |
11 years ago |
1 file, +7, -7 |
| d8f8bdc0 |
input: Refactor HIDP kernel module interaction
Refactor HIDP kernel module interaction to ioctl_xxx routines. |
Petri Gynther |
11 years ago |
1 file, +64, -53 |
| ddecba5b |
input: Fix input.conf IdleTimeout handling
IdleTimeout is an optional config item in input.conf. Don't complain
if it is not defined. Instead, do the opposite and show its value in
debug logs only when it is defined. |
Petri Gynther |
11 years ago |
1 file, +6, -7 |
| 6b09f55b |
Remove unneeded headers include |
Claudio Takahasi |
11 years ago |
4 files, +0, -8 |
| c2718207 |
doc: Add note for new management API version of upcoming 3.15 kernel |
Marcel Holtmann |
11 years ago |
1 file, +5, -0 |
| 8366eae6 |
tools: add bcm43xx specific init in hciattach
Add a bcm43xx specific init sequence in hciattach
in order to initialize bcm43xx controllers. |
Loic Poulain |
11 years ago |
4 files, +392, -2 |
| f30869c3 |
android/gatt: Fix matching characteristic
This patch fixes searching for characteristic within service.
Characteristics should be matched by element id (uuid, instance) not
only instance id. Also redundant helper to match characteristic by
instance is removed. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +2, -10 |
| 01a54fff |
android/gatt: Remove useless variable cast
This patch removes useless uint8_t array to bdaddr_t cast.
android2bdaddr function expects const void *buf as first parametr. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +1, -1 |
| 3c19fa1c |
android/gatt: Remove unused uuid variable
This patch removes unused uuid string variable. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +0, -2 |
| 3fbd0bda |
shared: Create generic helper for allocating HCI structure |
Marcel Holtmann |
11 years ago |
1 file, +14, -3 |
| 1122fdef |
build: Add ringbuf source files to HCI user channel users |
Marcel Holtmann |
11 years ago |
1 file, +9, -4 |
| 9474293d |
doc: Add InvalidArguments to UnregisterService() errors
This patch adds "org.bluez.Error.InvalidArguments" as possible error
returned by GattManager1.UnregisterService(). |
Claudio Takahasi |
11 years ago |
1 file, +2, -1 |
| df78ea46 |
gatt: Fix possibly lost block when bluetoothd exits
This patch fixes a possibly lost memory related to GDBusClient
and GDBusProxy objects when bluetoothd daemon exits and there
is registered external service.
==1503== by 0x47ECFB: g_dbus_client_new (client.c:1232)
==1503== by 0x461EC7: register_service (gatt-dbus.c:510) |
Claudio Takahasi |
11 years ago |
1 file, +15, -0 |
| 18f48a1b |
gatt: Add removing service from the database
This patch removes the service declaration and its attributes when
the external service implementation leaves the system bus, calls
UnregisterService(), or RegisterService() fails. |
Claudio Takahasi |
11 years ago |
1 file, +26, -10 |
| 07a16c4a |
client: Add support for printing property of array type
This allows to print UUIDs in user friendly fasion. Only string type
support is needed.
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs:
00000002-0000-1000-8000-0002ee000002
00001101-0000-1000-8000-00805f9b34fb
00001103-0000-1000-8000-00805f9b34fb
00001104-0000-1000-8000-00805f9b34fb
00001105-0000-1000-8000-00805f9b34fb
instead of:
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs has unsupported type |
Szymon Janc |
11 years ago |
1 file, +21, -0 |
| a864bd55 |
core: Add note about needed non-zero AD flags check |
Johan Hedberg |
11 years ago |
1 file, +6, -0 |
| 94d1f7ba |
core: don't try BR/EDR for LE-only devices
Calling Connect() after Pair() should not fail for LE-only devices. |
Scott James Remnant |
11 years ago |
1 file, +1, -1 |
| 61d41af3 |
core: don't set BR/EDR support when no flags present
The logic for setting the BR/EDR supported flag checked for the
non-presence of the BR/EDR Unsupported flag without checking whether
any flags were present at all.
This meant all LE-only devices that returned Scan Response Data were
being marked as supporting BR/EDR, since the flag was only set in the
initial AD and not the SRD. |
Scott James Remnant |
11 years ago |
1 file, +2, -1 |
| 3d8a3b5c |
android/hal-audio: Remove unused timespec_diff function |
Szymon Janc |
11 years ago |
1 file, +0, -12 |
| 38abe4d8 |
android/client: Fix some coding style in if-audio |
Szymon Janc |
11 years ago |
1 file, +5, -3 |
| 8a16d706 |
android/client: Simplify playback_thread in if-audio
Thread is never cancelled so no need to use pthread_cleanup_push and
pthread_cleanup_pop. |
Szymon Janc |
11 years ago |
1 file, +6, -12 |
| 375850c4 |
android/hal-audio: Fix possible NULL pointer dereference
strdup may return NULL on allocation error. Check for that. |
Szymon Janc |
11 years ago |
1 file, +3, -0 |
| d5923e0a |
android/gatt: Add client write descriptor handler
This adds writing descriptors. In case of providing invalid descriptor
error status is send with notification. |
Jakub Tyszkowski |
11 years ago |
1 file, +119, -1 |
| fca3e828 |
android/gatt: Add client read descriptor handler
This patch adds descriptor reading. In case of providing wrong
descriptor, error status is being sent with notification. |
Jakub Tyszkowski |
11 years ago |
1 file, +150, -1 |
| 68115186 |
android/gatt: Add descriptors sending and caching for client
This adds descriptors caching at first get descriptor call. After that
descriptors are send from the cache. |
Jakub Tyszkowski |
11 years ago |
1 file, +144, -7 |
| c239312a |
android/gatt: Handle get descriptor client command
This adds basic get characteristic descriptor command handling. In case
of no descriptor, proper notification with bad status is being sent. |
Jakub Tyszkowski |
11 years ago |
1 file, +83, -1 |
| b2fb3501 |
android/gatt: Add queue for characteristic descriptors caching
This is where descriptors will be cached. |
Jakub Tyszkowski |
11 years ago |
1 file, +29, -4 |
| 362f9942 |
gatt: Add GattManager1.UnregisterService()
This patch adds GattManager1.UnregisterService() method implementation
according to doc/gatt-api.txt. |
Claudio Takahasi |
11 years ago |
1 file, +47, -17 |
| 9b717121 |
gatt: Rename external_app to external_service
Even for external applications providing multiple services, each
external service should have its own instance of GDBusClient. This
approach allows a more dynamic management of the registered services.
Based on this assumption, rename the external_app to external_service
is more logical. |
Claudio Takahasi |
11 years ago |
1 file, +54, -53 |
| 77f87f24 |
gdbus: Avoid reporting GDBusClient disconnect twice
No matter if disconnection was reported previously, g_dbus_client_unref()
was always calling service disconnect callback. This patch fix the
following scenario:
1) service disconnects from the bus
2) disconnect callback gets called
3) client calls g_dbus_client_unref(), disconnect callback is called
again. |
Claudio Takahasi |
11 years ago |
1 file, +12, -2 |
| e985127b |
gatt: Add helper for removing GATT services
This patch adds the btd_gatt_remove_service() helper which removes a GATT
primary (or secondary) Service declaration (including its characteristics)
from the local attribute database. |
Andre Guedes |
11 years ago |
2 files, +49, -0 |
| 2514293c |
attrib: Improve Attribute Data length checking
According to Core SPEC, attribute data list must be grouped in elements
of the same size. |
Claudio Takahasi |
11 years ago |
1 file, +17, -23 |
| 58c09774 |
tools: Fix bccmd build with GCC 4.9
Make sure accessing array[63 * 2 + 4] is legal.
tools/bccmd.c: In function ‘cmd_buildname’:
tools/bccmd.c:406:18: error: iteration 63u invokes undefined behavior
[-Werror=aggressive-loop-optimizations]
name[i] = array[(i * 2) + 4]; |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| addb76e7 |
android/hal-gatt: Use fixed size buffer when passing AD to Java
HAL callback is missing length parameter and JNI code always copies
62 bytes from data. |
Szymon Janc |
11 years ago |
1 file, +6, -1 |
| 92e869f4 |
android/bluetooth: Refactor handling on new devices
This fix sending new device found events for non-discoverable devices
as well as passing wrong data to gatt_device_found_cb. |
Szymon Janc |
11 years ago |
1 file, +12, -24 |
| 28ef9c48 |
gobex: Really fix assert this time |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |