| b84f6f79 |
build-sys: Define _GNU_SOURCE in config.h
Instead of defining _GNU_SOURCE in each source file (and potentially
forgetting in some), tell the build system we use extensions and let it
define _GNU_SOURCE in config.h. |
Lucas De Marchi |
13 years ago |
12 files, +1, -11 |
| a163324e |
dbus: Rename to org.bluez.Adapter1
Trivially add the numbering suffix to org.bluez.Adapter according to
the proposal for BlueZ 5. |
Mikel Astiz |
13 years ago |
13 files, +45, -44 |
| 88b483b1 |
dbus: Rename to org.bluez.Device1
Trivially add the numbering suffix to org.bluez.Device according to
the proposal for BlueZ 5. |
Mikel Astiz |
13 years ago |
10 files, +23, -23 |
| 07bf7e90 |
adapter: Remove FindDevice method from D-Bus API
ObjectManager.GetManagedObjects() returns all devices and their
corresponding properties to any interested client. The device address is
included in the property dictionary and therefore having such a
FindDevice method is an unnecessary duplication. |
Mikel Astiz |
13 years ago |
2 files, +0, -45 |
| 67dab2d2 |
test: Avoid using Adapter.FindDevice()
The method is now deprecated and thus the replacement utility library
should be used in the test scripts. |
Mikel Astiz |
13 years ago |
8 files, +71, -56 |
| 36128655 |
adapter: Remove redundant Devices property
The ObjectManager interface already reports the list of devices, so the
the property can be entirely removed. |
Mikel Astiz |
13 years ago |
2 files, +0, -34 |
| 0dad3662 |
adapter: Remove DeviceCreated/DeviceRemoved signals
The Adapter interface already reports changes in the device list in form
of property changes, so there is no need to keep these two signals. |
Mikel Astiz |
13 years ago |
2 files, +0, -25 |
| 428e1e66 |
test: Add helper function to find devices
Add a helper function to the utility library as an alternative to the
convenience method Adapter.FindDevice() in the D-Bus API. |
Mikel Astiz |
13 years ago |
1 file, +22, -0 |
| 3a168792 |
test: Use ObjectManager instead of Devices property
Use the objects and interfaces reported by the ObjectManager in order
to list the available devices per adapter. |
Mikel Astiz |
13 years ago |
1 file, +6, -8 |
| 86a7b07c |
dbus: Remove org.bluez.Manager
After the decision to drop the "default-adapter" feature in the D-Bus
API, the org.bluez.Manager interface can be entirely dropped since it
has been replaced by the ObjectManager. |
Mikel Astiz |
13 years ago |
6 files, +3, -228 |
| 0aa39e83 |
test: Use ObjectManager instead of Adapters property
Use the objects and interfaces reported by the ObjectManager in order
to list the available adapters. |
Mikel Astiz |
13 years ago |
2 files, +15, -4 |
| 0204fd71 |
test: Update test-manager script to ObjectManager
Make the script compatible with the new API provided by the
ObjectManager interface. |
Mikel Astiz |
13 years ago |
1 file, +14, -16 |
| 05eb0887 |
test: Update monitor script to ObjectManager
Make the script compatible with the new API provided by the
ObjectManager and Properties interfaces. |
Mikel Astiz |
13 years ago |
1 file, +31, -37 |
| 90e7850d |
test: Avoid using DefaultAdapter()
Call the utility library -which uses ObjectManager API- to avoid using
Manager.FindAdapter() and Manager.DefaultAdapter(). |
Mikel Astiz |
13 years ago |
17 files, +50, -121 |
| 6e545912 |
test: Add utility library for python scripts
Several convenience functions/features will be removed from BlueZ's
D-Bus API, and therefore a utility library is required to avoid
boilerplate code in the test scripts. |
Mikel Astiz |
13 years ago |
2 files, +26, -1 |
| e5fa4dd5 |
cups: Remove unnecessary code
The adapter is always known so the code to handle the NULL case is not
needed. |
Mikel Astiz |
13 years ago |
1 file, +2, -20 |
| 6dbcee8c |
adapter: Always write address type when converting to new storage
When address type is not present in legacy storage assume BDADDR_BREDR
type and store it.
This also fix following compilation error on ARM:
CC src/bluetoothd-adapter.o
src/adapter.c: In function ‘convert_entry’:
src/adapter.c:2710:2: error: comparison is always true due to limited
range of data type [-Werror=type-limits]
cc1: all warnings being treated as errors
make[1]: *** [src/bluetoothd-adapter.o] Error 1 |
Szymon Janc |
13 years ago |
1 file, +3, -4 |
| edf8f75b |
audio: Remove not used auto connect flag
This flag is not used anymore because HFP is moved away from bluez
It was used for Automatic HFP+A2DP connection with incomming connection. |
Chan-yeol Park |
13 years ago |
6 files, +0, -34 |
| 83d330c6 |
audio: Remove left over of HFP removal |
Chan-yeol Park |
13 years ago |
2 files, +2, -29 |
| 00480002 |
build: Include bluetooth lib folder for obexd
Because obexd is included in bluez repo, obexd should refer to local
lib folder before system's one. |
Chan-yeol Park |
13 years ago |
1 file, +4, -3 |
| 322fe5d8 |
audio: Remove left over of HFP removal |
Chan-yeol Park |
13 years ago |
1 file, +0, -8 |
| e1b75474 |
cyclingspeed: Fix various coding style issues |
Johan Hedberg |
13 years ago |
1 file, +32, -31 |
| 701b22fb |
test: Enable speed and cadence calculation in test-cyclingspeed
This patch allows to enable instantenous speed and cadence calculation
based on measurement received from remote device.
To enable calculations additional parameter "--circumference <value>"
needs to be used when calling script which sets wheel circumference in mm.
Both speed and cadence are enabled at the same time. Speed is calculated
in km/h and cadence in rpm. |
Andrzej Kaczmarek |
13 years ago |
1 file, +69, -2 |
| 38fbdeac |
test: Add cyclingspeed test script |
Andrzej Kaczmarek |
13 years ago |
2 files, +126, -1 |
| 3b4574cb |
build: Add CSCP API document to EXTRA_DIST |
Andrzej Kaczmarek |
13 years ago |
1 file, +2, -1 |
| 1ac915bc |
doc: Rename cycling API to cyclingspeed |
Andrzej Kaczmarek |
13 years ago |
2 files, +100, -100 |
| 5d93cc76 |
doc: Remove Get-/SetProperties from CSC API document
cyclingspeed plugin uses DBus.Properties instead of custom methods. |
Andrzej Kaczmarek |
13 years ago |
1 file, +1, -19 |
| 1eb98668 |
core: Add CyclingSpeedWatcher interface to default policy |
Andrzej Kaczmarek |
13 years ago |
1 file, +1, -0 |
| 20565e92 |
cyclingspeed: Add support for Set Cumulative Value |
Andrzej Kaczmarek |
13 years ago |
1 file, +91, -1 |
| 27f933ea |
cyclingspeed: Add support for Update Sensor Location |
Andrzej Kaczmarek |
13 years ago |
1 file, +121, -1 |
| 75db77a3 |
cyclingspeed: Add support for Request Supported Sensor Locations |
Andrzej Kaczmarek |
13 years ago |
1 file, +57, -4 |
| 1c51534b |
cyclingspeed: Add stub to use SC Control Point
This patch implements common functions to use SC Control Point.
Individual procedures will be implemented in subsequent patches. |
Andrzej Kaczmarek |
13 years ago |
1 file, +140, -5 |
| 9af57358 |
cyclingspeed: Add DBus.Properties for org.bluez.CyclingSpeed interface |
Andrzej Kaczmarek |
13 years ago |
1 file, +95, -1 |
| c109782e |
cyclingspeed: Process measurement notifications |
Andrzej Kaczmarek |
13 years ago |
1 file, +138, -1 |
| bc5cc3b2 |
cyclingspeed: Add support to enable measurement notifications |
Andrzej Kaczmarek |
13 years ago |
1 file, +71, -1 |
| 2ac3db59 |
cyclingspeed: Add CyclingSpeedManager interface
This patch registers org.bluez.CyclingSpeedManager interface for each
adapter to allow registration and deregistration of measurement watchers. |
Andrzej Kaczmarek |
13 years ago |
1 file, +150, -1 |
| 9b2c315a |
cyclingspeed: Read Sensor Location characteristic value |
Andrzej Kaczmarek |
13 years ago |
1 file, +39, -1 |
| 2b75f608 |
cyclingspeed: Read CSC Feature characteristic value |
Andrzej Kaczmarek |
13 years ago |
1 file, +34, -1 |
| 3874fc11 |
cyclingspeed: Discover characteristics CCC |
Andrzej Kaczmarek |
13 years ago |
1 file, +80, -2 |
| 727fddeb |
cyclingspeed: Discover CSCS characteristics |
Andrzej Kaczmarek |
13 years ago |
2 files, +64, -0 |
| 22c0d838 |
cyclingspeed: Add attio callbacks |
Andrzej Kaczmarek |
13 years ago |
1 file, +36, -0 |
| 941c4447 |
cyclingspeed: Add CSC profile plugin skeleton
This patch adds stub profile driver plugin for CSC profile. |
Andrzej Kaczmarek |
13 years ago |
3 files, +197, -2 |
| 41aa85d1 |
build: Compile obexd and obex-client |
Marcel Holtmann |
13 years ago |
4 files, +105, -0 |
| f1e88405 |
obexd: Fix not using port when it is set by the client
If the client set a channel/port the code would just ignore and attempt
to discover the service anyway. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -0 |
| 2ee7238d |
obexd: Reset ap_sent variable
For multiple subsequent request for message listing
we need to reset this variable to FALSE, so that each
time the get next header function is executed properly. |
Sunil Kumar Behera |
13 years ago |
1 file, +1, -0 |
| ff3d8766 |
obexd: Fix using BtIOType |
Luiz Augusto von Dentz |
13 years ago |
1 file, +8, -22 |
| cdfaf26e |
obexd: Fix using BtIOType |
Luiz Augusto von Dentz |
13 years ago |
1 file, +3, -3 |
| ab156cd3 |
obexd: Add get_next_header() in message listing
In case of message listing we need to send application
parameters in response and also it is required for sending
response to message listing size request. |
Sunil Kumar Behera |
13 years ago |
1 file, +1, -0 |
| f3eeb2c9 |
obexd: Fix sending absolute path
As per OBEX spec the NAME header should not contain absolute paths |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -1 |
| 1f4a6756 |
obexd: Fix returning empty if messages was already listed
Once a message was already listed and inserted on the cache it could
not be listed again as the code was using the wrong key to lookup for
found messages then once we try to create the message again it fails
as the object already exists. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -1 |