Commits

Commit Message Author Age Changes
5d5444d6 android/handsfree: Add support for three-way calling This adds code needed for translating phone_state_change command to call, callsetup and callheld indicators. Android HAL specifcy common type for all calls state but only subset of values are valid for phone_state_change. Szymon Janc 11 years ago 1 file, +85, -39
8b644c35 android: Make sure that ipc-common.h is included Marcel Holtmann 11 years ago 1 file, +4, -1
bc7e20a1 android/client: Enable printf format string verification Szymon Janc 11 years ago 3 files, +11, -11
2013f754 android/client: Minor fix in print status Lukasz Rymanowski 11 years ago 1 file, +1, -1
fc6cbace android/client: Fix service search command We should be able to send NULL in case we want all the primary seavices Lukasz Rymanowski 11 years ago 1 file, +8, -6
5409c16e android/hal-bluetooth: Fix passing uninitialized mode on init This fix following Valgrind report: Syscall param sendmsg(msg.msg_iov[1]) points to uninitialised byte(s) at 0x534823D: ??? (syscall-template.S:81) by 0x5F68689: hal_ipc_cmd (hal-ipc.c:357) by 0x5F6240B: init (hal-bluetooth.c:437) by 0x4128C0: setup_base (android-tester.c:2594) by 0x40DDE5: setup_callback (tester.c:380) by 0x50803B5: g_main_context_dispatch (in /lib/x86_64-linux-gnu/ libglib-2.0.so.0.3800.1) by 0x5080707: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3800.1) by 0x5080B09: g_main_loop_run (in /lib/x86_64-linux-gnu/ libglib-2.0.so.0.3800.1) by 0x40EA0C: tester_run (tester.c:798) by 0x404475: main (android-tester.c:4864) Address 0x7ff0002b1 is on thread 1's stack Szymon Janc 11 years ago 1 file, +1, -0
767df769 android/tester: Don't verify test conditions if test is done This avoids callbacks still being called when test result is already decided and teardown procedure has already been triggered. Jakub Tyszkowski 11 years ago 1 file, +17, -13
037a592b android/hsp: PTS tests results for HSP Sebastian Chlad 11 years ago 2 files, +43, -1
f3a9cfe9 android/client: Fix segfault (invalid argv) for gatt scan This patch fix segfault driven by lack of 4 element in avrg array. If user put only two arguments, reading of lacking (auto set to start=1) third argument, will trigger segfault. Grzegorz Kolodziejczyk 11 years ago 1 file, +1, -1
b62eb18e Replace bt_put_le32() by put_le32() Claudio Takahasi 11 years ago 3 files, +3, -3
4a2eb105 shared: Add put_le32() Add helper to put uint32 values to the given pointer using little-endian representation. Claudio Takahasi 11 years ago 1 file, +5, -0
7899d712 Replace bt_put_le16() by put_le16() Claudio Takahasi 11 years ago 5 files, +13, -5
68959ca0 shared: Add put_le16() Add helper to put uint16 values to the given pointer using little-endian representation. Claudio Takahasi 11 years ago 1 file, +5, -0
5ab9740f android/handsfree: Fix not needed codec negotiation If codec was already negotiated there is no need to do it again and AG may try connecting SCO right away. This fix regression from f264a65170. Szymon Janc 11 years ago 1 file, +3, -2
72b36c78 android/health: Add health.c|h file with basic calls Add health.c|h with basic calls for register and unregister profile. Ravi kumar Veeramally 11 years ago 5 files, +156, -0
2bb8f57c android/hal-health: Add HDP .cleanup method Ravi kumar Veeramally 11 years ago 1 file, +20, -1
840dcd68 android/hal-health: Add HDP .init method Ravi kumar Veeramally 11 years ago 1 file, +42, -1
d7e5e16a android/hal-health: Add hal-health.c with initial get interface call Ravi kumar Veeramally 11 years ago 5 files, +49, -0
1d0715f8 android/hal-msg: Add HDP app channel state event struct Ravi kumar Veeramally 11 years ago 1 file, +15, -0
2da131ca android/hal-msg: Add HDP app registration state event struct Ravi kumar Veeramally 11 years ago 1 file, +11, -0
376e6a0c android/hal-msg: Add HDP destroy channel struct Ravi kumar Veeramally 11 years ago 1 file, +5, -0
9b6d2b1a android/hal-msg: Add HDP connect channel struct Ravi kumar Veeramally 11 years ago 1 file, +11, -0
abb6b760 android/hal-msg: Add HDP app unregistration struct Ravi kumar Veeramally 11 years ago 1 file, +4, -0
185f1c3d android/hal-msg: Add HDP app registration struct Ravi kumar Veeramally 11 years ago 1 file, +25, -0
becfb847 unit: prevent unintended use of glibc's error(3) When building the test-sdp we don't want src/sdpd-request.c end up using the incompatible GNU libc's error(3) instead of the intended src/log.c's error(). This also fixes the following compile error on Alpine Linux with musl libc which does not implement the error(3) GNU extension: src/sdpd-request.o: In function `extract_des': /home/ncopa/src/bluez/src/sdpd-request.c:126: undefined reference to `error' src/sdpd-request.o: In function `process_request': /home/ncopa/src/bluez/src/sdpd-request.c:1022: undefined reference to `error' /home/ncopa/src/bluez/src/sdpd-request.c:1045: undefined reference to `error' Natanael Copa 11 years ago 2 files, +5, -6
18f0cdaa emulator/btdev: Add support for negative LTK reply Johan Hedberg 11 years ago 1 file, +32, -0
a1ecdb0d bnep: avoid use of caddr_t caddr_t is legacy BSD and should be avoided. This fixes the following compile error on Alpine Linux with musl libc: profiles/network/bnep.c: In function 'bnep_if_up': profiles/network/bnep.c:205:33: error: 'caddr_t' undeclared (first use in this function) err = ioctl(sk, SIOCSIFFLAGS, (caddr_t) &ifr); Natanael Copa 11 years ago 1 file, +2, -2
99785edd shared: include endian.h for be32toh, htobe32 and htobe64 functions The man page says that #include <endian.h> is needed for those. This fixes the following compile error when building with musl libc on Alpine Linux: src/shared/btsnoop.o: In function `btsnoop_write': .../src/bluez/src/shared/btsnoop.c:208: undefined reference to `htobe32' .../src/bluez/src/shared/btsnoop.c:209: undefined reference to `htobe32' .../src/bluez/src/shared/btsnoop.c:210: undefined reference to `htobe32' .../src/bluez/src/shared/btsnoop.c:211: undefined reference to `htobe32' .../src/bluez/src/shared/btsnoop.c:212: undefined reference to `htobe64' src/shared/btsnoop.o: In function `btsnoop_open': .../src/bluez/src/shared/btsnoop.c:100: undefined reference to `be32toh' .../src/bluez/src/shared/btsnoop.c:103: undefined reference to `be32toh' src/shared/btsnoop.o: In function `btsnoop_create': .../src/bluez/src/shared/btsnoop.c:151: undefined reference to `htobe32' .../src/bluez/src/shared/btsnoop.c:152: undefined reference to `htobe32' src/shared/btsnoop.o: In function `pklg_read_hci': .../src/bluez/src/shared/btsnoop.c:336: undefined reference to `be32toh' .../src/bluez/src/shared/btsnoop.c:338: undefined reference to `be64toh' src/shared/btsnoop.o: In function `btsnoop_read_hci': .../src/bluez/src/shared/btsnoop.c:416: undefined reference to `be32toh' .../src/bluez/src/shared/btsnoop.c:417: undefined reference to `be32toh' .../src/bluez/src/shared/btsnoop.c:419: undefined reference to `be64toh' Natanael Copa 11 years ago 1 file, +1, -0
d8f265bd tools/smp-tester: Fix setting connectable for server tests Johan Hedberg 11 years ago 1 file, +2, -0
8cf50c84 tools/smp-tester: Expect signing key with recent kernels Johan Hedberg 11 years ago 1 file, +4, -4
01095e77 emulator/bthost: Set advertising parameters before enabling advertising Johan Hedberg 11 years ago 1 file, +8, -0
e3924049 emulator/btdev: Fix checking for non-connectable advertising Johan Hedberg 11 years ago 1 file, +9, -1
3d52be78 core: Update bearer timestamp also when connecting This way we avoid a bit strange behavior when we've previously always been acceptors for a connection (in which case the last seen timestamp would never have been touched). Johan Hedberg 11 years ago 1 file, +2, -0
37396133 core: Fix bearer type selection Johan Hedberg 11 years ago 1 file, +2, -2
2f410a63 emulator/btdev: Do correct matching for direct advertising when connecting Johan Hedberg 11 years ago 1 file, +30, -29
c23be68f emulator/btdev: Add proper matching for direct advertising Johan Hedberg 11 years ago 1 file, +26, -0
d45529c9 emulator/btdev: Add helper for selecting advertising address Johan Hedberg 11 years ago 1 file, +9, -4
584e9dc6 emulator/btdev: Track direct advertising address Johan Hedberg 11 years ago 1 file, +14, -6
141c1082 emulator/btdev: Track LE scanning own address type Johan Hedberg 11 years ago 1 file, +2, -0
f01f3a2d android/bluetooth: Move start discovery function up in the file This is to avoid unneeded code move in further paatches. Jakub Tyszkowski 11 years ago 1 file, +32, -31
80ca53ae android/bluetooth: Refactor start/stop discovery Pass discovery type to discovery stop/start routine so it can be used also for LE only scan. Jakub Tyszkowski 11 years ago 1 file, +22, -15
a4b3e5f2 android/gatt: Change name of match functions Jakub Tyszkowski 11 years ago 1 file, +4, -4
642c54d7 android/gatt: Use queue and stdlib instead of GLib where possible This patch changes using GLib to queues and stdlib operators. Grzegorz Kolodziejczyk 11 years ago 1 file, +23, -15
36977889 android/handsfree: Cleanup info and error messages Szymon Janc 11 years ago 1 file, +11, -8
f264a651 android/handsfree: Simplify condition in connect_audio Szymon Janc 11 years ago 1 file, +2, -5
f05d46c0 android/handsfree: Fix some style issues Szymon Janc 11 years ago 1 file, +7, -7
6bdba6be android/handsfree: Split members in device for better readability Szymon Janc 11 years ago 1 file, +5, -0
ffdf8c26 android/handsfree: Add handling of AT+BCS and AT+BCC It will service codec nogotiation and establish SCO connection with negotiated parameters. If SCO establishment failed, try to connect with mandatory codec CVSD. Marcin Kraglak 11 years ago 1 file, +113, -3
86db3fc9 android/handsfree: Move connect_sco() to more appropriate place Move connect_sco as it will be used in at_cmd_bcc() Marcin Kraglak 11 years ago 1 file, +61, -61
7d8466be android/handsfree: Add initial implementation of Codec Negotiation feature It will handle AT+BAC command and update list of available codecs. It will check if mandatory codec CVSD is present on list and, if Wide Band Speech supported, MSBC codec is on next place. Other codecs can be also used after extending codecs_defaults array. It will also handle incorrect SLC establishment, when HF supports Codec Negotiation, but didn't send AT+BAC. Marcin Kraglak 11 years ago 1 file, +92, -2
Previous Next