Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-bluetooth-bluez: List of commits

external/bluetooth/bluez


RSS
Rev. Time Author
099c703 q-x86 r-x86 2019-09-26 18:51:45 Chih-Wei Huang

Remove obsolete LOCAL_MODULE_TAGS

LOCAL_MODULE_TAGS value eng and debug are now obsolete.

d7e9f1e pie-x86 android-x86-9.0-r1 android-x86-9.0-r2 2019-03-13 17:02:53 Chih-Wei Huang

hciattach_rtk: fix cast-align errors

To avoid the errors:

external/bluetooth/bluez/tools/hciattach_rtk.c:798:43: error: cast from 'RT_U8 *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Werror,-Wcast-align]
RS_DBG("BD Address: %8x%8x", *(int*)&skb->data[1], *(int*)&skb->data[5]);
^~~~~~~~~~~~~~~~~~~
external/bluetooth/bluez/tools/hciattach_rtk.c:88:58: note: expanded from macro 'RS_DBG'
fprintf(stderr, "%s :" fmt "\n" , LOG_STR, ##arg); \
^~~
external/bluetooth/bluez/tools/hciattach_rtk.c:798:65: error: cast from 'RT_U8 *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Werror,-Wcast-align]
RS_DBG("BD Address: %8x%8x", *(int*)&skb->data[1], *(int*)&skb->data[5]);
^~~~~~~~~~~~~~~~~~~
external/bluetooth/bluez/tools/hciattach_rtk.c:88:58: note: expanded from macro 'RS_DBG'
fprintf(stderr, "%s :" fmt "\n" , LOG_STR, ##arg); \
^~~
external/bluetooth/bluez/tools/hciattach_rtk.c:1380:12: error: cast from 'RT_U8 *' (aka 'unsigned char *') to 'RT_U16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Werror,-Wcast-align]
memcpy((RT_U16*)&cmd[4], &baudrate, 4);
^~~~~~~~~~~~~~~~
external/bluetooth/bluez/tools/hciattach_rtk.c:1653:12: error: cast from 'unsigned char *' to 'RT_U16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Werror,-Wcast-align]
memcpy((RT_U16*)&cmd[3], &baudrate, 4);
^~~~~~~~~~~~~~~~
4 errors generated.

e087eae 2019-03-13 12:02:54 Chih-Wei Huang

android: avoid warnings

5f57f97 2019-02-22 18:53:21 Chih-Wei Huang

hciattach_rtk: avoid a compiling error

external/bluetooth/bluez/tools/hciattach_rtk.c:749:9: error: variable 'i' is incremented both in the loop header and in the loop body [-Werror,-Wfor-loop-analysis]
i++;
^

de7b62e nougat-x86 oreo-x86 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6 2017-06-07 10:52:44 Chih-Wei Huang

Add RTL8723BS Bluetooth tool

Copy and modify from https://github.com/lwfinger/rtl8723bs_bt.

169cdc4 2017-06-01 12:31:26 Chih-Wei Huang

android: btattach: get options from properties

Since Android 7.0 the services can't accept arguments from cmdline.
To workaround it, let btattach get options from android properties.

baaff8b 2017-06-01 12:28:29 Chih-Wei Huang

android: disable BlueZ stack

The BlueZ stack was broken in Android 7.0. Unfortunately the
main BlueZ developers have no time to fix it.

Let's switch back to AOSP's Fluoride Bluetooth stack.
However, we still need some BlueZ tools like btattach.

a9c504a 2017-06-01 12:28:29 Jaap Jan Meijer

android: cm: update interfaces for CM 13.0 (6.0.1 r52)

b47a832 2017-06-01 12:28:29 Chih-Wei Huang

android: fix building errors on android-6.0.1_r52

Fix all Android Bluetooth APIs mismatching.

Treat all warnings as errors to avoid overlooking such issues
in the future.

047d04c 2017-06-01 12:28:28 Jaap Jan Meijer

Android: Add interfaces for CM 13.0

Signed-off-by: Jaap Jan Meijer <jjmeijer88@gmail.com>

fa51d1e 2017-06-01 12:28:28 Jaap Jan Meijer

Android: Add CM_ANDROID_VERSION macro

Signed-off-by: Jaap Jan Meijer <jjmeijer88@gmail.com>

4e37182 2017-06-01 12:28:28 Chih-Wei Huang

android: add dummy implementation for new functions

Some new functions were added since android-6.0.1_r31.
Add dummy implementation to avoid crashing the Bluetooth service.

78e47e0 2017-06-01 12:28:19 Jaap Jan Meijer

android: add btattach (the successor to hciattach)

b026856 2017-06-01 12:26:03 André Vitor

android: Update device class info

Android-x86 devices are not phone.

c12918c 2017-06-01 12:26:03 Andre Vitor

Update signal socket structure to match Android 6.0

Android 6.0 introduced l2cap sockets to the bluetooth framework.
One of the changes modified the signal socket structure by
adding two unsigned short for l2cap use only.

3186ddf 2017-06-01 12:26:03 Chih-Wei Huang

android: fix building errors on Android 6.0

Change libhal to match the new HAL headers.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

26dcd73 2017-06-01 12:26:03 Chih-Wei Huang

android: fix building errors of the 64-bit targets

Some functions prototypes are not declared implicitly for
the Android 6.0 64-bit targets that result in the errors:

external/bluetooth/bluez/android/hal-ipc.c: In function 'notification_handler':
external/bluetooth/bluez/android/hal-ipc.c:143:3: error: implicit declaration of function 'memset' [-Werror=implicit-function-declaration]
memset(&msg, 0, sizeof(msg));
^
external/bluetooth/bluez/android/log.c: In function 'init_logd':
external/bluetooth/bluez/android/log.c:175:2: error: implicit declaration of function 'memset' [-Werror=implicit-function-declaration]
memset(&addr, 0, sizeof(addr));
^

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

1c0031e 2017-06-01 12:26:03 Chih-Wei Huang

android: remove bluetooth-headers

The Android build system discourages from copying headers.
Besides, it's incorrect to do actions in the make shell function.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

0eea107 2017-06-01 12:26:02 Chih-Wei Huang

shared/utils: add the missing header <strings.h>

It defines the prototype of ffs() that fixes the building errors
of an Android 6.0 64-bit target.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

a6647c8 2017-06-01 12:26:02 Chih-Wei Huang

android: tools: add brcm_patchram_plus

5ee722e 2017-05-05 06:05:21 Marcel Holtmann

Release 5.45

e9c76b0 2017-05-02 20:59:03 Marcin Kraglak

core/gatt-client: Add support for Includes property

Add implementation of Includes property in GATT service interface.
Include services are updated after exporting all services, when new service
has been added or service was removed.

535913b 2017-05-02 20:22:37 Luiz Augusto von Dentz

unit/test-gatt: Add test for unknown request

This send an unknown command (0xff) to test that no response is sent
since the spec mandates the server to not respond to commands:

BLUETOOTH SPECIFICATION Version 5.0 | Vol 3, Part F page 2179

'If a server receives a command that it does not support, indicated
by the Command Flag of the PDU set to one, then the server shall
ignore the Command.'

d99df1d 2017-05-02 20:22:37 Luiz Augusto von Dentz

unit/test-gatt: Add test for unknown request

This send an unknown request (0xbf) to test if a response is sent since
the spec mandates the server to always respond to all requests it
receives:

BLUETOOTH SPECIFICATION Version 5.0 | Vol 3, Part F page 2173

'A client may send attribute protocol requests to a server, and the
server shall respond to all requests that it receives.'

de01c27 2017-05-02 20:22:37 Luiz Augusto von Dentz

shared/att: Respond to any opcode that is not command

Although get_op_type does now check for the command mask it must
respond to anything other than ATT_OP_TYPE_CMD since there is no mask
for response opcode.

e605164 2017-05-02 18:06:31 Marcel Holtmann

emulator: Improved handling of Set Default PHY command

c2713b6 2017-05-02 16:45:54 Marcel Holtmann

monitor: Change decoding for channel selection algorithm event

9535418 2017-05-02 15:43:18 Marcel Holtmann

emulator: Enable LE power class and minimum channels feature

8d6646f 2017-05-02 15:04:59 Marcel Holtmann

emulator: Fix comments for event mask descriptions

eb129aa 2017-05-02 14:53:27 Marcel Holtmann

monitor: Fix handling of Set Default PHY command complete event

Show on old repository browser