Commits

Commit Message Author Age Changes
338bc55c a2dp-codecs: Add needed includes and properly check for endian macros Without stdint.h type uint8_t cannot be used. And without endian.h macros __BYTE_ORDER, __LITTLE_ENDIAN and __BIG_ENDIAN are not defined. When both __BYTE_ORDER and __LITTLE_ENDIAN macros are not defined, then condition #if __BYTE_ORDER == __LITTLE_ENDIAN is true. Pali Rohár 7 years ago 1 file, +7, -2
f29a5de8 a2dp-codecs: Define a2dp_vendor_codec_t struct in endian neutral way And define new macros A2DP_GET_VENDOR_ID(), A2DP_GET_CODEC_ID() and A2DP_SET_VENDOR_ID_CODEC_ID() for easily filling a2dp_vendor_codec_t struct. Pali Rohár 7 years ago 6 files, +43, -26
86c7f72b a2dp-codecs & avinfo: Fix parsing MPEG bit rate values Redefine bitrate field in a2dp_mpeg_t struct in endian neutral way and separate vbr field according to A2DP specification. Define new macros MPEG_GET_BITRATE() and MPEG_SET_BITRATE() for manipulating with bitrate like for a2dp_aac_t struct. And fix meaning of bitrate field. According to A2DP specification, it is bitrate index, not bitrate itself. According to MPEG specification, each MPEG layer have different bitrates for bitrate indexes. Therefore define correctly bitrates for Layers 1, 2 and 3. This fixes problems with parsing bitrate field in a2dp_mpeg_t struct as it was broken due to endianity and it was broken for Layer 1 and 2 as bitrate definitions was for Layer 3. Pali Rohár 7 years ago 2 files, +176, -52
9f2ccfce a2dp-codecs: Fix codec id for ATRAC According to Bluetooth Assigned Numbers for Audio/Video ATRAC has codec id 0x04. See: https://www.bluetooth.com/specifications/assigned-numbers/audio-video Pali Rohár 7 years ago 1 file, +1, -1
0934bdf8 a2dp-codecs: Add SBC prefix for MIN/MAX_BITPOOL constants Those two constants are SBC codec specific. Pali Rohár 7 years ago 2 files, +8, -8
19d0011c avinfo: Show Vendor Specific Data Pali Rohár 7 years ago 1 file, +7, -1
2ba9c094 avinfo: Fix buffer overflow when parsing broken/malicious data Check size of buffer prior casting it to struct. Pali Rohár 7 years ago 1 file, +71, -20
cb3418a8 build: Ensure that src/libshared-ell.la is build first Marcel Holtmann 7 years ago 1 file, +1, -1
f0d0585e unit/test-gdbus-client: Fix using invalid interface name Each element must only contain the ASCII characters "[A-Z][a-z][0-9]_" and must not begin with a digit so '-' cannot be used. Luiz Augusto von Dentz 7 years ago 1 file, +2, -2
5cd995a9 gdbus: Split validation of object path and interface This splits the validation of object and interface so and error is properly printed for each of those. Luiz Augusto von Dentz 7 years ago 1 file, +8, -2
fc458328 avrcp: Fix error creating media items Don't use item name in the object path since it would need to be properly escaped if the remote stack uses UID 0 even though it is invalid to have 0 as UID: AVRCP 1.6.1, page 84: 'The value of UID=0x0 is a special value used only to request the metadata for the currently playing media using the GetElementAttributes command and shall not be used for any item in a folder.' Luiz Augusto von Dentz 7 years ago 1 file, +3, -3
aad7ed9a gdbus: Make sure the object path and interface are valid D-Bus object path and interface must be validate otherwise it can cause errors as follow: 0 0xb7f67ab1 in __kernel_vsyscall () 1 0xb7ca1cc1 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 2 0xb7ca50ee in abort () at abort.c:92 3 0xb7e30ba5 in _dbus_abort () at dbus-sysdeps.c:94 4 0xb7e267a6 in _dbus_warn_check_failed ( format=0xb7e36cd4 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:290 5 0xb7e16d9f in dbus_message_iter_append_basic (iter=0xbf864400, type=111, value=0xd70940) at dbus-message.c:2586 6 0x004fcdec in emit_interfaces_added (user_data=0xd70938) at gdbus/object.c:574 Luiz Augusto von Dentz 7 years ago 1 file, +4, -0
26194809 build: Move declaration of _GNU_SOURCE back into individual source files Marcel Holtmann 7 years ago 241 files, +264, -28
a7cfbaf7 doc: Update mesh Agent API Change enumerated values to strings in method parameters, and corrected formatting for 80 character terminals. Inga Stotland 7 years ago 1 file, +338, -296
02ef6d8a gatt: Register GATT and GAP services as SDP records This ensures that GATT and GAP services can be discover over SDP as well as over GATT. Luiz Augusto von Dentz 7 years ago 1 file, +4, -0
0aa6516a shared/tester: Make use of mainloop_run_with_signal This don't require setting up signalfd. Luiz Augusto von Dentz 7 years ago 1 file, +8, -71
5bdc09bb core: Make use of mainloop_run_with_signal This don't require setting up signalfd. Luiz Augusto von Dentz 7 years ago 1 file, +3, -61
b597afa4 shared/mainloop: Remove mainloop_set_signal This removes mainloop_set_signal and replaces it usage with mainloop_run_with_signal. Luiz Augusto von Dentz 7 years ago 22 files, +24, -292
5202ea57 shared/mainloop: Add mainloop_run_with_signal This consolidates the handling of signalfd in similar ways as ELL does. Luiz Augusto von Dentz 7 years ago 3 files, +87, -0
01e6684e shared/timeout-glib: Check 0 id when removing timeout If the id is 0 that makes it is invalid already. Luiz Augusto von Dentz 7 years ago 1 file, +5, -1
c05f6e30 core: Remove old code related to sd_notify This is no longer needed since mainloop instances can handle it now. Luiz Augusto von Dentz 7 years ago 4 files, +1, -137
f837335b core: Use mainloop_sd_notify instead of sd_notify mainloop_sd_notify takes care of sending the messages to NOTIFY_SOCKET and includes the handling of WATCHDOG_USEC as well. Luiz Augusto von Dentz 7 years ago 1 file, +11, -40
a78eaf65 tool/btmon-logger: Use mainloop_notify instead of sd_notify mainloop_notify takes care of sending the messages to NOTIFY_SOCKET and includes the handling of WATCHDOG_USEC as well. Luiz Augusto von Dentz 7 years ago 1 file, +4, -6
1971bfe6 share/mainloop: Add watchdog support This adds watchdog notification support by sending "WATCHDOG=1" twice as frequent as required by WATCHDOG_USEC. Luiz Augusto von Dentz 7 years ago 1 file, +28, -0
db5e3a8a share/mainloop: Add handling of NOTIFY_SOCKET This adds handling of systemd NOTIFY_SOCKET so application using mainloop instance do properly notify systemd what is their state. Luiz Augusto von Dentz 7 years ago 6 files, +141, -2
09e56ac5 tools/btpclient: Fix compile warning with strncpy This patch fixes the boundry warning-to-error in GCC 8.1.1 with strncpy. Tedd Ho-Jeong An 7 years ago 1 file, +2, -2
a18ad9bb mesh: Avoid loop variable initial declarations Marcel Holtmann 7 years ago 1 file, +3, -1
0093cd61 build: Add support for internal and external ELL configuration Marcel Holtmann 7 years ago 7 files, +138, -27
8eda0a75 build: Add missing mesh/appkey.h header file Marcel Holtmann 7 years ago 1 file, +1, -1
5f190061 build: Fix listing of btmesh, meshd and meshctl binaries Marcel Holtmann 7 years ago 1 file, +3, -1
f0619047 mesh: Fix various compiler warnings Marcel Holtmann 7 years ago 3 files, +11, -6
4c9d3308 tools: Use l_main_run_with_signal instead of open coding it Marcel Holtmann 7 years ago 1 file, +3, -11
6b7ab442 build: Move $(UDEV_CFLAGS) to global $(AM_CFLAGS) Marcel Holtmann 7 years ago 3 files, +1, -6
f54325e6 build: make building with --coverage work again When `./configure --enable-coverage` is given and lcov is present, MISC_CFLAGS and MISC_LDFLAGS will be set to --coverage. However, 1. obexd uses per-target LDFLAGS and, in doing so, forget to re-mention $(AM_LDFLAGS). This problem existed for a long time. 2. obexd uses per-target CFLAGS and, in doing so, forgot to re-mention $(AM_CFLAGS). This got broken in 06dbb223fbe50acc48b3ba1d33cb424275b4baaa. This led to no --coverage showing up in the linker line for obexd, causing a link failure indicating unresolved symbols like __gcov_exit. Jan Engelhardt 7 years ago 2 files, +5, -5
d800a115 mesh: Up-rev ELL dependancies to >= 0.14 Brian Gix 7 years ago 2 files, +11, -24
5f3e2ea6 btmgmt: Add BREDR PHYs in PHY Configuration commands This basically adds BREDR packet types also in the PHY confiuration commands & events and makes the PHYs 32 bit so that it can be extended in future. This also add configurable PHYs in the GetPhy command wherein only those can be selected or deselected in SetPhy. This also adds LE prefix for LE phys to make it more descriptive Jaganath Kanakkassery 7 years ago 2 files, +65, -42
56a50980 build: add missing BACKTRACE_CFLAGS Some targets use BACKTRACE_LIBS, hence need BACKTRACE_CFLAGS. Jan Engelhardt 7 years ago 1 file, +1, -1
b5c6746c build: add missing ALSA_CFLAGS Some targets use ALSA_LIBS, hence need ALSA_CFLAGS. Jan Engelhardt 7 years ago 2 files, +4, -1
85af4e7c build: add missing UDEV_CFLAGS Some targets link UDEV_LIBS, which means they also need UDEV_CFLAGS in their (or the global) CPPFLAGS. Jan Engelhardt 7 years ago 1 file, +4, -0
eb81f12e build: add missing ELL_CFLAGS Some targets link ELL_LIBS, which means they also need ELL_CFLAGS in their (or the global) CPPFLAGS. Jan Engelhardt 7 years ago 2 files, +5, -0
06dbb223 build: -D/-I arguments go into CPPFLAGS -D and -I are preprocessor directives, they are therefore to appear in CPPFLAGS, not CFLAGS. (It is unfortunate that pkg-config does not make the distinction / or it was misnamed, because only -D/-I make sense to be emitted by pkg-config in the first place — anything else (-f/-m) has the potential to mess up someone's compilation. So pkg-config's Cflags is actually used to convery Cppflags.) Jan Engelhardt 7 years ago 5 files, +18, -17
069c6502 build: -l arguments to belong into LDADD/LIBADD not LDFLAGS It is an error to put -l arguments into LDFLAGS, because the linker command line is order-sensitive and libs must appear in certain places. For this, automake has the LDADD/LIBADD. Jan Engelhardt 7 years ago 2 files, +10, -8
bfede2a0 build: change @foo@ to $(foo) in automake makefiles When using automake, all AC_SUBSTed variables are made available as make variables, so that they can also be set at make time. Therefore, they need not use the @harcoded@ style. Jan Engelhardt 7 years ago 6 files, +85, -85
3a74874c build: rename includedir to pkgincludedir This change is similar to commit 5.50-130-g78bce4800 and does the same, but for includedir. Jan Engelhardt 7 years ago 1 file, +3, -3
8198a224 shell: Fix artifacts when asking for user input Instead of printing a message use set the new prompt so it is carried over when new lines are printed. Unfortunately this has some drawbacks as apparently readline is not really able to redisplay properly if the prompt contain colors. Luiz Augusto von Dentz 7 years ago 1 file, +6, -2
9568f443 doc: Initial Bluetooth Mesh API This decribes proposed D-Bus based API for Bluetooth Mesh implementation. Inga Stotland 7 years ago 1 file, +512, -0
78bce480 build: rename libexecdir to pkglibexecdir When files are to be placed not in libexecdir but a subdirectory of it, automake has a variable name reserved for exactly that purpose (and a default value, which Makefile.am will override), called pkglibexecdir. Let's use it. Jan Engelhardt 7 years ago 4 files, +5, -5
11ac6784 log: Use shared log code Use bt_log_* to send messages to the logging channel. Luiz Augusto von Dentz 7 years ago 4 files, +19, -119
5ba115e2 shared/shell: Add option to print to monitor This adds option -m/--monitor which send output to btmon using libshared bt_log: = bluetoothctl: power on = bluetoothctl: Changing power on succeeded Luiz Augusto von Dentz 7 years ago 1 file, +27, -3
12e53023 shared/tester: Make use of shared log Use bt_monitor_* to send messages to the logging channel. Luiz Augusto von Dentz 7 years ago 1 file, +9, -103
Previous Next