| e7d82756 |
audio/player: Fix not setting playlist items as playable
All items in the playlist should have playable flag set otherwise they
cannot be part of the playlist. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +2, -0 |
| 32f40223 |
test: Fix ProximityMonitor1 interface name typo in test-proximity |
Anderson Lizardo |
12 years ago |
1 file, +1, -1 |
| 7a17b557 |
doc/media-api: Add Metadata property to MediaItem
The implementation uses a single property to expose the item metadata
not multiple for every single metadata entry. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +34, -21 |
| 188d211c |
build: Fix make distcheck
Fix this error:
make[1]: *** No rule to make target `profiles/audio/audio.conf', needed
by `distdir'. Stop.
make: *** [test_build] Error 2 |
Anderson Lizardo |
12 years ago |
1 file, +1, -2 |
| d76b4b05 |
tools/mpris-player: Fix leaking memory when unregistering a player
Any memory allocated for user_data passed to
dbus_connection_register_object_path should be freed once unregistered. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -0 |
| 77f56752 |
tool/mpris-player: Fix not unregister players when adapter is removed
This prevent the players to be registered again when an adapter appeared
again. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +23, -0 |
| 8aee5793 |
audio: Remove audio.conf
With the audio plugin split there is no longer a need to have a .conf
file and anyway any configuration should be put in main.conf under
plugin name group. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +0, -8 |
| 956e6336 |
audio: Remove audio plugin
Audio plugin is now splitted in multiple plugins so it is no longer
necessary to have a manager to deal with many different drivers. |
Luiz Augusto von Dentz |
12 years ago |
10 files, +0, -227 |
| abe0595d |
audio: Move A2DP code to its own plugin
This moves A2DP related code to a2dp plugin and making it possible to
disable by passing -P a2dp and increasing the modularity of the code. |
Luiz Augusto von Dentz |
12 years ago |
7 files, +245, -272 |
| 089d112f |
audio: Move AVRCP related code to its own plugin
This moves AVRCP related code to avrcp plugin and making it possible to
disable by passing -P avrcp and increasing the modularity of the code. |
Luiz Augusto von Dentz |
12 years ago |
4 files, +214, -261 |
| 84dc71d9 |
tools/mgmt-tester: Add stop discovery for BR/EDR only
Send stop command during inquiry. Check if inquiry cancel is sent and
discovering event is disabled. |
Bruna Moreira |
12 years ago |
1 file, +70, -2 |
| c582e850 |
emulator: Add new function for running all hooks
It was defined four hook types and they are run before/after the first
part of default command processing and send event. Note that hook return
will define if the emulator will process/send next events (calling the
default_cmd_completion() function or not). |
Bruna Moreira |
12 years ago |
1 file, +31, -3 |
| 0714d4ee |
emulator: cmd_status() using send_packet() for run hooks easily
Now like cmd_command(), cmd_status() directly uses send_packet() instead
of send_event(), consequently cmd_status() must build the hci packet
without help of send_event(). With this change the events sent by
default_cmd() no more use send_event(), who is a good place to run hooks
for BTDEV_HOOK_POST_EVT. And the functions cmd_command() and
cmd_status() can run hooks for BTDEV_HOOK_POST_CMD. |
Eder Ruiz Maria |
12 years ago |
1 file, +23, -5 |
| 6eef6749 |
emulator: Split default_cmd() for better command and event handler
Now except for command complete event and command status event, all
other are handled by default_cmd_completion(). With this we can easily
add hooks in some points. |
Eder Ruiz Maria |
12 years ago |
1 file, +97, -32 |
| 653a17cc |
emulator: Add support for delete a hook |
Eder Ruiz Maria |
12 years ago |
4 files, +59, -0 |
| 5fd080f4 |
emulator: Export command and event hooks for hciemu user |
Eder Ruiz Maria |
12 years ago |
2 files, +44, -0 |
| 7fcddf99 |
emulator: Add hook only if there aren't other with same type and opcode |
Eder Ruiz Maria |
12 years ago |
1 file, +20, -0 |
| 37199df5 |
emulator: Add support for pre/post command/event hooks
Now who use emulator can add hooks to manipulate hci packets before
and after process commands and send events. |
Eder Ruiz Maria |
12 years ago |
2 files, +52, -0 |
| d1abf2b7 |
attrib: Reduce scope of variable declarations in char_discovered_cb()
This makes it easy to identify where variables are being used. |
Anderson Lizardo |
12 years ago |
1 file, +5, -4 |
| 63879071 |
attrib: Allow dec_read_resp() to just check if PDU is valid
If a NULL "value" parameter is given, only check whether PDU is valid,
without copying attribute value to a buffer. |
Anderson Lizardo |
12 years ago |
1 file, +3, -3 |
| 1ed64821 |
attrib: Add encode/decode execute write support
Add functions for encoding/decoding Execute Write Request PDUs. |
Alvaro Silva |
12 years ago |
2 files, +33, -0 |
| 38487a99 |
attrib: Add encode/decode prepare write support
Add functions for encoding/decoding Prepare Write Request PDUs. |
Alvaro Silva |
12 years ago |
2 files, +61, -0 |
| 9abeec8c |
attrib: Remove unused parameter from enc_write_resp() |
Alvaro Silva |
12 years ago |
3 files, +3, -3 |
| 969906d6 |
attrib: Fix coding style for various enc_*/dec_* functions
Fix coding style for enc_read_blob(), enc_read_blob_resp(),
dec_read_resp(), enc_error_resp(), enc_find_info_req(),
enc_find_info_resp() and enc_prep_write(). |
Eder Ruiz Maria |
12 years ago |
1 file, +10, -7 |
| 910beb70 |
attrib: Simplify prepare_write()
All parameters can be retrieved from struct write_long_data fields,
therefore there is no need to pass them separately. |
Anderson Lizardo |
12 years ago |
1 file, +12, -17 |
| 9b1e7de2 |
attrib: Fix coding style in prepare_write_cb() |
Anderson Lizardo |
12 years ago |
1 file, +5, -5 |
| ccd0e378 |
attrib: Do not use Write Command in gatt_write_char()
Previously, if no callback was given to gatt_write_char(), it was
assumed that a "Write Without Response" (which uses Write Command)
should be used instead of Write Request.
This "shortcut" is unnecessary (there is gatt_write_cmd() for the
situations where Write Without Response is required) and just duplicates
code.
This commit also fixes the few places where gatt_write_cmd() should be
used. |
Anderson Lizardo |
12 years ago |
4 files, +15, -17 |
| 1d4f111f |
attrib: Rename gatt_find_info() to gatt_discover_char_desc()
The old name referred to the underlying ATT PDU (Find Information
Request and Find Information Response) and not to the actual GATT
procedure (Discover All Characteristic Descriptors). |
Anderson Lizardo |
12 years ago |
10 files, +17, -14 |
| 613cc886 |
gatttool: Remove unused code
Since commit 6a3a89774c6738df4d5b77636c4ce747b7497ae9 the code
removed here has no sense. |
Eder Ruiz Maria |
12 years ago |
2 files, +5, -42 |
| ef9673dc |
audio/player: Fix attempting to set the same setting value
This cause unnecessary commands to be sent over the air so instead the
code should just return success as nothing should be changed. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +7, -1 |
| 64fa2166 |
audio/media: Fix not updating position
The status may not be 'playing' as MPRIS documents it as 'Playing'
instead, to make this less prone to typos like this the code now
uses strcasecmp. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -1 |
| 27efc30f |
audio/AVRCP: Fix registration of VOLUME_CHANGED
First check with GetCapabilities if the event is really support before
registering. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +4, -1 |
| 81620276 |
audio/AVRCP: Rework role detection
This makes AVRCP agnostic to any roles so the same session can be used
both for controller and target role. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +219, -208 |
| 6666f313 |
cyclingspeed: Fix MultipleLocationsSupported property name usage
MultipleLocationsSupported is the correct property name, as implemented
in profiles/cyclingspeed/cyclingspeed.c. |
Anderson Lizardo |
12 years ago |
2 files, +3, -3 |
| 9e52c81f |
mailmap: Add Martin due to one commit with incomplete name |
Johan Hedberg |
12 years ago |
1 file, +1, -0 |
| 03375be7 |
attrib: Fix interactive gatttool segfault
Passing the special character single quote:
$gatttool -I
[ ][ ][LE]> '
Segmentation fault (core dumped)
Checking g_shell_parse_argv fail status (return FALSE on failure), works
fine. |
Sathish Narasimman |
12 years ago |
1 file, +2, -1 |
| f763e5e3 |
build: Build a simpler version of libgdbus-internal |
Marcel Holtmann |
12 years ago |
1 file, +6, -8 |
| c97860db |
build-sys: Don't build gdbus several times
We are currently compiling gdbus 3 times: one for tests, one for
bluetoothd and another for obexd.
$ ls gdbus/*watch.o
gdbus/bluetoothd-watch.o gdbus/obexd-watch.o gdbus/watch.o
Instead of prepending $(gdbus_sources) to several _SOURCES variable, use
a convenience library. |
Lucas De Marchi |
12 years ago |
3 files, +29, -21 |
| 0585eb43 |
build-sys: Rename lib suffix to -internal
libbluetooth-private -> libbluetooth-internal |
Lucas De Marchi |
12 years ago |
3 files, +35, -35 |
| 9b686b14 |
lib: Remove duplicated HSP_HS_UUID definition
There is an identical definition on the same header file (next to
HSP_AG_UUID). |
Anderson Lizardo |
12 years ago |
1 file, +0, -1 |
| adce984e |
tools/bluetooth-player: Make show-item command print Player property
This makes show-item command to print Player property that indicates
which player the item belongs to. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -0 |
| 84fd2a75 |
doc/media-api: Update documentation of MediaItem1
This adds documentation of property Player |
Luiz Augusto von Dentz |
12 years ago |
1 file, +5, -1 |
| 0fe67267 |
audio/player: Add Player property to MediaItem1
This proper refer to the player object path which the item belongs to |
Luiz Augusto von Dentz |
12 years ago |
1 file, +15, -0 |
| 7c746fcd |
doc/media-api: Update documentation of MediaFolder1
This adds missing access types to properties NumberOfItems and Name |
Luiz Augusto von Dentz |
12 years ago |
1 file, +2, -2 |
| 2ed925ad |
core: Fix default authorize value for external profiles
Previously the value of "authorize" was essentially ignored in the
settings table. This wasn't very noticeable since almost all profiles
use the default true value. Since the default value of "authorize" is
true it cannot be left out from the default settings table entries
(leaving it out would set it implicitly to false). |
Martin Xu |
12 years ago |
1 file, +13, -0 |
| 8ec17c31 |
doc/media-api: Update documentation of MediaPlayer1
This adds documentation of properties Type and Subtype |
Luiz Augusto von Dentz |
12 years ago |
1 file, +20, -0 |
| 55a7d811 |
input: Add debug logs for attio connection status in HoG code |
Johan Hedberg |
12 years ago |
1 file, +4, -0 |
| d8773c56 |
input: Fix minor coding style issue in HoG code |
Johan Hedberg |
12 years ago |
1 file, +2, -2 |
| 7487d5b9 |
core: Add debug log for attrib disconnection reason |
Johan Hedberg |
12 years ago |
1 file, +2, -0 |
| 0e4fb343 |
core: Remove unnecessary btd_device reference count in browse_req
The browse request is "owned" by the btd_device structure so it doesn't
make sense to have browse_req keeping an extra reference for the
btd_device. |
Johan Hedberg |
12 years ago |
1 file, +2, -4 |