Commits

Commit Message Author Age Changes
abfbe1f4 core: Fix crash if adapter register failed If btd_gatt_database_new() failed adapter was unreferenced without being removed from adapters list. bluetoothd[2234]: src/adapter.c:read_info_complete() index 0 status 0x00 bluetoothd[2234]: src/adapter.c:clear_uuids() sending clear uuids command for index 0 bluetoothd[2234]: src/adapter.c:clear_devices() sending clear devices command for index 0 bluetoothd[2234]: src/adapter.c:set_mode() sending set mode command for index 0 bluetoothd[2234]: src/adapter.c:set_mode() sending set mode command for index 0 bluetoothd[2234]: Failed to register org.bluez.GattManager1 bluetoothd[2234]: Failed to create GATT database for adapter bluetoothd[2234]: Unable to register new adapter bluetoothd[2234]: src/adapter.c:btd_adapter_unref() Freeing adapter /org/bluez/hci0 bluetoothd[2234]: src/adapter.c:adapter_free() 0x44e1c98 bluetoothd[2234]: plugins/neard.c:neard_appeared() bluetoothd[2234]: plugins/hostname.c:property_changed() static hostname: athlon bluetoothd[2234]: plugins/hostname.c:property_changed() pretty hostname: ==2234== Invalid read of size 1 ==2234== at 0x80A3F98: btd_adapter_is_default (adapter.c:273) ==2234== by 0x8050E71: update_name (hostname.c:88) ==2234== by 0x40BF252: g_slist_foreach (in /lib/i386-linux-gnu/libglib-2.0.so.0.4200.1) ==2234== by 0x80A9485: adapter_foreach (adapter.c:6595) ==2234== by 0x805107C: property_changed (hostname.c:167) ==2234== by 0x80CA7EC: add_property (client.c:243) ==2234== by 0x80CA9A4: update_properties (client.c:275) ==2234== by 0x80CBD45: get_all_properties_reply (client.c:298) ==2234== by 0x41A2184: ??? (in /lib/i386-linux-gnu/libdbus-1.so.3.8.11) ==2234== by 0x418E197: ??? (in /lib/i386-linux-gnu/libdbus-1.so.3.8.11) ==2234== by 0x4191C72: dbus_connection_dispatch (in /lib/i386-linux-gnu/libdbus-1.so.3.8.11) ==2234== by 0x80C63A0: message_dispatch (mainloop.c:72) ==2234== Address 0x44e1d58 is 192 bytes inside a block of size 196 free'd ==2234== at 0x402A3A8: free (vg_replace_malloc.c:473) ==2234== by 0x40A6810: g_free (in /lib/i386-linux-gnu/libglib-2.0.so.0.4200.1) ==2234== by 0x80C8BCB: remove_interface (object.c:658) ==2234== by 0x80C90E8: g_dbus_unregister_interface (object.c:1382) ==2234== by 0x80A7261: btd_adapter_unref (adapter.c:3642) ==2234== by 0x80A8597: read_info_complete (adapter.c:7239) ==2234== by 0x80CD486: request_complete (mgmt.c:242) ==2234== by 0x80CDEBD: can_read_data (mgmt.c:321) ==2234== by 0x80D86F9: watch_callback (io-glib.c:170) ==2234== by 0x40E7C5D: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4200.1) ==2234== by 0x40A0CB2: g_main_context_dispatch (in /lib/i386-linux-gnu/libglib-2.0.so.0.4200.1) ==2234== by 0x40A10C8: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4200.1) ==2234== Szymon Janc 10 years ago 1 file, +1, -0
536e92cd unit/test-gatt: Fix TP/GAW/SR/BI-03-C test The GATT server test cases are supposed to be tested against ts_small_db and ts_large_db_1. So, Fixed these changes too. Bharat Panda 10 years ago 1 file, +11, -6
b1342055 unit/test-gatt: Fix TP/GAW/SR/BI-02-C test The GATT server test cases are supposed to be tested against ts_small_db and ts_large_db_1. So, Fixed those changes too. Bharat Panda 10 years ago 1 file, +8, -2
426e5da4 unit/test-gatt: Fix TP/GAW/SR/BV-03-C test The GATT server test cases are supposed to be tested against ts_small_db and ts_large_db_1. So, Fixed those changes too. Gowtham Anandha Babu 10 years ago 1 file, +11, -4
3361ea2c core/gatt-database: Unregister interface on destroy This makes sure GattManager interface is unregistered on btd_gatt_database_destroy. Luiz Augusto von Dentz 10 years ago 1 file, +4, -0
770a0bf9 core/gatt: Fix crash when running without -E btd_gatt_database_new should not fail if it is unable to register GattManager interface since it is experimental. Luiz Augusto von Dentz 10 years ago 1 file, +3, -7
f09fa146 core/gatt: Support WriteValue for characteristics This patch adds support for writing to a characteristic from an external application during a write procedure. Arman Uguray 10 years ago 1 file, +149, -5
fce50216 core/gatt: Support ReadValue for characteristics This patch adds support for obtaining the characteristic value from an external application during a read procedure. Arman Uguray 10 years ago 1 file, +164, -2
21175998 core/gatt: Register characteristics This patch adds support for registering characteristic objects. This adds internal plumbing for determining the final attribute count for a service handle range and creates characteristic entries in the server database. Arman Uguray 10 years ago 1 file, +239, -11
9101245d core/gatt: Implement GattManager1.RegisterService This patch adds the initial implementation of the RegisterService method. Currently only one attribute entry is created in the local database for the GATT service declaration. Arman Uguray 10 years ago 1 file, +309, -2
aeb3feef core/gatt: Add GattManager1 stubs This patch introduces src/gatt-manager, which will implement the org.bluez.GattManager1 API outlined in doc/gatt-api.txt. The old src/gatt-dbus code has been removed to start from a clean slate. Arman Uguray 10 years ago 8 files, +48, -1136
232015ae lib/uuid: Fix bt_uuid_to_le for 128 Bits The convention is that 128 Bits are always defined in big endian format therefore the bytes always needs to be swapped. Luiz Augusto von Dentz 10 years ago 3 files, +15, -21
db6e9fcc doc/test-coverage: Update test-gatt count Luiz Augusto von Dentz 10 years ago 1 file, +2, -2
8247239e profiles/network: Simplify id and bridge of server checking This patch simplifies checking of server record id and bridge, if those exists. Grzegorz Kolodziejczyk 10 years ago 1 file, +1, -7
42eb659f profiles/network: Minor style fix This patch fixes style issues e.g. line aligns, braces. Grzegorz Kolodziejczyk 10 years ago 2 files, +9, -8
d2a185e4 android: Fix tools build target thumb C: l2ping <= external/bluetooth/bluez/tools/l2ping.c external/bluetooth/bluez/tools/l2ping.c:41:27: fatal error: lib/bluetooth.h: No such file or directory #include "lib/bluetooth.h" ^ Szymon Janc 10 years ago 1 file, +9, -0
b94b76e0 android/build: Define HAVE_LINUX_IF_ALG_H and HAVE_LINUX_TYPES_H Those headers are available on Android. Szymon Janc 10 years ago 1 file, +2, -0
f7634ed7 shared/att: Fix signed write without transparent signing If local key wasn't set by bt_att_set_local_key() assume that signing is done by bt_att_send() caller ie. gattrib code. Szymon Janc 10 years ago 1 file, +3, -7
1710921f shared/att: Do not fail if crypto is not available This makes bt_crypto optional since it depend on kernel modules to work properly and just affect signed operations, the code will now just proceed if bt_crypto_new fails leaving it NULL which will fail properly if there is any attempt to use it without affecting other operations. Luiz Augusto von Dentz 10 years ago 1 file, +4, -2
7a72ebec obexd: Fix cross includes from client and plugins Marcel Holtmann 10 years ago 27 files, +91, -93
a833587b build: Remove unneeded includes from obexd binaries Marcel Holtmann 10 years ago 1 file, +1, -3
4a5c9e63 build: Remove include option for gdbus directory Marcel Holtmann 10 years ago 1 file, +1, -1
7bd86b5b gobex: Fix includes for gobex.h header Marcel Holtmann 10 years ago 4 files, +8, -8
63adaa40 tools: Fix includes for gobex.h header Marcel Holtmann 10 years ago 2 files, +2, -2
05ec2da6 unit: Fix includes for gobex.h header Marcel Holtmann 10 years ago 7 files, +10, -7
5d2afbdd obexd: Fix includes for gobex.h header Marcel Holtmann 10 years ago 5 files, +10, -8
a150d9e7 obexd: Fix includes for gdbus.h header Marcel Holtmann 10 years ago 15 files, +29, -19
9a7c7991 core: Fix includes for gdbus.h header Marcel Holtmann 10 years ago 2 files, +3, -2
85180c23 profiles: Fix includes for gdbus.h header Marcel Holtmann 10 years ago 10 files, +22, -12
f02dbf1c tools: Use local libbluetooth includes Marcel Holtmann 10 years ago 8 files, +22, -22
318e32cd profiles: Use local libbluetooth includes Marcel Holtmann 10 years ago 21 files, +105, -112
3405ad4c core: Use local libbluetooth includes Marcel Holtmann 10 years ago 23 files, +88, -90
8c1a878f attrib: Fix local libbluetooth includes order Marcel Holtmann 10 years ago 1 file, +4, -1
3af96d5b plugins: Fix local libbluetooth includes order Marcel Holtmann 10 years ago 6 files, +14, -1
17763527 profiles: Use local libbluetooth includes Marcel Holtmann 10 years ago 18 files, +74, -25
ee69b248 android: Fix local libbluetooth includes order Marcel Holtmann 10 years ago 1 file, +3, -2
82113a16 obexd: Use local libbluetooth includes Marcel Holtmann 10 years ago 5 files, +22, -16
91de2012 plugins: Use local libbluetooth includes Marcel Holtmann 10 years ago 3 files, +9, -6
571124ff attrib: Use local libbluetooth includes Marcel Holtmann 10 years ago 7 files, +27, -21
92ea0af0 android: Use local libbluetooth includes Marcel Holtmann 10 years ago 6 files, +17, -11
2f772835 btio: Use local libbluetooth includes Marcel Holtmann 10 years ago 1 file, +5, -5
912e0786 unit: Fix includes for gdbus.h header Marcel Holtmann 10 years ago 1 file, +2, -1
734a1eee client: Fix includes for gdbus.h header Marcel Holtmann 10 years ago 3 files, +3, -3
10152d64 tools: Fix includes for gdbus.h header Marcel Holtmann 10 years ago 5 files, +9, -7
bc4377ed unit: Use local libbluetooth includes Marcel Holtmann 10 years ago 2 files, +4, -5
895dd69a tools: Use local libbluetooth includes Marcel Holtmann 10 years ago 23 files, +88, -89
ced1db8c core: Use local libbluetooth includes for OUI handling Marcel Holtmann 10 years ago 2 files, +1, -2
00fa3028 tools: Use local libbluetooth includes Marcel Holtmann 10 years ago 3 files, +9, -9
cc629619 TODO: Added item about PF_ALG error Added GATT related TODO item to gracefully handle signed writes and bt_att initialization if the CONFIG_CRYPTO_USER_API modules that are necessary for bt_crypto are not enabled in the system. Arman Uguray 10 years ago 1 file, +16, -0
373ee416 unit/test-gatt: Unref pending discovery requests This patch adds code to clean up pending discovery requests in unit/test-gatt, since the recent API changes will cause memory leaks otherwise. Arman Uguray 10 years ago 1 file, +19, -6
Previous Next