| e289def7 |
thermometer: Always write CCC value when connecting
This patch ensures that CCC values for Intermediate Temperature and
Termperature Measurement are always written when connecting to device.
This is to i.e. disable notifications and/or indications in case they
are already enabled (reconnection scenario) but we don't have watcher
registered so it's pointless for remote to send us data. |
Andrzej Kaczmarek |
13 years ago |
1 file, +14, -10 |
| 20f7a7b1 |
thermometer: Discover Measurement Interval descriptors only if needed
This patch will make descriptor discovery started only if Measurement
Interval characteristic properties are either write or indicate, otherwise
there are no known descriptors to be discovered. |
Andrzej Kaczmarek |
13 years ago |
1 file, +12, -3 |
| 9abdf1cf |
thermometer: Remove storage of all discovered characteristics
This patch removes structures used to keep all discovered characteristics
in thermometer structure. Useful values are already stored directly in
this structure.
characteristic structure is now only used as temporary user data when
discovering descriptors for particular characteristic. |
Andrzej Kaczmarek |
13 years ago |
1 file, +65, -73 |
| a1b30e26 |
thermometer: Remove descriptor structure
This patch removes descriptor structure which is now redundant since
useful data are now kept directly in thermometer structure. |
Andrzej Kaczmarek |
13 years ago |
1 file, +43, -71 |
| 3567b5a9 |
thermometer: Use dedicated handler for Measurement Interval
This patch replaces global indications handler with one registered only
for Measurement Interval value indications. |
Andrzej Kaczmarek |
13 years ago |
1 file, +36, -68 |
| f1493b57 |
thermometer: Use dedicated handler for Temperature Measurement
This patch moves Temperature Measurement value indications handler into
separate callback registered for particular handle only. |
Andrzej Kaczmarek |
13 years ago |
1 file, +38, -3 |
| 3d65d17f |
thermometer: Use dedicated handler for Intermediate Temperature
This patch replaces global notifications handler with one registered only
for Intermediate Temperature value notifications. |
Andrzej Kaczmarek |
13 years ago |
1 file, +168, -177 |
| 41aed289 |
thermometer: Store Measurement Interval value handle in struct
This patch adds Measurement Interval value handle directly into
thermometer struct. This way there's no need to traverse list
looking for value.
get_characteristic() function and related helpers are now unused
so can be removed. |
Andrzej Kaczmarek |
13 years ago |
1 file, +5, -24 |
| c9958f1a |
thermometer: Store Intermediate Temperature CCC handle in struct
This patch adds Intermediate Measurement CCC handle value directly into
thermometer struct. This way there's no need to traverse nested lists
looking for value.
write_ccc() function and related helpers are now unused so can be
removed. |
Andrzej Kaczmarek |
13 years ago |
1 file, +25, -55 |
| f4b4485d |
thermometer: Store Temperature Measurement CCC handle in struct
This patch adds Temperature Measurement CCC handle value directly into
thermometer struct. This way there's no need to traverse nested lists
looking for value. |
Andrzej Kaczmarek |
13 years ago |
1 file, +26, -3 |
| cb9cee0e |
doc: Remove leftover PropertyChanged from media-api.txt |
Johan Hedberg |
13 years ago |
1 file, +0, -5 |
| 4c7dd072 |
build: Add missing lib/amp.h to Makefile.am |
Johan Hedberg |
13 years ago |
1 file, +2, -1 |
| 8ee57277 |
test: Convert simple-player to use DBus properties interface |
Luiz Augusto von Dentz |
13 years ago |
1 file, +22, -18 |
| ff18a087 |
test: Convert mpris-player to use DBus properties interface |
Luiz Augusto von Dentz |
13 years ago |
1 file, +23, -9 |
| 0ecced58 |
media-api: Update documentation of MediaPlayer interface |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -19 |
| c342bfc5 |
media: Convert target MediaPlayer interface to use D-Bus Properties |
Luiz Augusto von Dentz |
13 years ago |
1 file, +45, -55 |
| 47452a0f |
audio: Convert controller MediaPlayer interface to use D-Bus Properties |
Luiz Augusto von Dentz |
13 years ago |
1 file, +106, -116 |
| 81165a70 |
gdbus: Add g_dbus_add_properties_watch function
Convenient function to create watches for D-Bus properties. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +33, -0 |
| 5ee74583 |
gdbus: Don't automatically attach ObjectManager
Let each project attach the object manager interface instead of
registering it automatically. |
Lucas De Marchi |
13 years ago |
2 files, +36, -21 |
| a8a149cc |
gdbus: Don't register DBus.Properties with no properties
Delay registering DBus.Properties interface until the moment there are
properties on that path. This is needed for objects that currently don't
expose any property to not export the interface. |
Lucas De Marchi |
13 years ago |
1 file, +6, -3 |
| 09d7094d |
core: Attach and detach object manager |
Lucas De Marchi |
13 years ago |
1 file, +2, -0 |
| 72be0b9d |
control: Remove duplicated documentation entry |
João Paulo Rechi Vita |
13 years ago |
1 file, +0, -4 |
| d4aba10f |
media: Remove left over of HFP removal |
Luiz Augusto von Dentz |
13 years ago |
1 file, +0, -5 |
| 509d71d5 |
media-api: Update documentation of MediaTransport interface |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -13 |
| dcd6b963 |
media: Convert target MediaTransport interface to use D-Bus Properties |
Luiz Augusto von Dentz |
13 years ago |
2 files, +102, -130 |
| 78538ebf |
adapter: Fix improper freeing with g_free in convert_config
Memory in textfile_get is allocated with malloc and it should be freed
with free not g_free. |
Szymon Janc |
13 years ago |
1 file, +1, -1 |
| db9f2bc8 |
adapter: Fix memory leak in convert_config
'converted' was not freed if config file was already converted. |
Szymon Janc |
13 years ago |
1 file, +1, -0 |
| 75201cb5 |
input: _GNU_SOURCE is needed for O_CLOEXEC on some systems |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| 8f5e96b6 |
monitor: _GNU_SOURCE is needed for O_CLOEXEC on some systems |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| a036d5fe |
btsnoop: _GNU_SOURCE is needed for O_CLOEXEC on some systems |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| e24537ba |
btsnoop: Fix missing sys/stat.h include needed by S_IRUSR |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| f52d9e7e |
rctest: Fix missing sys/stat.h include needed by S_IRUSR |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| e9fc6bf4 |
wiimote: add Wii-Remote-Plus ID and name detection
The Nintendo Wii Remote Plus uses a new product ID and name. To detect
them properly, we need to add them to the wiimote-module.
To avoid an overlong "if" statement, this converts the match-function to
walk over an array and check all VID/PID pairs and device-names. This
makes adding new devices much easier. |
David Herrmann |
13 years ago |
1 file, +26, -7 |
| b823e9e9 |
emulator: Add handling for monitor server instance |
Marcel Holtmann |
13 years ago |
3 files, +12, -0 |
| 58f8c75c |
network: Only export UUID and Interface properties while connected |
Luiz Augusto von Dentz |
13 years ago |
1 file, +48, -32 |
| 972e90cc |
build: Fix make distcheck
Remove doc/input-api.txt and doc/audio-api.txt also from Makefile.am |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -3 |
| 9efcb970 |
build: Remove test-network
test-network is no longer needed since Network interface does not have
Connect/Disconnect methods anymore and similar functionality is already
provided by test-device. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +2, -62 |
| d6aace74 |
build: Remove test-input
test-audio is no longer needed since the Input interface is now removed
and similar functionality is already provided by test-device. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +1, -48 |
| bdf0af3b |
build: Remove test-audio
test-audio is no longer needed since the Audio interface is now removed
and similar functionality is already provided by test-device. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +1, -54 |
| 24221371 |
test: Add RequestDisconnection support to test-hfp |
Johan Hedberg |
13 years ago |
1 file, +13, -0 |
| 6fac519c |
network: Fix invalid read on exit
Invalid read of size 1
at 0x4A09D91: strcmp (mc_replace_strmem.c:729)
by 0x4C6C768: g_str_equal (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x1446B7: connection_disconnect (connection.c:451)
by 0x141DEA: disconnect_profile (manager.c:120)
by 0x4C96C5C: g_slist_foreach (in /usr/lib64/libglib-2.0.so.0.3200.4)
by 0x182B2D: device_remove (device.c:2034)
by 0x178809: adapter_remove (adapter.c:2902)
by 0x173902: manager_cleanup (manager.c:256)
by 0x1217B9: main (main.c:550)
Address 0x0 is not stack'd, malloc'd or (recently) free'd
In addition remove owner since it is no longer possible to track the
owner as this is done in the core. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +0, -28 |
| 4ffd914e |
network: Fix always attempting to connect to PANU service
connection_connect takes the remote role as parameter not the local one. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -2 |
| 7985ad8f |
network: Fix trying to register NetworkServer interface multiple times
This also removes the limitation of only accepting nap as UUID, now all
PAN UUID are supported including their friendly names. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +44, -20 |
| 928fba84 |
network: Fix not responding to Device.ConnectProfile
The callback passed to connection_connect has to be used to respond when
the connection completes. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -0 |
| 9c62de94 |
network: Remove Network.Connect and Network.Disconnect
These method are no longer necessary as Device interface has similar
functionality. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +1, -116 |
| 47076b8f |
network: Make use of D-Bus Properties interface |
Luiz Augusto von Dentz |
13 years ago |
1 file, +68, -65 |
| 85be8f5b |
input: Remove Input interface
This interface is no longer needed as Device interface can now connect
the profiles. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +6, -131 |
| 0e9bf87f |
audio: Remove Control.Connect and Control.Disconnect
These method are no longer necessary as Device interface has similar
functionality. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +5, -58 |
| c31d0954 |
audio: Remove Audio interface
This interface is no longer needed as Device interface can now connect
the profiles and the state can be tracked using MediaTransport interface. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +2, -209 |
| e08ec5b9 |
audio: Remove AudioSource interface
This interface is no longer needed as Device interface can now connect
the profiles and the state can be tracked using MediaTransport interface. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +11, -189 |