Commits

Commit Message Author Age Changes
0779dd9b attrib: Fix "make distcheck" build Any new header files (att-database.h in this case) need to be added to Makefile.am. Fixes this "make distcheck" error: CC attrib/bluetoothd-gatt-service.o ../attrib/gatt-service.c:35:26: fatal error: att-database.h: No such file or directory compilation terminated. make[2]: *** [attrib/bluetoothd-gatt-service.o] Error 1 make[1]: *** [all] Error 2 make: *** [distcheck] Error 1 Anderson Lizardo 13 years ago 1 file, +2, -1
d0179f0d update Gustavo's email address Gustavo Padovan 13 years ago 1 file, +1, -1
0949326f gattrib: Protect GAttrib when there is a pending write Claudio Takahasi 13 years ago 1 file, +8, -4
bd379384 attrib: Fix missing Discovery reply when disconnected This patch fixes missing reply for DiscoverCharacteristics method on Generic Attribute. If link is disconnected reply message is not sent. Claudio Takahasi 13 years ago 1 file, +14, -0
eeedbc0c proximity: reporter: implement D-Bus API Use a device driver to track all GATT supporting devices and register a D-Bus interface per remote device. Implement the "GetProperties" method of the D-Bus interface by querying the alert level of the remote device in the link-loss and immediate-alert proximity profiles. The default alert level values for non-connected devices are "none". Arik Nemtsov 13 years ago 1 file, +183, -8
692ef73e proximity: immediate alert: implement immediate alert server The profile is implemented in immalert.[ch]. A GATT service is registered with a write callback on the immediate alert level attribute. This attribute is write-only and is maintained per remote device. When a remote device write a raises or lowers the alert level, an appropriate PropertyChanged signal is emitted. When the alert level of a device is non-zero, a callback is registered on its disconnection. When the callback is called, the alert level of the device is reset to zero and an appropriate signal is emitted. Arik Nemtsov 13 years ago 4 files, +320, -40
a20e040f proximity: link loss: implement link loss server The profile is implemented in linkloss.[ch]. A GATT service is registered with read/write callbacks on the link-loss alert level attribute. The alert level is maintained per device. It is returned on read and updated on write. When the alert level is non-zero, a callback is registered on the disconnection of the remote device. If a device with non-zero alert state is disconnected, an appropriate PropertyChanged signal is emitted with the alert level previously set by the device. We avoid emitting a signal when the disconnection was requested by us. Arik Nemtsov 13 years ago 4 files, +368, -40
dd4d0d6b proximity: reporter: move definitions to .h and add util function This allows us to re-use these definitions in GATT sub-profiles. Arik Nemtsov 13 years ago 2 files, +30, -12
09a29322 proximity: reporter: save global D-Bus connection This connection will be used by reporter GATT sub-profiles. Arik Nemtsov 13 years ago 1 file, +6, -0
3374e0ca att: add remote btd_device to ATT read/write callbacks This allows us to identify the remote device that made the ATT read/write. Arik Nemtsov 13 years ago 7 files, +68, -28
9d892a2a adapter: Fix segfault when icon is uninitialized If device type is LE and GAP Appearance characteristic does not exist, the icon will not be initialized. Bruna Moreira 13 years ago 1 file, +2, -0
3479ba93 AVCTP: return not-implemented for unknown passthrough Lucas De Marchi 13 years ago 1 file, +4, -1
8054c468 Makefile: Add simple-player and test-nap to EXTRA_DIST Add simple-player and test-nap to the EXTRA_DIST target. Daniel Wagner 13 years ago 1 file, +2, -1
81b9d4f9 eir: Read GAP appearance from advertising data This was introduced on Core Specification Supplement (CSS) v1. Bruna Moreira 13 years ago 3 files, +20, -0
877f50ec device: Appearance characteristic from GAP service After searching for primary services, the appearance characteristic is read from GAP service and saved in "appearance" file. Running GetProperty in device interface, will show the respective icon based in "appearance" value. Bruna Moreira 13 years ago 1 file, +63, -7
86259a2a storage: Add storage to GAP characteristic Add functions to read and write remote Appearance characteristic. The values are saved in "appearance" file. Bruna Moreira 13 years ago 2 files, +40, -0
7c2a566b dbus-common: Map GAP Appearance characteristic to icon Add function appearance_to_icon() to map values from Appearance Characteristic to icon available. Note: The Appearance Characteristic is composed of a category (10-bits) and sub-categories (6-bits). These categories are defined at: http://developer.bluetooth.org/gatt/characteristics/Pages/ CharacteristicViewer.aspx?u=org.bluetooth.characteristic.gap.appearance.xml Bruna Moreira 13 years ago 2 files, +34, -0
c6fc73e1 attrib: Attempt to remove attio callback on watcher exit When registering a watcher, it is attempted to add an attio callback. Therefore, when the watcher is unregistered or exits, this attio should be removed if there are no other users. This is already done when unregistering a watcher, it just missed when it exits without unregistering. Anderson Lizardo 13 years ago 1 file, +1, -0
14131675 attrib: Fix missing D-Bus message unref on DiscoverCharacteristics This patch fixes a missing message unref when DiscoverCharacteristics on Generic Attribute finishes. Claudio Takahasi 13 years ago 1 file, +3, -0
140e2169 attrib: Register only new characteristics found This avoids duplicating registration for previously found characteristics. Claudio Takahasi 13 years ago 1 file, +1, -2
9f264f56 attrib: Move Characteristic Discovery reply to a new function Minor cleanup patch moving the creation of the reply for Discover All Characteristics call to a new local function in the Generic Attribute. Claudio Takahasi 13 years ago 1 file, +27, -17
7126f145 attrib: Discover Characteristics if already connected On Generic Attribute, Discover All Characteristics of a Service can be started immediately if already connected, without registering a ATTIO connection callback. Claudio Takahasi 13 years ago 1 file, +24, -25
4e4ead44 attrib: Centralize ATTIO connection management On Generic Attribute, register only one ATTIO connection callback to centralize the connection management. Also make sure the connection reference is properly dropped only if there is no pending operation. Claudio Takahasi 13 years ago 1 file, +24, -16
2f6a0a66 Fix common spelling error in code and comments Correct spelling is "incoming" not "incomming". Szymon Janc 13 years ago 5 files, +12, -12
28b48a50 core: Fix device version in GetProperties Fix how device version is added to the property dictionary. Chen Ganir 13 years ago 1 file, +1, -1
e26b01d2 Move common code to sdp to avoid duplication LanguageBaseAttributeIDList is set from few places and each time static function was copied and used for that. Move this funtion to sdp code and use that instead of copying code. Szymon Janc 13 years ago 6 files, +21, -62
b45b9812 Bump Device ID service version to 1.3 Device ID information in EIR are specified in DID 1.3 and this is supported by BlueZ. Szymon Janc 13 years ago 1 file, +1, -1
eabd05e8 btmgmt: Add support for setting Device ID Szymon Janc 13 years ago 1 file, +65, -0
d5f15eac mgmtops: Add support for setting Device ID Szymon Janc 13 years ago 2 files, +33, -3
97b4ceb8 Add support for setting VID source in DeviceID from config file This allows to set if VID source is Bluetooth SIG or USB. Assigner is provided as string {bluetooth,usb} and fallback to usb if none is set in config. Szymon Janc 13 years ago 10 files, +46, -21
1ac88d03 Set DeviceID when registering adapter not when sdp server is starting Adapter ops are registered after sdp server is started. Thus no adapters were registered yet when setting DID on sdp startup and DID was never set. Szymon Janc 13 years ago 3 files, +4, -15
e2f915b2 Parse config DeviceID string on bluetoothd startup Instead of parsing config DeviceID string on sdp server startup, parse it in main while reading config file. This allow to store logical DID values in main_opts (instead of raw config string) and make use of them in bluetoothd code. Szymon Janc 13 years ago 5 files, +39, -31
f7eb756f input: fix coding style Fix line going over 80 columns. João Paulo Rechi Vita 13 years ago 1 file, +2, -2
28f7993c gatttool: Update interactive prompt if connection is lost In interactive mode, when connection is lost, the prompt used to remain in "connected" state. This patch fixes that case, by always showing the actual connection state. Jefferson Delfes 13 years ago 1 file, +27, -12
7bc00be4 event: Store Class of Device after connection The Class of Device is usually sent on the EIR returned by the Device Connected mgmt event. For hciops, the Class of Device is always NULL on the connection complete event. The stored Class of Device is used later for Class/Icon device properties. Anderson Lizardo 13 years ago 1 file, +8, -0
3bbf4811 HDP: Omit MainChannel when first reliable channel is nil Do not add MainChannel to property list when HDP first reliable channel does not exist. Upon channel destruction, ChannelDeleted signal is already emitted. This also fixes a crash where MainChannel was filled with invalid path "" when first reliable channel did not exist. Elvis Pfützenreuter 13 years ago 1 file, +3, -12
2755200d avdtp: fix audio source init check Michael Brudevold 13 years ago 1 file, +1, -1
46b3a3d2 sdp: Fix sdp_get_profile_descs for Mac Os X Lion Mac OS X 10.7.3 publishes the following SDP record for HFP Gateway. record #2 aid 0x0000 (SrvRecHndl) uint 0x10003 aid 0x0001 (SrvClassIDList) < uuid-16 0x111f (Handsfree AG) uuid-16 0x1203 (Audio) > aid 0x0004 (ProtocolDescList) < < uuid-16 0x0100 (L2CAP) > < uuid-16 0x0003 (RFCOMM) uint 0x2 > > aid 0x0005 (BrwGrpList) < uuid-16 0x1002 (PubBrwsGrp) > aid 0x0006 (LangBaseAttrIDList) < uint 0x656e uint 0x6a uint 0x100 > aid 0x0009 (BTProfileDescList) < uuid-16 0x111e (Handsfree) uint 0x105 > aid 0x0100 (SrvName) str "Hands Free Audio Gateway" aid 0x0301 (SuppDataStoresList) uint 0x0 aid 0x0311 (SuppFeatures) uint 0x0 BlueZ do not read correctly the version number of the profile. The patch fixes this. From my understanding, the SDP profile descriptor is a list. The for loop in sdp_get_profile_desc iterates that list. Until now, bluez expected a collection of either uuid or lists with a uuid and a version number. This can be represented as follow: list=(uuid, uuid, (uuid, version)) The patch fixes the situation where the profile descriptor list contains a uuid AND a version number both on the root level and not enclosed in a sublist. If the next item after uuid is uint16, then this is the version number. This can be represented as follow: list=(uuid, uuid, version, uuid, (uuid, version)) Note that core v4.0 spec. states that the Profile Descriptor list is a data sequence of profile descriptors. Each profile descriptor is a data sequence whose first element is a UUID and second element is a version number. This can be represented as follow: list=((uuid, version), (uuid, version)) Frédéric Dalleau 13 years ago 1 file, +5, -0
1e064929 GATT: Replace start/end with att_range Use att_range struct instead of individual start/end handles in gatt_primary structure Chen Ganir 13 years ago 9 files, +23, -24
48c82115 GATT: Rename service and char structs Rename the att_primary to gatt_primary and att_char to gatt_char. Characteristic and Service do not exist in the ATT spec, only in GATT. Chen Ganir 13 years ago 14 files, +55, -50
afb04979 GATT: Profile support for EnableGatt Add support for the EnableGatt for all GATT profiles. Chen Ganir 13 years ago 7 files, +32, -11
f47e7204 GATT: Rename AttributeServer switch Rename the AttributeServer main.conf option to EnableGatt and change its purpose to enable/disable all GATT related activity. Chen Ganir 13 years ago 7 files, +14, -14
e407e9ac GATT: Remove individual config switches Remove individual GATT plugin configuration switches and add a new master gatt switch called --enable-gatt to enable/disable all GATT related plugins at once. Chen Ganir 13 years ago 4 files, +20, -64
9c4712a9 Fix not marking a reverse SDP discovery as "reverse" Some devices "hide" some of their records while connected to other devices. Setting a service discovery as reverse makes BlueZ to not remove the records that are "hidden". This patch fixes a mistake that reverse parameter was changed to false when it should be true. Vinicius Costa Gomes 13 years ago 1 file, +1, -1
3af4ffff Remove leftover code of main_opts operation Chan-yeol Park 13 years ago 2 files, +0, -6
dfe14a34 wiimote: Detect Wii Remotes by device name We currently detect Wii Remotes by DID information. However, not all Wii Remotes (especially 3rd party Wii Remotes) provide DID information. Moreover, they provide no way of identifying them aside from their device name. Hence, this adds an experimental name-detection for Wii Remotes. David Herrmann 13 years ago 1 file, +8, -5
a3b9f74c input: Remove unneeded alias Claudio Takahasi 13 years ago 1 file, +6, -13
75c5ab10 input: Remove unneeded Bluetooth Address arguments Claudio Takahasi 13 years ago 3 files, +18, -33
b59f7d2e attrib-server: Fix sending "not supported" for indications/notifications Now that our Attribute Client is able to handle notifications and indications we don't need to respond that they are not supported. Vinicius Costa Gomes 13 years ago 1 file, +4, -0
4fd2d5ae HFP gateway: fix failure on very first GSM connection This patch fix the very first incoming connection from a GSM device (playing the gateway role), when 'device->gateway' is NULL (when we didn't perform a SDP browse request yet) we add the service with 'btd_device_add_uuid(device->btd_dev, remote_uuid)' but we provide HFP_HS_UUID as remote_uuid. Consequently, the HFP headset service is activated instead the gateway service. Arnaud Mouiche 13 years ago 1 file, +2, -2
Previous Next