Commits

Commit Message Author Age Changes
9b0ff68d android/tester: Make local variable static This variable should be defined as static. Marcin Kraglak 11 years ago 1 file, +1, -1
b67475ac android/tester: Change function names Functions which refers to specific actions should have "action" suffix. Marcin Kraglak 11 years ago 1 file, +16, -9
6791d2b2 android/tester: Fix condition check It may cause NULL pointer dereference. Marcin Kraglak 11 years ago 1 file, +1, -1
40ba9069 android/gatt: Set proper status of write_data Set proper status in write characteristic callback data struct. Marcin Kraglak 11 years ago 1 file, +1, -0
7426f4ca TODO: Add item to support included services in shared/gatt-client. Arman Uguray 11 years ago 1 file, +9, -0
6fc35277 android/tester: Explicitly set IO capabilities for SSP pairing tests Those tests are periodically broken every time default IO capabalities are changed. This patch sets them explicitely to avoid this breakage. Jakub Tyszkowski 11 years ago 1 file, +9, -0
0c7c4a6c health: Use proper type for tid tid holds glib source id and should be of guint type. This fix following compilation error with musl: CC profiles/health/bluetoothd-hdp.o profiles/health/hdp.c:84:2: error: unknown type name 'uint' uint tid; /* echo timeout */ ^ Please enter the commit message for your changes. Lines starting Szymon Janc 11 years ago 1 file, +1, -1
114b5a3f android/client: Fix compilation errors with musl Fix number of build errors similar to: CC android/client/android_haltest-tabcompletion.o android/client/tabcompletion.c: In function 'print_matches': android/client/tabcompletion.c:52:3: error: implicit declaration of function 'strncmp' [-Werror=implicit-function-declaration] if (strncmp(enum_name, prefix, len) == 0) ^ android/client/tabcompletion.c: In function 'split_command': android/client/tabcompletion.c:87:3: error: implicit declaration of function 'strncpy' [-Werror=implicit-function-declaration] strncpy(arg->ntcopy, arg->origin, len); ^ Szymon Janc 11 years ago 8 files, +9, -2
56545bb2 android/pan: Fix compilation error with musl CC android/pan.o android/pan.c: In function 'bridge_if_down': android/pan.c:153:33: error: 'caddr_t' undeclared (first use in this function) err = ioctl(sk, SIOCSIFFLAGS, (caddr_t) &ifr); ^ android/pan.c:153:33: note: each undeclared identifier is reported only once for each function it appears in Makefile:5422: recipe for target 'android/pan.o' failed make[1]: *** [android/pan.o] Error 1 Szymon Janc 11 years ago 1 file, +1, -0
29ec84e8 obexd: Fix compilation error with musl CC obexd/plugins/obexd-filesystem.o In file included from obexd/plugins/filesystem.c:40:0: /usr/include/wait.h:1:2: error: #warning redirecting incorrect #include <wait.h> to <sys/wait.h> [-Werror=cpp] #warning redirecting incorrect #include <wait.h> to <sys/wait.h> ^ cc1: all warnings being treated as errors Makefile:6447: recipe for target 'obexd/plugins/obexd-filesystem.o' failed make[1]: *** [obexd/plugins/obexd-filesystem.o] Error 1 Szymon Janc 11 years ago 1 file, +1, -1
37cd91c3 core: Fix compilation error with musl CC profiles/alert/bluetoothd-server.o In file included from profiles/alert/server.c:49:0: ./src/textfile.h:24:1: error: unknown type name 'mode_t' int create_file(const char *filename, const mode_t mode); ^ Makefile:7469: recipe for target 'profiles/alert/bluetoothd-server.o' failed make[1]: *** [profiles/alert/bluetoothd-server.o] Error 1 Makefile:3072: recipe for target 'all' failed Szymon Janc 11 years ago 1 file, +1, -0
fc4050dc alert: Fix compilation error with musl CC profiles/alert/bluetoothd-server.o In file included from profiles/alert/server.c:49:0: ./src/textfile.h:24:1: error: unknown type name 'mode_t' int create_file(const char *filename, const mode_t mode); ^ Makefile:7469: recipe for target 'profiles/alert/bluetoothd-server.o' failed make[1]: *** [profiles/alert/bluetoothd-server.o] Error 1 Makefile:3072: recipe for target 'all' failed Szymon Janc 11 years ago 1 file, +3, -0
46f67847 shared: Fix compilation errors with musl C src/shared/hci.o src/shared/hci.c: In function 'send_command': src/shared/hci.c:139:2: error: implicit declaration of function 'writev' [-Werror=implicit-function-declaration] if (writev(fd, iov, iovcnt) < 0) ^ cc1: all warnings being treated as errors Makefile:5422: recipe for target 'src/shared/hci.o' failed make[1]: *** [src/shared/hci.o] Error 1 Szymon Janc 11 years ago 1 file, +1, -0
51ec4fd8 tools: Fix compilation errors with musl This fix number of includes for <sys/poll.h> instead of <poll.h> CC tools/hciattach.o In file included from tools/hciattach.c:41:0: /usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror=cpp] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> ^ Szymon Janc 11 years ago 12 files, +12, -11
921894c4 android/hal-audio: Fix compilation errors with musl CC android/android_audio_a2dp_default_la-hal-audio-sbc.lo android/hal-audio-sbc.c: In function 'sbc_codec_init': android/hal-audio-sbc.c:269:2: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] sbc_data = calloc(sizeof(struct sbc_data), 1); ^ android/hal-audio-sbc.c:269:13: error: incompatible implicit declaration of built-in function 'calloc' [-Werror] sbc_data = calloc(sizeof(struct sbc_data), 1); ^ android/hal-audio-sbc.c: In function 'sbc_cleanup': android/hal-audio-sbc.c:291:2: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] free(codec_data); ^ android/hal-audio-sbc.c:291:2: error: incompatible implicit declaration of built-in function 'free' [-Werror] cc1: all warnings being treated as errors Szymon Janc 11 years ago 1 file, +1, -0
b1ed44f5 lib: Fix compilation error with musl CC lib/hci.lo In file included from lib/hci.c:39:0: /usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror=cpp] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> ^ cc1: all warnings being treated as errors Szymon Janc 11 years ago 1 file, +1, -1
5b23bead sap: Fix compilation errors with musl Fix multiple errors similar to: profiles/sap/sap-u8500.c: In function 'send_request': profiles/sap/sap-u8500.c:288:3: error: implicit declaration of function 'strerror' [-Werror=implicit-function-declaration] sap_error("sending request failed: %s", strerror(ENOMEM)); ^ profiles/sap/sap-u8500.c:288:3: error: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Werror=format=] profiles/sap/sap-u8500.c:297:3: error: implicit declaration of function 'memcpy' [-Werror=implicit-function-declaration] memcpy(msg->payload, param->val, param->len); ^ Szymon Janc 11 years ago 1 file, +1, -0
665c5177 Monitor: Add AVRCP GetElementAttributes support Support for decoding AVRCP GetElementAttributes added in Bluetooth monitor. Vikrampal Yadav 11 years ago 1 file, +167, -0
ecd5afd6 shared/gatt-client: Remove stray line. Remove copy-paste artifact. Arman Uguray 11 years ago 1 file, +0, -1
bfcadcc9 TODO: shared/gatt-client now handles Service Changed Arman Uguray 11 years ago 1 file, +0, -7
a7d53b96 tools/btgatt-client: Set service changed handler. btgatt-client now sets a service changed handler by calling bt_gatt_client_set_service_changed. Arman Uguray 11 years ago 1 file, +34, -0
01a0c628 shared/gatt-client: Add bt_gatt_client_set_service_changed. This patch introduces the bt_gatt_client_set_service_changed function which allows upper layers to register a callback with gatt-client for "Service Changed" events. The callback gets invoked for each indication from the Service Changed characteristic after service discovery within the changed range has completed and gatt-client's service cache has been updated. Arman Uguray 11 years ago 2 files, +43, -5
d54f76a7 shared/gatt-client: Add handler for "Service Changed" if GATT service changes. If the GATT service on a peripheral changes gatt-client unregisters its handler for "Service Changed" indications. This patch adds code that re-registers the handler at the end of re-discovery if there was a change in the Service Changed characteristic. Arman Uguray 11 years ago 1 file, +45, -3
6f26943b shared/gatt-client: Rediscover services within changed range. This patch adds the discovery step of handling "Service Changed". A primary service discovery is performed within the affected handle range and results are inserted into the service list as a contiguous block of services, sorted by handle. Arman Uguray 11 years ago 1 file, +106, -5
83612212 shared/gatt-client: Remove effected services from cache on Service Changed. This patch implements the first step of handling "Service Changed", which involves removing all effected services from the internal list of services and removing all registered notify handlers that have a handle on a characteristic within the effected handle range. Arman Uguray 11 years ago 1 file, +194, -51
f82aa0c7 shared/gatt-client: Register "Service Changed" handler as part of init. This patch changes shared/gatt-client so that a struct bt_gatt_client registers a handler for indications from the "Service Changed" characteristic at the end of its init sequence if the characteristic was discovered. The handles for the Service Changed characteristic value and the GATT service are stored during discovery. Arman Uguray 11 years ago 1 file, +98, -5
97719697 shared/gatt-client: Make service discovery more modular. This patch makes the existing service discovery procedures more modular by making the following changes: - Don't accumulate the discovery results in struct bt_gatt_client's internal service list. Instead, accumulate them inside struct discovery_op and assign them to bt_gatt_client during completion. - Add a completion callback to struct discovery_op which gets called at the end of a discovery operation. This allows discovery ops triggered for different reasons (e.g. init vs "Service Changed") to process discovery results separately. Arman Uguray 11 years ago 1 file, +49, -31
8e97aeb5 shared/gatt-helpers: Allow service discovery by handle range. This patch adds the "start" and "end" parameters to bt_gatt_discover_primary_services to allow restricting the service discovery procedure to a handle range. Also added the bt_gatt_discover_all_primary_services function which internally calls bt_gatt_discover_primary_services within the handles 0x0001 and 0xffff. Arman Uguray 11 years ago 3 files, +36, -11
570c9356 shared/hfp: Remove not used permissive_syntax value It was planned to be used in case of some unspecified commands, but in the end we did not have to use it Lukasz Rymanowski 11 years ago 1 file, +0, -12
6d7bbf76 android: Use common watch for start and shutdown timeouts Both start and shutdown timeouts use same callback function. This also fix not removing watch on daemon shutdown. Szymon Janc 11 years ago 1 file, +12, -11
c6f14442 android: Fix not clearing up start timeout watch If start failed due to no adapter being ready before timeout fired invalid watch was removed on shutdown resulting in: (bluetoothd:17083): GLib-CRITICAL **: Source ID 2 was not found when attempting to remove it Szymon Janc 11 years ago 1 file, +3, -0
5ea5f32b android: Move BLUEZ_EXTENSIONS to AM_CFLAGS Szymon Janc 11 years ago 1 file, +2, -2
e704147b android/build: Add BLUEZ_EXTENSIONS to default cflags This is to be sure that all modules knows when we use extensions. Jakub Tyszkowski 11 years ago 1 file, +4, -4
8bef2d6e android/handsfree-client: Implement hf client events This patch implements skeleton for following events: 1. Volume Changed event 2. Command Complete event 3. Subscriber Info event 4. In Band Ringtone event 5. Last Voice Tag Number event 6. RING notification event Lukasz Rymanowski 11 years ago 2 files, +133, -0
7d0a423e android/handsfree-client: Implement hf client events This patch implements skeleton for following events: 1. Call Indicator event 2. Call Setup Indicator event 3. Call Held Indicator event 4. Response and Hold Status event 5. Add Call Waiting and Call Line Ident. events 6. Add Current Client Call event Lukasz Rymanowski 11 years ago 2 files, +180, -0
d346ba92 android/handsfree-client: Implement hf client events This patch implements skeleton for following events: 1. Network State event 2. Network Roaming State event 3. Network Signal Strenght event 4. Battery Level event 5. Operator Name event Lukasz Rymanowski 11 years ago 2 files, +98, -0
acc2181e android/handsfree-client: Implement hf client events This patch implements skeleton for following events: 1. Connection State event 2. Audio Connection State event 3. Voice Recognition State event Lukasz Rymanowski 11 years ago 2 files, +85, -0
50f81aa7 android/handsfree-client: Fix defines for action command Lukasz Rymanowski 11 years ago 1 file, +4, -4
4d812930 android/hal-ipc-api: Fix location size and add missing feature list This patch changes location size of Dial Memory command to 4 bytes in order to be consistent with HAL API It also adds missing peer and chld features values. Size of those features also has been changed to be consisten with HAL API. Lukasz Rymanowski 11 years ago 1 file, +32, -4
f9177617 android: Add debug prints with configure options Szymon Janc 11 years ago 1 file, +9, -0
0c4a2495 android/hal-bluetooth: Fix wrong length in configuration command HAL was sending extra byte at the end of command. Refactor code to use pointer + offset and avoid less intuitive pointers subtraction. Syscall param sendmsg(msg.msg_iov[1]) points to uninitialised byte(s) at 0x53529BD: ??? (syscall-template.S:81) by 0x6D96197: hal_ipc_cmd (hal-ipc.c:369) by 0x6D8D41E: send_configuration (hal-bluetooth.c:453) by 0x6D8EC16: init (hal-bluetooth.c:489) by 0x412B20: setup (tester-main.c:1411) by 0x40CE05: setup_callback (tester.c:394) by 0x5083CE4: g_main_context_dispatch (in /lib/x86_64-linux-gnu/ libglib-2.0.so.0.4000.0) by 0x5084047: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0) by 0x5084309: g_main_loop_run (in /lib/x86_64-linux-gnu/ libglib-2.0.so.0.4000.0) by 0x40DB4C: tester_run (tester.c:815) by 0x40259E: main (tester-main.c:2335) Address 0xffefffe31 is on thread 1's stack Szymon Janc 11 years ago 1 file, +6, -14
a85ffb4a doc/obex-api: Mark DatabaseIdentifier as optional There is no need to declare DatabaseIdentifier in case it is invalid since by omitting it should indicate GetVersion is not supported. Luiz Augusto von Dentz 11 years ago 1 file, +1, -3
cf536161 obexd: Fix the double check for agent Removes the check for NULL agent. Gowtham Anandha Babu 11 years ago 1 file, +1, -2
a2485629 android/README: Update customization section Szymon Janc 11 years ago 1 file, +11, -3
f7719796 android/bluetoothd-wrapper: Fix indentation Szymon Janc 11 years ago 1 file, +3, -3
bc5b5fdf android: Use helper for accesing Android properties Szymon Janc 11 years ago 4 files, +23, -32
0ff83edf android/hal: Add helper for quering config from Android properties Helper searches config in "persis.sys.bluetooth." and "ro.bluetooth." namespaces and allows to fallback to custom property if none is found. Szymon Janc 11 years ago 4 files, +37, -0
6024744b android/hal-bluetooth: Add support for sending configuration Szymon Janc 11 years ago 1 file, +57, -0
c829bff4 android/gatt: Use configuration data for device information profile Szymon Janc 11 years ago 1 file, +63, -52
ca5140b3 android/bluetooth: Use model name for default adapter name Szymon Janc 11 years ago 1 file, +12, -5
Previous Next