| 2bc42c36 |
gatt: Remove reading Service Changed characteristic after connected
Service Changed characteristic is a control-point attribute thus it
cannot be read and attempting to do so will fail. Instead, server shall
send indication once enabled in CCC.
This change is due to "Erratum 3833 - Service Changed" (ESR05) which
changed characteristic value properties from 0x26 to 0x20. |
Andrzej Kaczmarek |
13 years ago |
1 file, +0, -37 |
| 7cb75f43 |
mgmt: Fix error code passed to bonding_complete in disconnect_complete
bonding_complete expects mgmt status code not hci error code. |
Szymon Janc |
13 years ago |
1 file, +1, -1 |
| a2d706da |
mgmt-api: Add missing error code descriptions |
Szymon Janc |
13 years ago |
1 file, +2, -0 |
| c17ef83d |
build: Add missing heartrate to builtin_modules |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| 6026d2eb |
hciconfig: Clarify what oobdata command do
oobdata command results in reading new local OOB data and invalidates
previously read data. Current command description is misleading. |
Szymon Janc |
13 years ago |
2 files, +2, -2 |
| c5968765 |
hog: Add support for multiple instances
This patch adds support for multiple HID services instances exposed by
the same remote device. |
Claudio Takahasi |
13 years ago |
3 files, +48, -86 |
| a4bb1b59 |
core: Add proper support for run-time removal of profiles |
Johan Hedberg |
13 years ago |
5 files, +33, -0 |
| fd9d6c2b |
input: Remove unneeded header include |
Claudio Takahasi |
13 years ago |
1 file, +0, -1 |
| fa51cea7 |
hog: Add writting Control Point
This patch adds GATT write without response operation when suspending
or resuming. |
Claudio Takahasi |
13 years ago |
3 files, +43, -1 |
| dbb37fa2 |
hog: Move HoG device list to manager
This patch moves the HoG device list from hog_device.c to hog_manager.c
in order to be possible to easily notify suspend/resume events to each
created device. |
Claudio Takahasi |
13 years ago |
3 files, +48, -28 |
| 4014b6e8 |
hog: Create a FIFO for dummy suspend
This patch creates a FIFO on "/tmp/hogsuspend" to allow the users to
test the HoG suspend(HID Control Point) when the dummy back-end is
enabled. |
Claudio Takahasi |
13 years ago |
1 file, +101, -1 |
| 274c3cd9 |
scanparam: Fix servers list to be static |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| 9d86dbee |
heartrate: Fix minor coding style issues |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| e05ba147 |
heartrate: Add test script |
Rafal Garbat |
13 years ago |
2 files, +105, -1 |
| 356df8a2 |
heartrate: Add HeartRateWatcher interface to default policy |
Rafal Garbat |
13 years ago |
1 file, +1, -0 |
| c30e690a |
heartrate: Add GetProperties method |
Rafal Garbat |
13 years ago |
1 file, +61, -0 |
| b6e29238 |
heartrate: Add support to reset Energy Expended
This patch adds Reset method on HeartRate interface to reset Energy
Expended. |
Andrzej Kaczmarek |
13 years ago |
1 file, +44, -1 |
| e878f198 |
heartrate: Process measurement notifications
This patch adds processing of received Heart Rate Measurement
characteristic notifications and sends processed data to registered
watchers. |
Andrzej Kaczmarek |
13 years ago |
1 file, +166, -1 |
| 16f31547 |
heartrate: Add support to enable notifications
This patch adds support to enable notifications for Heart Rate Measurement
characteristic value. Notifications are enabled automatically when at
least one watcher is registered and disabled otherwise. |
Andrzej Kaczmarek |
13 years ago |
1 file, +67, -0 |
| bfe22237 |
heartrate: Add HeartRateManager interface
This patch adds support for org.bluez.HeartRateManager interface on
adapters which allows to register and unregister per-adapter watcher. |
Rafal Garbat |
13 years ago |
1 file, +153, -1 |
| 29f118b9 |
heartrate: Read Body Sensor Location characteristics
This patch adds support to read and store Body Sensor Location
characteristic value. |
Rafal Garbat |
13 years ago |
1 file, +34, -1 |
| 436563f6 |
heartrate: Discover Heart Rate Measurement CCC
This patch adds support to discover CCC descriptor for Heart Rate
Measurement characteristic. |
Andrzej Kaczmarek |
13 years ago |
1 file, +65, -1 |
| 8da46ea6 |
heartrate: Discover HRS characteristics
This patch adds support to discover known Heart Rate Service
characteristics. |
Andrzej Kaczmarek |
13 years ago |
4 files, +65, -3 |
| b6cb8a98 |
heartrate: Add attio callbacks |
Andrzej Kaczmarek |
13 years ago |
1 file, +35, -0 |
| bada796a |
heartrate: Add initial HRP client support
This patch adds initial support for the Heart Rate Profile client.
Profile driver is registered to keep track of adapters and devices. |
Rafal Garbat |
13 years ago |
7 files, +356, -1 |
| 34400349 |
Heart Rate Profile (HRP) client API |
Santiago Carot-Nemesio |
13 years ago |
1 file, +84, -0 |
| dd86a0cc |
scan: Avoid discover if scan handle is known
This patch avoids the characteristic discovery for Scan Interval Window
if the attribute value handle was discovered on a previous interaction. |
Claudio Takahasi |
13 years ago |
1 file, +7, -2 |
| e5e2b118 |
scan: Write parameters when requested
This patch implements the update procedure of the scan parameters
when the Scan Server requests. The Scan Refresh characteristic is
used to inform the Scan Client(BlueZ) that the Scan Server requires
the most recent scan settings. |
Claudio Takahasi |
13 years ago |
1 file, +18, -8 |
| aba6d805 |
scan: Register notification handler
This patch registers the GAttrib notification handler for Refresh
Characteristic notification. |
Claudio Takahasi |
13 years ago |
1 file, +35, -1 |
| 509284ac |
scan: Enable Scan Refresh notification
This patch discovers the Scan Refresh Characteristic handle and sets
it's Client Characteristic Configuration bit to enable notifications. |
Claudio Takahasi |
13 years ago |
1 file, +80, -1 |
| b677c427 |
scan: Add write scan interval window
This patch adds the handle discovery of the Scan Interval Window
Characteristic and writes the default value (hard-coded in the kernel)
of the scan interval, and scan window in the remote's characteristic. |
Claudio Takahasi |
13 years ago |
1 file, +41, -0 |
| 02dd29d7 |
scan: Add ATTIO callbacks registration
This patch add the functions to manage ATTIO callbacks. The current
registration mechanism is not suitable for this service since it needs
to be passive. Scan Parameters should not actively request connections,
it needs to be notified if the connections has been established
requested by other services. |
Claudio Takahasi |
13 years ago |
4 files, +158, -2 |
| 1342e68c |
scan: Register profile
This patch add the probe and remove callbacks for the GATT Scan
Parameters service. |
Claudio Takahasi |
13 years ago |
4 files, +100, -2 |
| ef697e82 |
scan: Add plugin skeleton
This patch adds the Makefile changes and plugin declaration to support
Scan Parameters service. BlueZ will act as Scan Client writting to a Scan
Server the scanning parameters. |
Claudio Takahasi |
13 years ago |
2 files, +56, -2 |
| a4d8608a |
hog: Add suspend/resume callbacks declaration
This patch declares the callbacks functions that intend to be used
by the suspend back-ends. |
Claudio Takahasi |
13 years ago |
3 files, +24, -3 |
| 16a8c889 |
hog: Add suspend back-end selection
This patch series introduces back-end selection for HoG suspend drivers.
The default back-end is called "dummy", added for testing purpose only. |
Claudio Takahasi |
13 years ago |
2 files, +10, -0 |
| df78f047 |
hog: Add initial files for suspend support
This patch adds the initial files to support HoG suspend. The suspend
concept for HoG is implementation specific. The proposal is allowing
back-end selection at build time. Each Linux distribution/platform is
responsible for defining and writting their own policy to manage suspend
on HoG capable devices.
When setting the Control Point, the report device can execute actions to
save power. eg: Reduce the cycle of the key press detection or disable
LEDs. |
Claudio Takahasi |
13 years ago |
4 files, +80, -1 |
| 7fc008ec |
proximity: Change Monitor drivers function prefix to monitor_ |
Andrzej Kaczmarek |
13 years ago |
1 file, +5, -5 |
| e8f5e8b7 |
proximity: Split profile driver into Monitor and Reporter
Proximity Monitor interface is registered for each GATT device since
profile driver matches by GATT_UUID which is intended only for Reporter
role.
This patches splits Proximity profile driver into two separate drivers
for Monitor and Reporter role to register interfaces properly. |
Andrzej Kaczmarek |
13 years ago |
3 files, +27, -12 |
| 18abb99e |
adapter: Remove unused struct btd_adapter members
stop_discov_id and state are not used anymore. |
Szymon Janc |
13 years ago |
1 file, +0, -3 |
| 363c8de2 |
test: Fix fd handling in test-profile |
Johan Hedberg |
13 years ago |
1 file, +3, -0 |
| 57a2ff30 |
gdbus: Refactor filter_data_find()
Now this function is only used for searching the listeners of a
connection and the other parameters are not needed anymore. |
Lucas De Marchi |
13 years ago |
1 file, +5, -38 |
| 5a6aa225 |
gdbus: Fix wrong signal handler match
When we add a signal handler with g_dbus_add_signal_watch(), this
function tries to multiplex the matches added in libdbus by checking
if there's a previous filter_data with the same fields. However, if the
field is NULL it accepts as being the same. The result is that the
following watches will use the same filter data:
watch1 = g_dbus_add_signal_watch(conn, BUS_NAME, NULL, iface, member,
cb1, data1, NULL);
watch2 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path2", iface, member,
cb2, data2, NULL);
watch3 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path3", iface, member,
cb3, data3, NULL);
The result is that when a signal arrives with path == "/path2", all 3
callbacks above will be called, with the same signal delivered to all of
them.
Another problem is that, if we invert the calls like below, only signals
to cb1 will never be trigerred, nonetheless it used path == NULL.
watch2 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path2", iface, member,
cb2, data2, NULL);
watch1 = g_dbus_add_signal_watch(conn, BUS_NAME, NULL, iface, member,
cb1, data1, NULL);
watch3 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path3", iface, member,
cb3, data3, NULL);
This is fixed by not multiplexing the matchs with filter data if any of
the fields are different, including being NULL. When a signal arrives,
if a field is NULL we accept it as a match, but not when adding the
signal handler. |
Lucas De Marchi |
13 years ago |
1 file, +94, -21 |
| abfc2b0d |
gdbus: Fix crash when getting disconnected from the bus
When getting disconnected from the bus sometimes (maybe always?)
dbus_watch_handle() can cause the "info" context to be free'd meaning
that we should not try to access it after the call. The only member we
need access to is the connection pointer and as the code already has a
ref() call for it it's only natural to solve the issue by adding a local
variable not dependent on "info".
The backtrace of the crash fixed looks as follows:
Invalid read of size 8
at 0x121085: watch_func (mainloop.c:105)
by 0x4C72694: g_main_context_dispatch (gmain.c:2539)
by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146)
by 0x4C72DC1: g_main_loop_run (gmain.c:3340)
by 0x120541: main (main.c:551)
Address 0x5bbcd90 is 16 bytes inside a block of size 24 free'd
at 0x4A079AE: free (vg_replace_malloc.c:427)
by 0x4C7837E: g_free (gmem.c:252)
by 0x4F708BF: dbus_watch_set_data (dbus-watch.c:614)
by 0x4F70938: _dbus_watch_unref (dbus-watch.c:132)
by 0x4F6E9A7: _dbus_transport_handle_watch (dbus-transport.c:884)
by 0x4F59AFB: _dbus_connection_handle_watch (dbus-connection.c:1497)
by 0x4F70AF9: dbus_watch_handle (dbus-watch.c:683)
by 0x121084: watch_func (mainloop.c:103)
by 0x4C72694: g_main_context_dispatch (gmain.c:2539)
by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146)
by 0x4C72DC1: g_main_loop_run (gmain.c:3340)
by 0x120541: main (main.c:551) |
Johan Hedberg |
13 years ago |
1 file, +5, -4 |
| 2fd93cc6 |
build: Fix make distcheck for src/profile.c
Fix this "make distcheck" error:
../src/profile.c:39:18: fatal error: uuid.h: No such file or directory |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 85ecc44d |
AVRCP: Store version and features of the remote in the session |
Luiz Augusto von Dentz |
13 years ago |
1 file, +13, -14 |
| 08eec685 |
AVRCP: Automatically connect browsing channel if supported
Once control channel is connected check if the device support browsing
channel and connect to it. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +40, -1 |
| 731aec9c |
AVRCP: Add handler for browsing PDUs
Implement generic handling of browsing PDU ids |
Vani Patel |
13 years ago |
2 files, +96, -6 |
| 2f35d76a |
AVCTP: Add functions to register and unregister Browsing handler |
Joohi Rastogi |
13 years ago |
2 files, +38, -0 |
| b22a0e48 |
AVRCP: Add browsing channel support
Implements browsing channel creation and release. |
Vani Patel |
13 years ago |
1 file, +165, -19 |