Commits

Commit Message Author Age Changes
0f8aca09 input: Change extract_hid_record() return type This will allow returning error values when necessary. Anderson Lizardo 13 years ago 1 file, +9, -2
7c44bc4e unit: Add SDP Service Search Attribute Requests with an empty response Marcel Holtmann 13 years ago 1 file, +81, -0
916a29ba unit: Fix a few memory leaks with the SDP record registration Marcel Holtmann 13 years ago 1 file, +41, -0
24aa8a8a unit: Provide static test data and dynamically allocated PDUs Marcel Holtmann 13 years ago 1 file, +21, -7
4aeb8b59 unit: Add test cases for SDP Service Browse handling Marcel Holtmann 13 years ago 1 file, +502, -2
60faa1eb unit: Add SDP Service Search Attribute Requests invalid behavior tests Marcel Holtmann 13 years ago 1 file, +47, -0
ed0ee6eb unit: Add support for SDP test cases with different MTU settings Marcel Holtmann 13 years ago 1 file, +6, -2
323eede9 unit: Add test cases for SDP Service Attribute Requests Marcel Holtmann 13 years ago 1 file, +479, -0
1e2c3211 unit: Add test cases for SDP Service Search Requests Marcel Holtmann 13 years ago 1 file, +113, -0
60aa3710 unit: Create a more flexible framework for SDP testing Marcel Holtmann 13 years ago 1 file, +126, -61
c3f7247c core: Add support for setting a fixed SDP database timestamp This is only useful for unit testing where the service database state needs to be known and should not change. Marcel Holtmann 13 years ago 2 files, +16, -3
d16dbe88 core: Move mgmt remote OOB data handling to adapter code Johan Hedberg 13 years ago 3 files, +34, -60
70811dfc core: Move mgmt read local OOB data handling to adapter code Johan Hedberg 13 years ago 4 files, +33, -59
16780832 core: Make hash & randomizer const in oob_read_local_cb_t Johan Hedberg 13 years ago 2 files, +8, -6
e92613c0 core: Make hash & randomizer const in EIR API Johan Hedberg 13 years ago 2 files, +2, -2
2fbbf95f core: Move mgmt confirm name command sending to adapter code Johan Hedberg 13 years ago 3 files, +26, -33
bfaa219e core: Move mgmt set DID command sending to adapter code Johan Hedberg 13 years ago 3 files, +25, -33
262e9eef core: Move mgmt block/unblock command sending to adapter code Johan Hedberg 13 years ago 3 files, +34, -71
2d536dde core: Move mgmt set IO capability command sending to adapter code Johan Hedberg 13 years ago 3 files, +11, -24
39149049 core: Move mgmt unpair device command sending into adapter code Johan Hedberg 13 years ago 3 files, +13, -28
90228fc1 input: Fix coding style Johan Hedberg 13 years ago 1 file, +1, -1
fce691bd input: Use defines for SDP attribute names Anderson Lizardo 13 years ago 1 file, +3, -3
df296327 input: Refactor req->name composition code Use snprintf() instead of strncpy()/strcat()/strncat() to avoid error-prone size calculations. Note that this commit introduces a slight change: if Service Description and Provider Name are used to compose req->name, the old code built it as: [up to 126 bytes of Provider Name][whitespace][up to 127 bytes of Service Description, limited to req->name remaining buffer size] Now it should be: [up to 127 bytes of Provider Name][whitespace + Service Description, limited to req->name remaining buffer size] Hopefully, this change will not affect normal usage. Anderson Lizardo 13 years ago 1 file, +10, -12
21acf228 input: Fix buffer overflow when parsing HID SDP record If Service Description for HID service is greater than 126 characters, req->name will overflow while being concatenated with Provider Name. Fix by reserving space for the whitespace used for separator. Anderson Lizardo 13 years ago 1 file, +1, -1
282258bb core: Make adapter_remove_device static to adapter.c Johan Hedberg 13 years ago 2 files, +1, -5
cfca560f core: Move mgmt device unpaired event handling into adapter code Johan Hedberg 13 years ago 2 files, +37, -30
e783cb3c core: Move mgmt connect failed event handling into adapter code Johan Hedberg 13 years ago 2 files, +36, -32
5ec9370a core: Make adapter_add_connection static to adapter.c Johan Hedberg 13 years ago 2 files, +13, -15
4d55915b core: Remove unused mgmt_disconnect function Johan Hedberg 13 years ago 2 files, +0, -26
1f633702 core: Move mgmt device connected event handling to adapter code Johan Hedberg 13 years ago 2 files, +56, -47
2f2a3ede core: Fix missing const qualifier in EIR parsing API Johan Hedberg 13 years ago 2 files, +13, -9
67a60317 core: Move mgmt disconnection handling to adapter code Johan Hedberg 13 years ago 3 files, +119, -107
cb2169a0 gdbus: Fix memory leak on properties_set() The pointer returned by dbus_message_iter_get_signature() must be freed with dbus_free(). Fixes this memory leak: ==1857== 16 bytes in 1 blocks are definitely lost in loss record 104 of 251 ==1857== at 0x402BF52: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1857== by 0x415E286: dbus_realloc (in /lib/i386-linux-gnu/libdbus-1.so.3.5.8) ==1857== by 0x415E70B: ??? (in /lib/i386-linux-gnu/libdbus-1.so.3.5.8) ==1857== by 0x415F17B: ??? (in /lib/i386-linux-gnu/libdbus-1.so.3.5.8) ==1857== by 0x414CB33: dbus_message_iter_get_signature (in /lib/i386-linux-gnu/libdbus-1.so.3.5.8) ==1857== by 0x8053239: properties_set (object.c:899) ==1857== by 0x5FFFFF: ??? ==1857== Anderson Lizardo 13 years ago 1 file, +6, -1
d4ed8789 core: Move mgmt discovery handling into adapter code Johan Hedberg 13 years ago 4 files, +72, -101
8b62e871 core: Add function for handling internal SDP processing Marcel Holtmann 13 years ago 2 files, +17, -0
77d7957d core: Reduce noise of debug prints a little bit Marcel Holtmann 13 years ago 1 file, +22, -35
934fd76e core: Remove old adapter_get_dev_id function Marcel Holtmann 13 years ago 2 files, +0, -6
d29d2587 plugins: Use btd_adapter_get_index instead of adapter_get_dev_id Marcel Holtmann 13 years ago 2 files, +6, -5
5ffba5be profiles: Use btd_adapter_get_index instead of adapter_get_dev_id Marcel Holtmann 13 years ago 1 file, +1, -1
7d937a9b core: Use btd_adapter_get_index instead of adapter_get_dev_id Marcel Holtmann 13 years ago 1 file, +2, -2
b3d51b08 core: Provide new exported function for getting the index Marcel Holtmann 13 years ago 2 files, +9, -0
862a05d2 core: Remove old adapter_get_default function Marcel Holtmann 13 years ago 1 file, +2, -7
a67c3531 plugins: Use btd_adapter_get_default instead of adapter_get_default Marcel Holtmann 13 years ago 2 files, +7, -8
a5cd87ca core: Add exported functions for adapter default handling Marcel Holtmann 13 years ago 2 files, +35, -1
f6b071aa core: Make ADAPTER_INTERFACE constant private Marcel Holtmann 13 years ago 2 files, +2, -2
e68d48ac core: Use the global D-Bus connection variable within adapter handling Marcel Holtmann 13 years ago 1 file, +16, -17
4dbf13f9 core: Remove the obsolete duplicate tracking of controllers Marcel Holtmann 13 years ago 1 file, +5, -252
9bcad1eb core: Keep the current discovery type inside adapter handling Marcel Holtmann 13 years ago 3 files, +32, -63
264a98a2 core: Ignore updates if controller name and short name are identical Marcel Holtmann 13 years ago 1 file, +6, -4
cd11ef2d core: Track changes to class of device in one place Marcel Holtmann 13 years ago 1 file, +45, -66
Previous Next