Commits

Commit Message Author Age Changes
22d943a7 mesh: Fix for handling unprovisioned device If there is no ServiceData there is no valid provisioning data for PB-GATT Łukasz Rymanowski 8 years ago 1 file, +1, -1
a5b844cb mesh: Use DuplicateData filter Also use the term duplicate instead of reset to make it more clear the intent of the filter. Luiz Augusto von Dentz 8 years ago 1 file, +5, -5
7c2e76aa client: Use DuplicateData filter Also use the term duplicate instead of reset to make it more clear the intent of the filter. Luiz Augusto von Dentz 8 years ago 1 file, +14, -13
edd07f7a adapter-api: Rename ResetData to DuplicateData filter Since essencially what this filter would be doing is disable duplicate for data use it instead of ResetData. Also inline the documentation of each filter option to make it easier to read what each option does. Luiz Augusto von Dentz 8 years ago 4 files, +81, -56
48f1e3c5 client: Add Confirm implementation Add Confirm implementation when indication is received. Yunhan Wang 8 years ago 1 file, +11, -0
193c49b9 gatt: Add indication confirm callback using Gatt Confirm method Yunhan Wang 8 years ago 1 file, +12, -4
d782f08d doc/gatt-api: Add Confirm Add Confirm method which doesn't expect a reply so it is just confirmation that value was received. Yunhan Wang 8 years ago 1 file, +7, -0
cce51615 mesh: move GATT defines to the appropriate header file Group mesh GATT definitions in mesh/gatt.h file. Also remove unused members in mesh_node structure. Inga Stotland 8 years ago 3 files, +11, -13
b0fe6045 client: Add autocompletion for on/off For some commands bluetoothctl gives the hint of argument, which is "on" and "off", it is convenient even if the argument of command was overlooked in help message. ERAMOTO Masaya 8 years ago 1 file, +25, -7
a8a57c02 client: Use the common argument generator ERAMOTO Masaya 8 years ago 1 file, +9, -18
e5562190 mesh: Make use of rl_prompt_input This removes unnecessary code to ask user input which is already supported by rl_prompt_input. Luiz Augusto von Dentz 8 years ago 2 files, +31, -100
c8c680e1 gatt: Fix crash while disconnecting The following crash happens if user shutdown the its pipe before the device gets disconnected: Invalid read of size 8 at 0x4E47ED: io_shutdown (io-glib.c:285) by 0x4D1366: queue_remove_all (queue.c:351) by 0x4A1D22: btd_gatt_client_disconnected (gatt-client.c:2207) by 0x4A517B: att_disconnected_cb (device.c:4663) by 0x4D5945: disconn_handler (att.c:538) by 0x4D0FBF: queue_foreach (queue.c:220) by 0x4D75D9: disconnect_cb (att.c:590) by 0x4E419A: watch_callback (io-glib.c:170) by 0x50CD246: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.5200.3) by 0x50CD5E7: ??? (in /usr/lib64/libglib-2.0.so.0.5200.3) by 0x50CD901: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.5200.3) by 0x40CD0E: main (main.c:781) Address 0x9240bc8 is 8 bytes inside a block of size 40 free'd at 0x4C2FD18: free (vg_replace_malloc.c:530) by 0x50D2B4D: g_free (in /usr/lib64/libglib-2.0.so.0.5200.3) by 0x4E4200: io_unref (io-glib.c:68) by 0x4E4257: watch_destroy (io-glib.c:107) by 0x50C9C67: ??? (in /usr/lib64/libglib-2.0.so.0.5200.3) by 0x50CD27B: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.5200.3) by 0x50CD5E7: ??? (in /usr/lib64/libglib-2.0.so.0.5200.3) by 0x50CD901: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.5200.3) by 0x40CD0E: main (main.c:781) Luiz Augusto von Dentz 8 years ago 1 file, +9, -4
ebfcb76c client: Reset prompt before printing user input This fixes printing input such as: m[agent] Confirm passkey 754788 (yes/no): Luiz Augusto von Dentz 8 years ago 1 file, +3, -0
c1448637 client: Use rl_prompt_input to prompt agent input This uses rl_prompt_input to ask user input instead of maintaining its own handling in agent.c lets display.c handle all user prompt requests. Luiz Augusto von Dentz 8 years ago 3 files, +20, -80
4cfbb394 advertising: Fix UUIDs in adv_parser The API is actually ServiceUUIDs Yunhan Wang 8 years ago 1 file, +1, -1
4e111f34 client: Fix the selection bug of ad manager If there are multiple adapters, bluetoothctl may choose the wrong advertising manager. In addition, select command cannot update current advertising manager when choosing another adapter. Therefore, we need to put advertising manager under adapter structure to resolve this issue. Yunhan Wang 8 years ago 1 file, +14, -15
07661202 gdbus: Fix not always appending proxy to the list Changes introduced by ef024c2c44b4f0dab3c054d062a911cacef1fdc9 have a regression were a proxy may not be appended to the proxy_list causing tests to fail as the proxies maybe be added multiple time since proxy_look would not be able to find existing instances. Luiz Augusto von Dentz 8 years ago 1 file, +3, -3
de6c9e2c mesh: Remove circular include protection guards Marcel Holtmann 8 years ago 13 files, +3, -160
0da51611 build: Include health, mesh and midi into distcheck testing Marcel Holtmann 8 years ago 1 file, +7, -2
8e967904 mesh: Fix includes to use root relative path names Marcel Holtmann 8 years ago 16 files, +79, -78
2cbd0d69 mesh: Add mesh to main bluez build Brian Gix 8 years ago 4 files, +37, -1
9b925078 mesh: Baseline Mesh implementation Brian Gix 8 years ago 12 files, +11155, -0
112ebe6e mesh: Baseline Mesh runtime configuration files Brian Gix 8 years ago 2 files, +98, -0
846af2a2 mesh: define APIs for Bluetooth Mesh Brian Gix 8 years ago 13 files, +1034, -0
1a120466 mesh: Add BT SIG reserved numbers for Mesh Brian Gix 8 years ago 1 file, +10, -0
017df1b4 tools: Add skeleton for new btconfig utility Marcel Holtmann 8 years ago 3 files, +136, -1
f2ca3564 monitor: Add more Broadcom vendor decodings Marcel Holtmann 8 years ago 1 file, +299, -22
a41a625b client: Emit PropertiesChanged if advertising changes This allows bluetoothd to detect changes done by the user without having to rely on advertise command to unregister and register again: bluetooth]# set-advertise-name blah [bluetooth]# advertise on @ MGMT Command: Add Advertising (0x003e) plen 17 Instance: 1 Flags: 0x00000003 Switch into Connectable mode Advertise as Discoverable Duration: 0 Timeout: 0 Advertising data length: 0 Scan response length: 6 Name (complete): blah [bluetooth]# set-advertise-name bleh @ MGMT Command: Add Advertising (0x003e) plen 17 Instance: 1 Flags: 0x00000003 Switch into Connectable mode Advertise as Discoverable Duration: 0 Timeout: 0 Advertising data length: 0 Scan response length: 6 Name (complete): bleh Luiz Augusto von Dentz 8 years ago 3 files, +59, -28
b12b7e76 advertising: Allow changes to properties This enables the application to change the advertising object instead of having it unregistered and registered once again. Luiz Augusto von Dentz 8 years ago 1 file, +85, -71
0c663ff5 monitor: Add additional Broadcom vendor command decodings Marcel Holtmann 8 years ago 1 file, +48, -2
ef024c2c gdbus: Fix calling GetAll while GetManagedObjects is pending If proxies are created while the client is not ready put them into a pending list so only if they are not found in GetManagedObject reply call GetAll. Luiz Augusto von Dentz 8 years ago 1 file, +58, -37
5c3a39e6 client: Enable set-advertise-appearance to set Appearance This enables set-advertise-appearance to use Appearance property: [bluetooth]# set-advertise-appearance 128 [bluetooth]# advertise on @ MGMT Command: Add Advertising (0x003e) plen 15 Instance: 1 Flags: 0x00000003 Switch into Connectable mode Advertise as Discoverable Duration: 0 Timeout: 0 Advertising data length: 4 Appearance: Computer (0x0080) Scan response length: 0 Luiz Augusto von Dentz 8 years ago 3 files, +38, -2
80cee3a5 advertising: Add Appearance property With this property applications can select their own appearance to be advertised, as opposed to just including the adapter's appearance. Luiz Augusto von Dentz 8 years ago 2 files, +37, -4
177eccc1 client: Enable set-advertise-name to set LocalName This enables set-advertise-name to use LocalName property: [bluetooth]# set-advertise-name blah [bluetooth]# advertise on @ MGMT Command: Add Advertising (0x003e) plen 17 Instance: 1 Flags: 0x00000003 Switch into Connectable mode Advertise as Discoverable Duration: 0 Timeout: 0 Advertising data length: 0 Scan response length: 6 Name (complete): blah Luiz Augusto von Dentz 8 years ago 3 files, +27, -2
e90c5ee0 advertising: Add LocalName property With this property applications can select their own local name to be advertised, as opposed to just including the adapter's name. Luiz Augusto von Dentz 8 years ago 2 files, +36, -2
2bfd5dc8 advertising: Don't depend on kernel to include an appearance The flag to include an Appearance may not be available in older kernels so instead of depending on the kernel to add it just generate it locally and add as part of advertising data: @ MGMT Command: Add Advertising (0x003e) plen 15 Instance: 1 Flags: 0x00000003 Switch into Connectable mode Advertise as Discoverable Duration: 0 Timeout: 0 Advertising data length: 4 Appearance: Unknown (0x0000) Scan response length: 0 Luiz Augusto von Dentz 8 years ago 1 file, +13, -2
2c65fc85 advertising: Don't depend on kernel to include the Local Name The flag to include Local Name may not be available in older kernel so instead of depending on the kernel to add the adapter name in the scan response generate it and set it as instance scan response: @ MGMT Command: Add Advertising (0x003e) plen 31 Instance: 1 Flags: 0x00000003 Switch into Connectable mode Advertise as Discoverable Duration: 0 Timeout: 0 Advertising data length: 0 Scan response length: 20 Name (complete): Vudentz's T460s #1 Luiz Augusto von Dentz 8 years ago 1 file, +48, -2
d50f6ce3 shared/ad: Add bt_ad_add_appearance and bt_ad_clear_appearance This adds basically functionality to add and remove GAP appearance to advertising data. Luiz Augusto von Dentz 8 years ago 2 files, +40, -0
29f5ff52 shared/ad: Add bt_ad_add_name and bt_ad_clear_name This adds basically functionality to add and remove name to advertising data. Luiz Augusto von Dentz 8 years ago 2 files, +68, -0
172e68c5 client: Add set-advertise-name and set-advertise-appearance set-advertise-appearance enables the use of adapter's appearance in the scan response: [bluetooth]# set-advertise-appearance on [bluetooth]# advertise on @ MGMT Command: Add Advertising (0x003e) plen 11 Instance: 1 Flags: 0x00000023 Switch into Connectable mode Advertise as Discoverable Add Appearance field to Scan Response Duration: 0 Timeout: 0 Advertising data length: 0 Scan response length: 0 set-advertise-name enables the use of adapter's name/alias in the scan response: [bluetooth]# set-advertise-name on [bluetooth]# advertise on @ MGMT Command: Add Advertising (0x003e) plen 11 Instance: 1 Flags: 0x00000043 Switch into Connectable mode Advertise as Discoverable Add Local Name in Scan Response Duration: 0 Timeout: 0 Advertising data length: 0 Scan response length: 0 Luiz Augusto von Dentz 8 years ago 3 files, +156, -62
9fb1f9ff advertising: Add Includes property This enables using the all the supporting includes. Note: IncludeTxPower has been moved under Includes as well since it was still experimental. Luiz Augusto von Dentz 8 years ago 2 files, +104, -100
91f9eb13 advertising: Add SupportedIncludes This adds SupportedIncludes so application can detect what the system can include. Luiz Augusto von Dentz 8 years ago 2 files, +50, -0
1377185c advertising: Add ActiveInstances property This property indicates how many instance are currently in use. Luiz Augusto von Dentz 8 years ago 2 files, +29, -1
8ff58c5f advertising: Rename AdvertisementInstaces to SupportedInstances This fixes the typo and removes the term advertisement since it is implicit given the interface name, also make it experimental since AdvertisingManager is still experimental. Luiz Augusto von Dentz 8 years ago 2 files, +6, -7
90b003ab advertising: Ensure all instances are reset during init If for some reason bluetoothd crashes or is killed it may leave instances behind. Luiz Augusto von Dentz 8 years ago 1 file, +23, -1
5252296b device: Fix crash when connecting ATT with BR/EDR only device The fix introduced in 006213cf4d231ce66de273e96619474bd516359b only works for dual mode devices, if the device is BR/EDR the address type would match the type on browsing_req so it still possible to crash. Luiz Augusto von Dentz 8 years ago 1 file, +23, -15
4987ddbc audio/avctp: Don't timeout on Browsing channel The browsing channel uses ERTM so it can retransmit packets and the spec suggests to have MaxTransmit as infinit and just use the link supervision timeout: Luiz Augusto von Dentz 8 years ago 1 file, +13, -4
7cdfddad plugins/sixaxis: Use the same device name as the kernel Some games check the device name to recognize a playstation controller. This changes the device name, when using a PS3 controller over bluetooth, to match the device name, that is advertised when using the controller via USB. Nicolas Werner 8 years ago 1 file, +1, -1
829fe112 shared/gatt-db: Fix memory comparison error This fixes the use of memcmp where the length of comparison is longer than the memories to be compared. Since unit/test-gatt make use of gatt-db, if compiled with ASan, unit/test-gatt would fail. Miao-chen Chou 8 years ago 1 file, +9, -4
2c2164f5 monitor: Refactor print_enable function Michał Narajowski 8 years ago 1 file, +57, -354
Previous Next