Commits

Commit Message Author Age Changes
e74bb5a3 tools/test-runner: Fix not creating /usr/share/dbus-1/system.conf Apparently this is the new location where D-Bus will look for its configuration so just creare a symlink to /etc/dbus-1/system.conf. Luiz Augusto von Dentz 9 years ago 1 file, +4, -0
5d7372cb core/gatt-database: Send offset if set to WriteValue If there remote is using Prepare + Execute Write commands as part of a Write Long procedure the offset needs to be set in order for the application to detect from where it shall write the data. Luiz Augusto von Dentz 9 years ago 1 file, +10, -5
9774dab1 core/gatt-database: Send offset if set to ReadValue If there remote is using Read Blob command as part of a Read Long procedure the offset needs to be set in order for the application to detect from where it shall start. Note that with this it is also possible to detect what the chunk sizes needs to be as the first offset indicates the maximum payload. Luiz Augusto von Dentz 9 years ago 1 file, +13, -5
dbe5c409 monitor: Remove redundant parentheses Johan Hedberg 9 years ago 1 file, +4, -4
452024ba monitor/rfcomm: Remove packed attribute from structs These structs do not represent the raw PDU format thus they don't need to be the exact same size. Luiz Augusto von Dentz 9 years ago 1 file, +5, -5
4caa505c core/adapter: Fix not updating names of connected devices If there is a device found event for a connected device let it update the name as the device may still be temporary but it might be useful to display a proper name while profile connections or paring are pending. Luiz Augusto von Dentz 9 years ago 1 file, +4, -3
c64b4d9e monitor/avctp: Fix reading attribute length as 1 octet Attribute length is actually 2 octets long. Luiz Augusto von Dentz 9 years ago 1 file, +3, -4
1aea87bb monitor/avctp: Fix printing variable length names/values Print variable names/values in a single line. Luiz Augusto von Dentz 9 years ago 1 file, +6, -3
3a354a71 shared/mainloop: Fix timeout data memleak Valgrind reports "timeout_data" as definitely lost. Fix this issue in timeout_destroy function. Loic Poulain 9 years ago 1 file, +2, -0
673c58ff monitor: Add decoding of SMP CT2 authentication flag Johan Hedberg 9 years ago 1 file, +8, -3
4832ed03 gobex: Fix a compilation error for the compatibility with LLVM The C Standard, subclause 7.16.1.4, paragraph 4 [ISO/IEC 9899:2011], states: The parameter parmN is the identifier of the rightmost parameter in the variable parameter list in the function definition (the one just before the ...). If the parameter parmN is declared with the register storage class, with a function or array type, or with a type that is not compatible with the type that results after application of the default argument promotions, the behavior is undefined. Miao-chen Chou 9 years ago 5 files, +16, -16
ccc03d68 audio/avrcp: Fix PlayItem response handling PlayItem is actually a control PDU so it should expect avrcp_header as header not avrcp_browsing_header. Luiz Augusto von Dentz 9 years ago 1 file, +1, -1
011967a4 audio/player: Fix method definition of MediaItem.Play The return is no longer synchronous so update it to use GDBUS_ASYNC_METHOD. Luiz Augusto von Dentz 9 years ago 1 file, +1, -1
e43847bc shared/gatt-client: Don't clear db in case of errors If the db was not empty when initializing the instance set the discovery last handle to avoid clearing the database in case of cache validation error. Luiz Augusto von Dentz 9 years ago 1 file, +9, -16
f51cf03f shared/gatt-db: Make gatt_db_clear call gatt_db_clear_range This makes gatt_db_clear much simpler while making gatt_db_clear_range detect full database clear resetting next_handle properly if the database is empty. Luiz Augusto von Dentz 9 years ago 1 file, +12, -8
93f8d6ed shared/gatt-client: Fix discover_secondary_cb() If included services discovery cannot be started, the services discovery operation has failed. Petri Gynther 9 years ago 1 file, +1, -0
cdc2355b shared/gatt-client: Fix discover_primary_cb() Fix the handling of primary services discovery failure. Petri Gynther 9 years ago 1 file, +5, -2
f7ae5d99 gap: scanparam: Use bt_gatt_client_clone Use bt_gatt_client_clone instead of bt_gatt_client_ref as that can track requests per clone instead of using the core reference. Luiz Augusto von Dentz 9 years ago 2 files, +2, -2
d376c51c shared/mainloop: Fix msec to nsec conversion in timerfd config Loic Poulain 9 years ago 1 file, +1, -1
fc0cb8a6 build: Fix building with bootstrap-configure This fixes errors caused by the new options: configure: WARNING: unrecognized options: --enable-nfc, --enable-sap, --enable-health Luiz Augusto von Dentz 9 years ago 1 file, +8, -8
78fb8e0e core/advertising: Simplify names This simplifies names so terms like advertisement/advertising are reduced to adv, also use client term to refer to registered D-Bus clients to make the code more readable. Luiz Augusto von Dentz 9 years ago 3 files, +147, -155
d356a624 core/advertising: Fix crash when passing invalid dictionary We expect dict entries to have a{sv} format but the code don't check if the entries really encode the variant which may lead to a crash in dbus_message_iter_recurse. Luiz Augusto von Dentz 9 years ago 1 file, +8, -0
030cb8fb build: Update bootstrap-configure with new build options Luiz Augusto von Dentz 9 years ago 1 file, +3, -0
791f181b build: Update experimental documentation Reflect the build changes to only leave experimental tools being --enable-experimental. Luiz Augusto von Dentz 9 years ago 2 files, +5, -5
00af1515 build: Add option to enable health profiles This adds--enable-health option dedicated to enabled health plugin so it is no longer enabled with --enable-experimental since that enables other plugins that might not be relevant for the system. Luiz Augusto von Dentz 9 years ago 3 files, +15, -1
523b6fb5 build: Add option to disable HoG profile This adds --disable-hog option to configure which make HoG plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where HID over GATT profile is not supported. Luiz Augusto von Dentz 9 years ago 3 files, +16, -0
435b3be7 build: Add option to disable HID profile This adds --disable-hid option to configure which make input plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where HID profile is not supported. Luiz Augusto von Dentz 9 years ago 3 files, +16, -0
a9643f63 build: Add option to disable network profiles This adds --disable-network option to configure which make network plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where those profiles are not supported. Luiz Augusto von Dentz 9 years ago 3 files, +16, -0
b5bab5ea build: Add option to disable AVRCP profile This adds --disable-avrcp option to configure which make AVRCP plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where AVRCP is not supported. Luiz Augusto von Dentz 9 years ago 3 files, +17, -0
1e9ab1da build: Add option to disable A2DP profile This adds --disable-a2dp option to configure which make A2DP plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where A2DP is not supported. Luiz Augusto von Dentz 9 years ago 3 files, +16, -0
1d76b2ee build: Add option to enable SAP profile This adds --enable-sap option dedicated to enabled sap plugin so it is no longer enabled with --enable-experimental leaving it to just enable experimental tools. Luiz Augusto von Dentz 9 years ago 3 files, +15, -1
26e38bbc build: Add option to enable NFC pairing This adds --enable-nfc option dedicated to enabled neard plugin so it is no longer enabled with --enable-experimental since that enables other plugins that might not be relevant for the system. Luiz Augusto von Dentz 9 years ago 3 files, +16, -1
64a08d15 core/advertising: Fix not clearing instance id properly The instance id needs to be cleared in case of an error during registration otherwise it cannot be reused anymore. Luiz Augusto von Dentz 9 years ago 1 file, +13, -12
ab5792d4 tools: Add option to not set flow control for btattach Marcel Holtmann 9 years ago 1 file, +16, -9
4a8c33b1 core/adapter: Fix using wrong address type to listen ATT bdaddr_type shall only matter for controllers supporting LE otherwise it may cause BDADDR_BREDR to be used for things like LE ATT socket listen breaking reconnections. Luiz Augusto von Dentz 9 years ago 1 file, +1, -1
f2483bbf core: Fix passing correct local address type to ATT socket Johan Hedberg 9 years ago 5 files, +14, -4
43b0855a audio/player: Report PlayItem errors Wait for the response of PlayItem and forward and in case of not being successful reply with an error. Luiz Augusto von Dentz 9 years ago 3 files, +66, -3
cc80afff build: Remove gatt-example plugin This examples can be done over D-Bus already so it makes no sense to have it as a plugin and in fact it currently it doesn't even work since it was never ported to the new code under src/shared. Luiz Augusto von Dentz 9 years ago 2 files, +0, -583
f558fca8 core/gatt: Don't register attribute handler until core service are registered Wait until GAP and GATT service are registered to register attribute handlers otherwise it may attempt to generate service changed without having service changed registered which leads to print errors: bluetoothd[2376]: Failed to obtain handles for "Service Changed" characteristic Luiz Augusto von Dentz 9 years ago 1 file, +7, -6
7237771e input/hog: Remove unused attioid from hog_device Petri Gynther 9 years ago 1 file, +0, -1
889a8a8a tools/mgmt-tester: Fix device found tests Make sure discovery is enabled before enabling advertising. Szymon Janc 9 years ago 1 file, +12, -1
f2fe7197 tools/mgmt-tester: Fix use of uninitialized memory unmet_setup_conditions in test_data was not properly initialized by test_* macros. To avoid this issue in future use new0 for test_data allocation and explicitly initialize variables with non-zero values only. Szymon Janc 9 years ago 1 file, +4, -16
72cb3265 adapter: Add support for using static random identity address Add support for single-mode adapters without a public address, by generating and storing a static random address for them. Johan Hedberg 9 years ago 1 file, +165, -55
c30b6158 shared/crypto: Use void * instead of uint8_t * for random data Make the API friendlier by letting the caller pass arbitrary pointer. Johan Hedberg 9 years ago 2 files, +2, -2
bee9046d doc: Add definition of a new addresses file Currently bluetoothd doesn't support single-mode adapters without a public address. This patch defines a new 'addresses' file that will be used for managing generated static random addresses. Johan Hedberg 9 years ago 1 file, +10, -2
f3e79520 Release 5.43 Marcel Holtmann 9 years ago 2 files, +12, -1
df3ba2fb doc: Update test coverage Szymon Janc 9 years ago 1 file, +2, -2
1f94d426 tools/mgmt-tester: Fix add local name tests Test shortened and short names separately. Added few missing expect_hci_command params. Fixed a few typos. MichaƂ Narajowski 9 years ago 1 file, +79, -6
2d368525 core: Fix BR/EDR pairing for dual mode devices For dual mode devices we need to pass address type used in pairing events to reply with correct one on agent reply. Otherwise reply for BR/EDR pairing of dual mode device would use address type (which is valid only for LE address) resulting in reply being ignored by kernel and eventually pairing timeout. Szymon Janc 9 years ago 3 files, +26, -22
49707d7a profiles/network: Check for any server when accepting connections When asking confirmation to accept an incoming connection, we now only check for any network_server to be registered to the adapter. This fixes GN Master role, that wouldn't accept any connection before. Maxime Chevallier 9 years ago 1 file, +1, -3
Previous Next