| 33f84d58 |
shared/att: Fix a few compiler warnings |
Marcel Holtmann |
11 years ago |
1 file, +2, -4 |
| 4f524c86 |
shared/att: Handle incoming response PDUs
This patch adds handling for incoming ATT protocol response PDUs. Basic
incoming PDU handling logic added to the io read handler. |
Arman Uguray |
11 years ago |
1 file, +107, -1 |
| 661ae685 |
shared/att: Implement write handler and bt_att_send.
This patch implements the write handler logic, including the way send
operations are process from the various internal queues. Added PDU
encoding for the Exchange MTU request. |
Arman Uguray |
11 years ago |
1 file, +304, -3 |
| f21a18af |
shared/att: Implement basic boilerplate.
This patch implements the getters, setters, creation, ref, and unref
functions for struct bt_att. Also added is a simple table for
determining the ATT op type given an opcode and the io read handler that
currently does nothing. |
Arman Uguray |
11 years ago |
1 file, +286, -20 |
| 8b0625c4 |
shared/att: Introduce struct bt_att.
This patch introduces struct bt_att, which handles the transport and
encoding/decoding for the ATT protocol. The structure of the code
follows that of src/shared/mgmt and lib/mgmt.h, where individual
parameter structures are defined for all ATT protocol requests, responses,
commands, indications, and notifications. The serialization and
endianness conversion for all parameters are handled by bt_att.
struct bt_att is based around struct io and operates on a raw file
descriptor. |
Arman Uguray |
11 years ago |
4 files, +463, -1 |
| 826f869b |
hciconfig: Fix adding missing break |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -0 |
| 70b44b1d |
hcitool: Fix adding missing break |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -0 |
| a47543bd |
bnep: Fix redundant check |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 55115a71 |
monitor: Fix checking boolean return value
Since btsnoop_read_hci() is used from src/shared. |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -2 |
| 7cd5494b |
tools/csr: Fix wrong error check |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -1 |
| 2bdc2f2c |
queue: Fix unreachable code
I assume passing function == NULL means using direct_match() so make it
reachable. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 797b7fe0 |
tools/mpris-player: Fix overflow before type widening
Expression is evaluated using 32-bit arithmetic before conversion to
64-bit. |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -3 |
| d62395d8 |
android/ipc-tester: Fix possible double close
I case of error we may close fd and pipe twice. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| cdbee918 |
doc: Add comment for single mode controllers without public address |
Marcel Holtmann |
11 years ago |
1 file, +13, -2 |
| 155780f2 |
doc/mgmt-api: Fix a couple of typos |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |
| 0df3313c |
doc: Add extra mode for a reduced LE privacy mode |
Marcel Holtmann |
11 years ago |
1 file, +34, -2 |
| 5b77287e |
doc: Add management support for handling connection parameters |
Marcel Holtmann |
11 years ago |
1 file, +75, -0 |
| 38b0958a |
doc: Add mode for enabling generation of debug keys |
Marcel Holtmann |
11 years ago |
1 file, +17, -2 |
| 1d662108 |
client: Wait for D-Bus before processing stdin
This should make it possible to do some scripting with bluetoothctl.
Otherwise stdin is processed before we're connected to D-Bus and most
commands will fail as a consequence. |
Johan Hedberg |
11 years ago |
1 file, +12, -2 |
| 8ec0f87f |
android/health: Fix queue creation for mdeps and devices
Create queue for mdeps, devices and channels when creating app
and device struct. It is simpler to read code than on demand
creation. |
Ravi kumar Veeramally |
11 years ago |
1 file, +13, -20 |
| 8050837e |
Release 5.20 |
Marcel Holtmann |
11 years ago |
2 files, +10, -1 |
| 72db1adb |
build: Update library version |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| 7d9a1daf |
android/pts: Update GAP PTS status
After enabling privacy for peripheral one more test gets enabled in PTS |
Lukasz Rymanowski |
11 years ago |
1 file, +1, -1 |
| d6d1077c |
android/pics: Enable privacy for peripheral |
Lukasz Rymanowski |
11 years ago |
1 file, +4, -4 |
| cf639b06 |
android/bluetooth: Fix loading device address type from storage
Address type is stored as "AddressType" key. Also this is valid only
for LE capable devices. |
Szymon Janc |
11 years ago |
1 file, +4, -4 |
| 96352023 |
android/bluetooth: Pass device to send_device_property function |
Szymon Janc |
11 years ago |
1 file, +9, -11 |
| 60afcc6e |
android/socket: Convert service UUID to 16 or 32 bits if possible |
Szymon Janc |
11 years ago |
1 file, +1, -0 |
| ea7c480d |
android/pts: Update GAP results |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| 4262f0ab |
android/pts: Update GAP results |
Jakub Tyszkowski |
11 years ago |
1 file, +45, -14 |
| a2178814 |
android/gatt: Minor coding style fix |
Jakub Tyszkowski |
11 years ago |
1 file, +2, -1 |
| 4a939b5e |
android/gatt: Fix not freeing discover_srvc_data
This fixes the following issue:
32 bytes in 1 blocks are definitely lost in loss record 92 of 142
==19365== at 0x4C29DB4: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19365== by 0x43275A: search_dev_for_srvc (gatt.c:1302)
==19365== by 0x4354C9: connect_cb (gatt.c:1424)
==19365== by 0x448AD3: accept_cb (btio.c:203)
==19365== by 0x4E79D12: g_main_context_dispatch (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==19365== by 0x4E7A05F: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==19365== by 0x4E7A459: g_main_loop_run (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==19365== by 0x40459D: main (main.c:538) |
Jakub Tyszkowski |
11 years ago |
1 file, +4, -0 |
| a0b7ee93 |
android/pts: Update PTS GAP results |
Marcin Kraglak |
11 years ago |
1 file, +23, -3 |
| fc848cd6 |
android/gatt: Add test command to increase security on link |
Marcin Kraglak |
11 years ago |
2 files, +18, -0 |
| bdd9cb38 |
android/gatt: Set security level if user requested
Set security level if user requested. It is used when frameworks receives
INSUFFICIENT_ENCRYPTION or INSUFFICIENT_AUTHENTICATIONS errors on read/write
requests and tries to elevate security. |
Marcin Kraglak |
11 years ago |
1 file, +69, -0 |
| a58be0ee |
android/hal-msg: Add defines of HAL_GATT_AUTHENTICATION values
These values are are used in read characteristic/write characteristic
functions in gatt_client. |
Marcin Kraglak |
11 years ago |
1 file, +4, -0 |
| b8b7e265 |
android/pts: Add PTS tests for HoG |
Sebastian Chlad |
11 years ago |
2 files, +82, -1 |
| 0d8eab2a |
lib: Update company identifiers |
Marcel Holtmann |
11 years ago |
1 file, +27, -3 |
| a4f7b140 |
android/hal-health: trivial: Remove empty line |
Andrei Emeltchenko |
11 years ago |
1 file, +0, -1 |
| 6bab8b0b |
android/gatt: Fix error check |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| f6ccdc2c |
android/avrcp: Fix adding missing breaks |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -0 |
| dc0b16f0 |
android/ipc-tester: Fix closing invalid fd
Is socket() fails we jumps to failed label. |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -1 |
| 05180482 |
HDP: Add length check
Fixes static analyzer warnings related to casting possible error code to
unsigned. |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -0 |
| 5050a95c |
HDP: trivial: Make code more readable |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 09e69f80 |
android/hal-health: Change scope of mdep
Make code cleaner lowering scope for mdep to the place it is actually
used. |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -1 |
| a02c3696 |
android/health: Fix using uninitialized value err |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 407b7299 |
android/gatt: Move get_sec_level function
This will be used in read and write handlers functions. |
Marcin Kraglak |
11 years ago |
1 file, +16, -16 |
| b2945302 |
android/health: trivial: Remove unneeded NULL assignment |
Andrei Emeltchenko |
11 years ago |
1 file, +0, -1 |
| 4fd1a95d |
android/health: Make coding style consistent for array parameter |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +1, -2 |
| f4101316 |
android/pts: Adjust PICS for HDP |
Sebastian Chlad |
11 years ago |
1 file, +3, -3 |
| bdb60bf2 |
android/pts: PTS test results for HDP |
Sebastian Chlad |
11 years ago |
1 file, +85, -25 |