Commits

Commit Message Author Age Changes
b3ccd854 Proximity API simplification Delegates the Immediate Alert Level control to the caller(client). Immediate Alert Service is shared between Path Loss and Find Me. Three signal level states are defined: "good", "regular" and "weak". Meaning that at least two thresholds are necessary to implement a proper state transition. "unknown" will be returned if the link is not active. For Path Loss, the logic to trigger the writting operation of the Immediate Alert Level characteristic needs to be implemented in the client. SignalLevel can be only one of the inputs to define when and which value to write in the characteristic. Claudio Takahasi 14 years ago 1 file, +6, -30
4528e82b Remove unneeded header includes in event.c Claudio Takahasi 14 years ago 1 file, +0, -8
9c0c6b6b Remove unneeded textfile header includes Claudio Takahasi 14 years ago 6 files, +0, -6
ad295275 Release 4.96 Marcel Holtmann 14 years ago 2 files, +7, -1
b5ff2791 Update library version Marcel Holtmann 14 years ago 1 file, +1, -1
0065cf3b Fix off-by-one error in form factor detection The keywords we are looking for are at odd positions. Ɓukasz Stelmach 14 years ago 1 file, +1, -1
facc0d86 Fix setting noinst_LIBRARIES in Makefile.am When both audio and sap plugins are enabled, noinst_LIBRARIES is incorrectly overwritten. Anderson Lizardo 14 years ago 1 file, +4, -2
3c969811 Add L2CAP EFS definitions These are needed e.g. by hcidump. Andrei Emeltchenko 14 years ago 1 file, +7, -0
4c4c4e59 Remove per-file author information In the long run this information becomes a pain to maintain and it is already covered by the AUTHORS file and the git commit history. Johan Hedberg 14 years ago 18 files, +0, -61
e8825b76 Add thermometer driver skeleton Santiago Carot-Nemesio 14 years ago 4 files, +106, -3
3e24f802 Add manager files for HTP Santiago Carot-Nemesio 14 years ago 4 files, +86, -3
67c15df4 Initial support for Health Thermometer Profile (HTP) Santiago Carot-Nemesio 14 years ago 4 files, +57, -0
2ed2c75c Fix adapter->global_mode updating in btd_adapter_switch_offline() Currently, use of RequestSession and SetProperty adapter method calls sets global_mode to on. Switching adapter off via plug-in interface in this scenario releases all sessions, that, in turn, restores adapter's state to global_mode, which is on. Result is the adapter is switched off and immediately switched on. This patch fixes such inconsistency by overwriting global_mode to mode off when request comes from plug-in. Dmitriy Paliy 14 years ago 1 file, +2, -0
de16dfe9 Fix memory leak in sap plugin Without this patch, when dropping RFCOMM channel to sap server, the component's channel cleanup process doesn't release assigned GIOChannel resources since conn->io is set to NULL before calling sap_conn_remove (which would normally do the g_io_channel_unref). Arek Lichwa 14 years ago 1 file, +0, -1
c5d2a5e5 Makefile.am: Mark local_headers as BUILT_SOURCES As these files are auto-generated they need to be marked as BUILT_SOURCES so that we don't run into a build race later on. lib/bluetooth is removed by clean-local so this doesn't need to be in CLEAN_FILES Tom Rini 14 years ago 1 file, +2, -3
d7f192ab Fix D-Bus error code for security mode 3 pairings This patch makes sure that the HCI level status gets used to generate the D-Bus error reply to Adapter.CreatePairedDevice. Johan Hedberg 14 years ago 1 file, +3, -0
3b876e47 Address remote initiated disconnection Local initiated disconnection will be triggered when the last GAttrib reference is dropped. For remote initiated disconnection it is necessary to track the socket HUP registering disconnection GAttrib callback. Claudio Takahasi 14 years ago 1 file, +4, -3
a45a05ce Postpone calling connected callback In the ATT callbacks registration function, the connection callback should not be called in the same main loop iteraction to avoid accessing not initialized data in the profiles during probing. Claudio Takahasi 14 years ago 1 file, +39, -15
608bc4a5 Manage GAttrib refs based on registered callbacks Connection should not be dropped if there is at least one ATT connection callback registered. After discovering primary services over the LE link, GAttrib ref needs to be held to allow notifying an active connection while registering connection callbacks(inside plugins probing). Claudio Takahasi 14 years ago 1 file, +28, -12
b3eea753 Add on demand characteristic write Changes the Generic Attribute registering a callback to request ATT connection(if necessary) and write the characteristic value. Claudio Takahasi 14 years ago 1 file, +37, -5
a0988557 On demand connection for characteristics discovery In the Generic Attribute API, when DiscoverCharacteristics is called ATT connection should be requested if the link is not up. A query list is required to control when the link can be disconnected since the discover finishes after receiving all caracteristic declarations. Claudio Takahasi 14 years ago 1 file, +75, -9
3177d97e Register ATT connection callback based on watchers In the Generic Attribute API, the ATT connection should be requested on demand. In the case of watchers, the connection doesn't need to be stay up if there isn't watcher registered. Claudio Takahasi 14 years ago 1 file, +32, -23
8fb640ef Change GAttrib ref counting in Generic Attribute Claudio Takahasi 14 years ago 1 file, +0, -12
e4a3edb1 Remove implicit connection from generic API Generic attribute API should not actively manage L2CAP connections. GAttrib instance is notified through registered callbacks. SetProperty or DiscoverCharacteristic now returns NotConnected error if the link is down. Claudio Takahasi 14 years ago 1 file, +10, -111
95bf1f07 Register the ATT connection callbacks Registers the ATT connection and disconnection callbacks in the generic attribute API. First commit to remove implicit L2CAP connection establishment. Claudio Takahasi 14 years ago 1 file, +22, -0
3b010c0a Cleanup of primary service structs Get rid of local structure to store all GATT primary services of a given device. "primary" struct has been renamed to "gatt_service" to avoid misinterpretation or confusion with "att_primary". Claudio Takahasi 14 years ago 3 files, +146, -190
27347f58 Cleanup of primary service registration Claudio Takahasi 14 years ago 1 file, +24, -23
cdeb4dab Remove leftover D-Bus message in gatt_service Claudio Takahasi 14 years ago 1 file, +0, -7
c34ccee6 Remove storing device path in gatt_service Claudio Takahasi 14 years ago 1 file, +5, -5
c7b1f0bb Remove not necessary data from gatt_service Bluetooth source and destination address can be obtained from the device object. GATT service doesn't need to keep these addresses. Claudio Takahasi 14 years ago 1 file, +30, -17
82d4778b Fix typo in mgmt-api Claudio Takahasi 14 years ago 1 file, +24, -24
e2482a5e Fix removing inotify watch whenever an adapter is removed This sometimes cause bluetoothd to burn cpu when an adapter is removed from the system. Since the watch is not really bond to any adapter, in fact it is added on plugin .init, its removal is now moved to plugin .exit. Luiz Augusto von Dentz 14 years ago 1 file, +7, -4
9a7e2cc8 Fix possible invalid read/free on manager.c Invalid read of size 4 at 0x178A20: adapter_get_address (string3.h:52) by 0x174C28: adapter_cmp (manager.c:324) by 0x4EA95B0: g_slist_find_custom (in /lib64/libglib-2.0.so.0.2908.0) by 0x174ED9: manager_find_adapter (manager.c:333) by 0x16ABFA: sdp_record_remove (sdpd-database.c:270) by 0x16A4D6: remove_record_from_server (sdpd-service.c:286) by 0x12A947: avrcp_unregister (control.c:972) by 0x1208CC: avrcp_server_remove (manager.c:1066) by 0x4EA9826: g_slist_foreach (in /lib64/libglib-2.0.so.0.2908.0) by 0x178985: adapter_remove (adapter.c:2326) by 0x4EA9826: g_slist_foreach (in /lib64/libglib-2.0.so.0.2908.0) by 0x4EA984A: g_slist_free_full (in /lib64/libglib-2.0.so.0.2908.0) Address 0x603ccd0 is 16 bytes inside a block of size 448 free'd at 0x4A055FE: free (vg_replace_malloc.c:366) by 0x4E938F2: g_free (in /lib64/libglib-2.0.so.0.2908.0) by 0x11EB59: remove_interface (object.c:563) by 0x11F380: g_dbus_unregister_interface (object.c:715) by 0x1787EC: btd_adapter_unref (adapter.c:2496) by 0x4EA9826: g_slist_foreach (in /lib64/libglib-2.0.so.0.2908.0) by 0x4EA984A: g_slist_free_full (in /lib64/libglib-2.0.so.0.2908.0) by 0x174E96: manager_cleanup (manager.c:301) by 0x11CCE8: main (main.c:305) Luiz Augusto von Dentz 14 years ago 2 files, +8, -4
e501b00e Add Link Loss device driver skeleton Claudio Takahasi 14 years ago 1 file, +25, -0
b81ddf51 Add Proximity Monitor skeleton Registers hard-coded D-Bus object path for Proximity Monitor and exports GetProperties and SetProperty. Claudio Takahasi 14 years ago 6 files, +216, -1
37c3958a Add Proximity Profile plugin skeleton Claudio Takahasi 14 years ago 4 files, +54, -0
8a617a8d l2test: enhance L2CAP mode option Andrei Emeltchenko 14 years ago 1 file, +37, -6
3a94d5d0 l2test: Make use of L2CAP extended feature mask definitions Andrei Emeltchenko 14 years ago 1 file, +10, -10
c7aac055 Add L2CAP extended feature mask definitions Andrei Emeltchenko 14 years ago 1 file, +12, -0
53e6e763 Fix telephony driver compilation with GLib < 2.28 Szymon Janc 14 years ago 2 files, +6, -0
16072709 Try to connect when registering the first callback If the device is disconnected and the first ATT connection callback is registered, the first connection attempt can be triggered instead of waiting the timer. Claudio Takahasi 14 years ago 1 file, +3, -1
b405d2da Drop GAttrib ref if callback list is empty If all ATT connection callbacks are unregistered, GAttrib reference can be dropped. Claudio Takahasi 14 years ago 1 file, +8, -0
1eddeb66 Enable ATT re-connection If the link is lost and there is at least one connection callback registered the timer for ATT automatic connection shall be enabled. Claudio Takahasi 14 years ago 1 file, +13, -1
bc80d767 Add auto connection based on registered callbacks This initial approach uses a hardcoded timer(45s). Passive scanning or any other mechanism to avoid unnecessary connection attempt is not supported at the moment. For LE, device discovery needs to be executed to update the kernel advertising cache to allow re-connections. Claudio Takahasi 14 years ago 1 file, +86, -20
ed57f0d2 Add ATT disconnect callback Claudio Takahasi 14 years ago 2 files, +34, -6
1557acd7 Notify the GAttrib instance if already connected When registering the connect and disconnect callbacks for ATT, GAttrib instance should be informed to the caller if the link is up. Claudio Takahasi 14 years ago 1 file, +4, -0
f6e2c8c6 Fix crash when create device is cancelled If the owner leaves the bus or cancels the device creation process the connection callback is called causing invalid memory access. Claudio Takahasi 14 years ago 1 file, +18, -10
f61a6cad Add a function to remove ATT connection callback Claudio Takahasi 14 years ago 2 files, +29, -0
55f9fbf8 Add ATT connection callback registration Function intends to be used by profiles to inform that a connection is required and the callback that needs to be called when the it is established. New header is required to avoid non GATT based profiles including GAttrib header. Claudio Takahasi 14 years ago 3 files, +59, -2
37cd89f0 Set primary services before probing Fix accessing primary services data in the probing function of GATT based plugins. Claudio Takahasi 14 years ago 2 files, +8, -7
Previous Next