| 8d9e681d |
core: Remove dead code
rfcomm can only be NULL in this path |
Andrei Emeltchenko |
11 years ago |
1 file, +0, -4 |
| ea2254fd |
cups: Remove dead code |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -6 |
| 9d08490a |
android/gatt: Fix length check
Function fill_gatt_response() has check shown below:
if (!len)
return;
This eliminates clang warning:
...
android/gatt.c:4443:3: warning: Function call argument is an
uninitialized value
fill_gatt_response(resp_data, resp_data->handle,
... |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| f243bda1 |
android/tester: Remove unused assignment
Fixes clang warning:
...
android/android-tester.c:1014:2: warning: Value stored to 'status' is
never read
status =
data->if_bluetooth->get_remote_device_property(&remote_addr, prop.type);
1 warning generated.
... |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 2560fdb7 |
android/haltest: Add check for valid channel
Channel is got from user and needs to be validated before use as index
in the array. |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -0 |
| 2f1ea348 |
android/gatt: Add missing error check
Fixes clang warning:
...
android/gatt.c:2097:4: warning: Value stored to 'srvc_search_success' is
never read
srvc_search_success = search_dev_for_srvc(conn, NULL);
... |
Andrei Emeltchenko |
11 years ago |
1 file, +6, -2 |
| da16db5a |
android/hal-gatt: Remove unneeded never read initialization
Fixes clang warning:
...
android/hal-gatt.c:1021:3: warning: Value stored to 'data' is never read
data += service_uuid_len;
^ ~~~~~~~~~~~~~~~~
1 warning generated.
... |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -3 |
| 81aaa6f8 |
android/haltest: Auto-accept pairing
Simplify PTS testing by asking for pairing consent. |
Andrei Emeltchenko |
11 years ago |
1 file, +15, -1 |
| b1e91f77 |
android/gatt: Fix warning by rearranging allocation
We need to allocate array of uint8_t so fix allocation parameter, this
also removes unneeded type conversion.
This fixes clang warnings:
...
android/gatt.c:5967:29: warning: Result of 'calloc' is converted to a
pointer of type 'uint8_t', which is incompatible with sizeof operand
type 'uint16_t'
entry->value = (uint8_t *) new0(uint16_t, 1);
~~~~~~~~~ ^~~~~~~~~~~~~~~~~
./src/shared/util.h:81:26: note: expanded from macro 'new0'
^~~~~~ ~~~~~~~~~
... |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 53b22f44 |
android/hal-msg: trivial: Correct coding style
Move rsp close to cmd improving readability of the code. |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -4 |
| c04629c7 |
android/gatt: Change DBG() to error() |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 46c97c9a |
android/gatt: Fix memory leak
Fixes clang warnings:
...
android/gatt.c:2823:1: warning: Potential leak of memory pointed to by
'cb_data'
... |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -1 |
| 73529e53 |
monitor: Fix possible resource leak
This fixes following memory leak:
...
==14887== 24 bytes in 1 blocks are definitely lost in loss record 2 of 4
==14887== at 0x4C2CC70: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14887== by 0x425B6C: btsnoop_open (btsnoop.c:83)
==14887== by 0x424837: analyze_trace (analyze.c:262)
==14887== by 0x40249A: main (main.c:189)
... |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 708ec91a |
android/README: Add HealthService fix to recommended AOSP patches |
Szymon Janc |
11 years ago |
1 file, +1, -0 |
| e90bc341 |
android/README: Add section with bug reporting instructions |
Szymon Janc |
11 years ago |
1 file, +10, -0 |
| 916ca5ca |
android/README: Mark health implementation as complete |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 82539c2f |
doc: Remove the unneeded auto-connect and encrypt action |
Marcel Holtmann |
11 years ago |
1 file, +1, -10 |
| 0b0ea461 |
tools: Add string for now external configuration option |
Marcel Holtmann |
11 years ago |
1 file, +1, -0 |
| 22ddae4b |
lib: Adjust for new Set External Configuration mgmt command |
Marcel Holtmann |
11 years ago |
1 file, +9, -2 |
| 5712fbe1 |
doc: Add Set External Configuration management command |
Marcel Holtmann |
11 years ago |
1 file, +38, -2 |
| bca5998f |
doc: Add comments on how blocked devices interact with auto-connection |
Marcel Holtmann |
11 years ago |
1 file, +17, -1 |
| d74bfda4 |
doc: Add notes about Add Device Action 0x02 and directed advertising |
Marcel Holtmann |
11 years ago |
1 file, +18, -4 |
| 373b5385 |
tools: Add support for set public address command |
Marcel Holtmann |
11 years ago |
1 file, +41, -0 |
| 653476ff |
lib: Add definitions for set public address command |
Marcel Holtmann |
11 years ago |
1 file, +6, -0 |
| ec0b2402 |
tools: Add support for reading controller configuration info |
Marcel Holtmann |
11 years ago |
1 file, +58, -4 |
| 94616862 |
lib: Add definitions for reading controller configuration info |
Marcel Holtmann |
11 years ago |
1 file, +11, -0 |
| 1bd22007 |
doc: Update the controller configuration parameter naming |
Marcel Holtmann |
11 years ago |
1 file, +11, -11 |
| a86c69e9 |
doc: Add extra empty line |
Marcel Holtmann |
11 years ago |
1 file, +1, -0 |
| f4d07701 |
doc: More updates for management version 1.7 features |
Marcel Holtmann |
11 years ago |
1 file, +5, -3 |
| c5a19dde |
test: Allow to pass custom DataType to test-health-sink |
Szymon Janc |
11 years ago |
1 file, +5, -1 |
| e6099e45 |
test: Fix getting devices in health test scripts |
Szymon Janc |
11 years ago |
2 files, +22, -2 |
| afb9c8ff |
lib: Update company identifiers |
Marcel Holtmann |
11 years ago |
1 file, +17, -1 |
| a29e487d |
android/hal-health: Fix do not modify fd flags in non connected state
Only on BTHL_CONN_STATE_CONNECTED state valid fd will be passed. Other states
fd value is -1. Just call channel status call back. |
Ravi kumar Veeramally |
11 years ago |
1 file, +4, -0 |
| 95a476ff |
android/hal-health: Clear NONBLOCK flag from fd
Java expects file descriptor passed with channel_state_cb() to be
blocking. |
Andrei Emeltchenko |
11 years ago |
1 file, +16, -0 |
| c8a8eeb8 |
tools/mgmt-tester: Fix details of Load Conn Params test case |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |
| cb77fd4f |
doc: Update test coverage |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |
| a0d4d165 |
tools/mgmt-tester: Add buffer overflow test cases |
Johan Hedberg |
11 years ago |
1 file, +23, -0 |
| 066f353c |
android/pics: Update HDP settings
IEEE 11073 Agent role is for heatlh devices. |
Szymon Janc |
11 years ago |
2 files, +2, -2 |
| 90af2bb5 |
android/gatt: Fix duplicate const |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| fad2138c |
android: Fix local variables not being marked as static |
Luiz Augusto von Dentz |
11 years ago |
2 files, +6, -6 |
| 348b5af2 |
android: Fix non-ANSI function declaration |
Luiz Augusto von Dentz |
11 years ago |
4 files, +6, -6 |
| 697110ce |
android: Fix using plain integer as NULL pointer |
Luiz Augusto von Dentz |
11 years ago |
10 files, +127, -130 |
| e0d8e367 |
tools: Add command for reading unconfigured controller list |
Marcel Holtmann |
11 years ago |
1 file, +63, -0 |
| 14306b99 |
tools: Monitor the Unconfigured Index Added/Removed events |
Marcel Holtmann |
11 years ago |
1 file, +18, -0 |
| 3a88a270 |
doc: Add support for Unconfigured Index Removed event |
Marcel Holtmann |
11 years ago |
1 file, +17, -6 |
| 92825847 |
lib: Add definition for Read Unconfigured Index List command |
Marcel Holtmann |
11 years ago |
1 file, +7, -0 |
| 87911c47 |
monitor: Decode Unconfigured Index Removed control event |
Marcel Holtmann |
11 years ago |
1 file, +16, -6 |
| 5509d611 |
lib: Add definition for Unconfigured Index Removed event |
Marcel Holtmann |
11 years ago |
1 file, +3, -0 |
| f8eecdc8 |
monitor: Decode Unconfigured Index Added control event |
Marcel Holtmann |
11 years ago |
1 file, +10, -0 |
| 2517c3cb |
lib: Add definition for Unconfigured Index Added event |
Marcel Holtmann |
11 years ago |
1 file, +3, -0 |