| 37641548 |
doc: Add number of AVCTP test case coverage |
Marcel Holtmann |
11 years ago |
1 file, +2, -1 |
| 2d97679b |
monitor: Just skip packets with an unknown opcode |
Marcel Holtmann |
11 years ago |
1 file, +3, -0 |
| d7c40c78 |
monitor: Add support for reading Apple Packet Logger traces |
Marcel Holtmann |
11 years ago |
4 files, +95, -11 |
| ed1d75be |
android/test-ipc: Use correct boolean values for glib functions |
Anderson Lizardo |
11 years ago |
1 file, +2, -2 |
| 625fb585 |
android/hal-ipc-api: Add Register Notification Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +36, -1 |
| 8c897760 |
android/hal-ipc-api: Add Set Player Attributes Value Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +13, -0 |
| aad6de2e |
android/hal-ipc-api: Add Get Element Attributes Text Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +31, -2 |
| c333844d |
android/hal-ipc-api: Add Get Player Values Text Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +15, -1 |
| c5522c9b |
android/hal-ipc-api: Add Get Player Attributes Text Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +23, -1 |
| 0ff57302 |
android/hal-ipc-api: Add Get Player Attributes Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +22, -1 |
| 341fe1cd |
android/hal-ipc-api: Add List Player Values Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +14, -1 |
| abe47600 |
android/hal-ipc-api: Add List Player Attributes Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +24, -1 |
| 94b3b2b7 |
android/hal-ipc-api: Add Get Play Status Response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +45, -1 |
| 6898ecdf |
emulator: Update copyright and license details |
Marcel Holtmann |
11 years ago |
5 files, +50, -50 |
| a6d0df89 |
android/socket: Fix wrong memory access
This fixes accessing proto[2] in the code. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 71f66813 |
android/README: Update with implementation status summary
This will give a better overview of implemented features. |
Szymon Janc |
11 years ago |
1 file, +33, -5 |
| 968be403 |
android/socket: Fix sockets security
Socket security shall be based on flags passed from HAL.
Android public API uses both encrypt and auth flags for "secure"
sockets which should be mapped to high security on our side, but since
this would also trigger requirement for 16-digits pin code (which is
not used in Android) we'll ignore auth flag and use either low or
medium security based on encrypt flag value only. |
Andrzej Kaczmarek |
11 years ago |
2 files, +22, -10 |
| 4e3ad171 |
android/socket: Update channel numbers
OPP and PBAP channel numbers are set to same values as in Bluedroid.
Both MAP and SPP use channel numbers assigned dynamically. |
Andrzej Kaczmarek |
11 years ago |
1 file, +4, -6 |
| 5b2756dd |
android/socket: Include HF AG in built-in profiles
This patch adds entry for HF AG profile in built-in profiles list. This
it to reserve channel number so it's not assigned to other service
registered by application. Method for creating SDP record is not
provided so it's not possible for application to register HF AG service
by mistake (this can be only done by handsfree profile implementation). |
Andrzej Kaczmarek |
11 years ago |
1 file, +13, -0 |
| 6c411b18 |
android/socket: Register SDP record for application service
This patch adds SDP record for services registered from application
(other than built-in services). |
Andrzej Kaczmarek |
11 years ago |
1 file, +31, -9 |
| a41087b9 |
android/socket: Add support for dynamic channel numbers
This patch adds support to register server with channel number assigned
dynamically, i.e. first free number is assigned. Channels which are
reserved for built-in services are not assigned for other services. |
Andrzej Kaczmarek |
11 years ago |
1 file, +23, -3 |
| f6b4d248 |
android/tester: Update test data
Trying to listen on already assigned channel will now return busy
status instead of just fail. |
Andrzej Kaczmarek |
11 years ago |
1 file, +1, -1 |
| 7f9ab50d |
android/socket: Make servers list as static array
Since there is only small, fixed number of channels to allocate for
RFCOMM servers we can store them in static array. This will make
lookup for free channel simpler once we add support to assign channel
numbers dynamically.
At startup, channels reserved for built-in services which have static
channel number are marked as reserved so they cannot be assigned for
other service. |
Andrzej Kaczmarek |
11 years ago |
1 file, +37, -7 |
| 18f045b5 |
android/socket: Simplify SDP records handling
Records are now created using helper function which creates SDP record
with common contents like service class, name and protocols. Other
attributes are then added by custom functions. |
Andrzej Kaczmarek |
11 years ago |
1 file, +80, -201 |
| a5e248b2 |
android/socket: Improve logging
This patch makes logging more consistent by including rfsock pointer in
most messages which identifies socket structure unambigously (instead
of using bunch of file descriptors for the same purpose) and puts other
parameters in order in some cases.
Additionally, some new logs are introduced to better track socket
structures and connections lifetime. |
Andrzej Kaczmarek |
11 years ago |
1 file, +43, -28 |
| 30023350 |
android/socket: Refactor socket related symbol names
This patch changes names of symbols related to various sockets to be
consistent and easier to follow in code.
Symbols related to actual BT (RFCOMM) socket are prefixed with "bt_".
Symbols related to local socket for Java comm are prefixed with "jv_".
Remote socket for Java comm is called "hal_sock". |
Andrzej Kaczmarek |
11 years ago |
1 file, +95, -91 |
| eb5e7f97 |
android/bluetooth: Handle 128-bit UUIDs
It's now possible to add record with 128-bit UUID Service Class which
are used for custom applications. To simplify implementation adapter
uuids list stores now full UUID in uuid_t structure instead of uint16_t
short UUID. |
Andrzej Kaczmarek |
11 years ago |
1 file, +21, -40 |
| b751d189 |
android: Fix btmon build |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 8e2a1c26 |
unit: Fix memory leaks in gobex tests |
Anderson Lizardo |
11 years ago |
2 files, +4, -0 |
| 124f6f05 |
android: Add test-ipc to "make check" |
Anderson Lizardo |
11 years ago |
2 files, +3, -2 |
| 10be8851 |
android/test-ipc: Fix crash due to invalid ipc_register() parameter
This test checks for proper handling of invalid Service ID on a IPC
message, but it was attempting to register handlers for this invalid ID,
which on current ipc_register() implementation was causing a buffer
overrun.
The fix was to use a valid ID during registration, but still attempt to
use an invalid one when sending the message. |
Anderson Lizardo |
11 years ago |
1 file, +1, -1 |
| e6c0fa06 |
android/client: Fix set_info command
Although this command is not implemented by BlueZ, make sure it is
callable from haltest so at least the IPC can be tested.
Also memset() the hid_info parameter to not pass uninitialized data
around. |
Anderson Lizardo |
11 years ago |
1 file, +8, -2 |
| cdbede85 |
android/hidhost: Trivial coding style fix
Fix two lines over 80 columns. |
Anderson Lizardo |
11 years ago |
1 file, +2, -2 |
| 03a24ae4 |
android/tester: Update SDP PDU after UUID change
Now it is expected to receive a 16-bit UUID for PNP_INFO. |
Anderson Lizardo |
11 years ago |
1 file, +4, -10 |
| 9b00e93b |
android: Use 16-bit UUID for SDP search
These UUIDs are assigned by BT-SIG and therefore there is no need to
use full 128-bit UUIDs. This also avoids unnecessary conversion from
string representation. |
Anderson Lizardo |
11 years ago |
2 files, +4, -6 |
| 849cc4f9 |
tools: Use shared btsnoop.h header file for utility |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| 6d30d42d |
monitor: Use shared btsnoop for reading and writing trace files |
Marcel Holtmann |
11 years ago |
3 files, +41, -31 |
| b1e20ea7 |
shared: Add reading/writing support for btsnoop HCI packets |
Marcel Holtmann |
11 years ago |
2 files, +177, -0 |
| f5bf07f4 |
monitor: Use shared btsnoop code wherever possible |
Marcel Holtmann |
11 years ago |
6 files, +16, -17 |
| 657958bd |
shared: Add data structure for new index monitor event |
Marcel Holtmann |
11 years ago |
1 file, +7, -0 |
| 56fb98f3 |
shared: Update copyright information |
Marcel Holtmann |
11 years ago |
23 files, +23, -23 |
| e691f257 |
monitor: Update copyright and license details |
Marcel Holtmann |
11 years ago |
35 files, +293, -292 |
| cde69653 |
android: Update copyright and license details |
Marcel Holtmann |
11 years ago |
24 files, +248, -241 |
| 6260f507 |
avrcp: Fix sending invalid attributes in GetCurrentPlayerValue
If the response to ListPlayerAttributes contains invalid attributes they
should not be send in GetCurrentPlayerValue. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +19, -9 |
| bc13c6b6 |
avrcp: Fix using incorrect buffer for SetVolume
The command requires one parameter. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 1ee30fa6 |
unit/avctp: Cleanup code, remove fragmentation support |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -14 |
| d3fd69d9 |
unit/avctp: Use pre-defined values instead of magic numbers |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -4 |
| 0a38f7f3 |
android/README: Add Valgrind description |
Andrzej Kaczmarek |
11 years ago |
1 file, +16, -0 |
| 1b7c044d |
android: Add support for Valgrind in debug variants
This patch allows bluetoothd to be run with Valgrind easily in debug
variants.
For userdebug and eng variants bluetoothd is renamed to bluetoothd-main
and bluetoothd acts a wrapper to launch it either with or without
Valgrind (this is decided by value of persist.sys.bluetooth.valgrind
property). |
Andrzej Kaczmarek |
11 years ago |
2 files, +118, -0 |
| ba4702b2 |
android/handsfree: Use uint16_t for buffer length in IPC messages
This will match other IPC messages format. |
Szymon Janc |
11 years ago |
1 file, +6, -6 |