Luiz Augusto von Dentz
9e298f8402
client/player: Use QoS interval on transport.send
...
This makes use of QoS interval when sending a file.
2022-08-29 12:43:05 -07:00
Luiz Augusto von Dentz
dc61ec4419
client/player: Add support for PACS endpoints
...
This adds support for PAC_SINK and PAC_SOURCE endpoints as well as LC3
presets.
2022-08-29 12:43:05 -07:00
Luiz Augusto von Dentz
d204e84c06
client: Add support for player submenu
...
This moves adds the functionality of bluetooth-player into
bluetoothctl.
2022-03-30 12:54:29 -07:00
Tedd Ho-Jeong An
0a259dd05b
tools: Add SPDX License Identifier
...
This patch adds SPDX License Identifier and removes the license text.
-------------------------------------
License COUNT
-------------------------------------
GPL-2.0-or-later : 97
LGPL-2.1-or-later : 38
GPL-2.0-only : 2
License: GPL-2.0-or-later
tools/l2cap-tester.c
tools/hcisecfilter.c
tools/ciptool.c
tools/btsnoop.c
tools/check-selftest.c
tools/btpclientctl.c
tools/hci-tester.c
tools/hcitool.c
tools/btiotest.c
tools/oobtest.c
tools/btinfo.c
tools/hwdb.c
tools/hciattach_bcm43xx.c
tools/mgmt-tester.c
tools/hex2hcd.c
tools/hciattach_st.c
tools/smp-tester.c
tools/bluetooth-player.c
tools/hciattach_tialt.c
tools/gap-tester.c
tools/bluemoon.c
tools/bneptest.c
tools/gatt-service.c
tools/rctest.c
tools/rfcomm-tester.c
tools/hcieventmask.c
tools/hciattach_ti.c
tools/seq2bseq.c
tools/scotest.c
tools/bcmfw.c
tools/hciconfig.c
tools/btattach.c
tools/l2ping.c
tools/obexctl.c
tools/l2test.c
tools/hciattach_intel.c
tools/hciattach.h
tools/create-image.c
tools/bnep-tester.c
tools/userchan-tester.c
tools/rfcomm.c
tools/btmon-logger.c
tools/hcidump.c
tools/rtlfw.c
tools/hciattach_qualcomm.c
tools/btproxy.c
tools/nokfw.c
tools/hciattach_ath3k.c
tools/3dsp.c
tools/bdaddr.c
tools/sco-tester.c
tools/hciattach.c
tools/amptest.c
tools/btgatt-server.c
tools/btgatt-client.c
tools/cltest.c
tools/ibeacon.c
tools/mcaptest.c
tools/hid2hci.c
tools/btmgmt.c
tools/advtest.c
tools/eddystone.c
tools/avtest.c
tools/mpris-proxy.c
tools/avinfo.c
tools/sdptool.c
tools/btconfig.c
tools/update_compids.sh
tools/parser/parser.h
tools/parser/obex.c
tools/parser/amp.c
tools/parser/sdp.c
tools/parser/tcpip.c
tools/parser/sap.c
tools/parser/cmtp.c
tools/parser/avctp.c
tools/parser/lmp.c
tools/parser/ppp.c
tools/parser/rfcomm.h
tools/parser/hci.c
tools/parser/sdp.h
tools/parser/parser.c
tools/parser/rfcomm.c
tools/parser/avdtp.c
tools/parser/avrcp.c
tools/parser/ericsson.c
tools/parser/hcrp.c
tools/parser/bpa.c
tools/parser/hidp.c
tools/parser/bnep.c
tools/parser/capi.c
tools/parser/att.c
tools/parser/l2cap.c
tools/parser/smp.c
tools/parser/csr.c
tools/parser/l2cap.h
tools/parse_companies.pl
License: LGPL-2.1-or-later
tools/test-runner.c
tools/btpclient.c
tools/meshctl.c
tools/mesh-cfgclient.c
tools/mesh/model.h
tools/mesh/util.h
tools/mesh/config-model.h
tools/mesh/cfgcli.h
tools/mesh/mesh-db.c
tools/mesh/mesh-db.h
tools/mesh/keys.c
tools/mesh/util.c
tools/mesh/agent.h
tools/mesh/remote.c
tools/mesh/keys.h
tools/mesh/agent.c
tools/mesh/cfgcli.c
tools/mesh/remote.h
tools/mesh-gatt/prov.c
tools/mesh-gatt/util.h
tools/mesh-gatt/prov.h
tools/mesh-gatt/net.c
tools/mesh-gatt/util.c
tools/mesh-gatt/prov-db.h
tools/mesh-gatt/crypto.c
tools/mesh-gatt/crypto.h
tools/mesh-gatt/gatt.c
tools/mesh-gatt/config-server.c
tools/mesh-gatt/keys.h
tools/mesh-gatt/onoff-model.c
tools/mesh-gatt/net.h
tools/mesh-gatt/gatt.h
tools/mesh-gatt/node.c
tools/mesh-gatt/config-client.c
tools/mesh-gatt/mesh-net.h
tools/mesh-gatt/node.h
tools/mesh-gatt/onoff-model.h
tools/mesh-gatt/prov-db.c
License: GPL-2.0-only
tools/obex-server-tool.c
tools/obex-client-tool.c
2020-09-29 14:37:23 -07:00
Marcel Holtmann
261948090e
build: Move declaration of _GNU_SOURCE back into individual source files
2018-12-06 21:28:18 +01:00
ERAMOTO Masaya
e2a31b1b93
tools/bluetooth-player: Return exit status for non-interactive
2018-03-27 13:58:19 +03:00
ERAMOTO Masaya
a097cb0732
tools/bluetooth-player: Add item-generator for change-folder
2018-03-12 10:07:01 +02:00
ERAMOTO Masaya
a9cf2502c9
tools/bluetooth-player: Merge cmd_play{,_item}()
2018-03-12 10:06:58 +02:00
Luiz Augusto von Dentz
ae589a34fa
tools/bluetooth-player: Fix lines going beyond 80 columns
2018-03-01 12:25:20 +02:00
ERAMOTO Masaya
477575bc88
tools/bluetooth-player: Use g_dbus_dict_append_entry()
2018-03-01 10:49:05 +02:00
Luiz Augusto von Dentz
487acb2a97
tools/bluetooth-player: Quit when done with command
...
This ensures that the commands don't stay hanging since bt_shell no
longer quits immediatelly after executing a command.
2018-02-28 16:17:13 +02:00
Luiz Augusto von Dentz
6962320860
tools/bluetooth-player: Only enable attach input when connected
2018-02-22 11:52:15 +02:00
ERAMOTO Masaya
fecdfcd323
tools/bluetooth-player: Add generator for player/item
2018-01-02 14:15:58 -02:00
ERAMOTO Masaya
7407f970d8
tools/bluetooth-player: Use g_dbus_proxy_lookup() instead of find_*
...
Uses g_dbus_proxy_lookup() instead of find_{player,folder,item}
2018-01-02 14:15:47 -02:00
ERAMOTO Masaya
4740e022ec
toosl/bluetooth-player: Remove extra commands
...
Removes the output of redundant commands in bluetooth-player since the
previous patch ("shared/shell: Fix hidden default menu if no submenu")
made bluetooth-player output the default menu.
2017-12-11 10:16:04 -02:00
Luiz Augusto von Dentz
7c16c4044d
shell: Add bt_shell_opt
...
Make use of struct option and getopt_long to parse the options given.
2017-12-08 13:06:19 +02:00
Luiz Augusto von Dentz
5f06ec4982
tools/bluetooth-player: Fix arg format for search command
...
Mandatory command should always be quoted with <>.
2017-12-08 13:06:16 +02:00
Luiz Augusto von Dentz
a469cdb8be
tools/bluetooth-player: Use bt_shell helpers
...
This makes bluetooth-player use bt_shell to manage the menus and
command handling.
2017-12-08 13:06:14 +02:00
Luiz Augusto von Dentz
9132109737
tools: Only add unique entries to readline history
...
Don't add duplicate commands to history this is similar to what
HISTCONTROL=ignoredups does.
2017-09-20 15:28:44 +03:00
Marcel Holtmann
10152d6411
tools: Fix includes for gdbus.h header
2015-02-28 22:20:59 -08:00
Sebastian Chlad
1d7c6a807d
tools/bluetooth-player: check path validity
...
Bluetooth-player change-folder cmd approves any argument however it
can be and then should a valid path only. Failing in providing
a valid path crashes bluetooth-player thus argument should be
checked if it's a valid path.
2014-01-13 12:12:59 +02:00
Sebastian Chlad
e8799bfd2d
tools/bluetooth-player: Formatting commands
...
Formatting commands passed to bluetooth player.
Whitespace character trimmed.
2013-12-31 13:32:59 +02:00
Luiz Augusto von Dentz
adce984e04
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.
2013-07-17 14:31:49 +03:00
Luiz Augusto von Dentz
96ef167192
tools/bluetooth-player: Fix crash when using search command
...
Invalid read of size 8
at 0x3F34619C4A: dbus_message_iter_append_basic (in /usr/lib64/libdbus-1.so.3.7.2)
by 0x40B764: search_setup (bluetooth-player.c:893)
by 0x4094FC: g_dbus_proxy_method_call (client.c:742)
by 0x40C2A4: cmd_search (bluetooth-player.c:941)
by 0x40B307: rl_handler (bluetooth-player.c:1099)
by 0x3733E2AFDA: rl_callback_read_char (in /usr/lib64/libreadline.so.6.2)
by 0x40BC0D: input_handler (bluetooth-player.c:1216)
by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x40445F: main (bluetooth-player.c:1434)
Address 0x4d4beb0 is 0 bytes inside a block of size 4 alloc'd
at 0x4A0887C: malloc (vg_replace_malloc.c:270)
by 0x3F31A4D68E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A63F0B: g_strdup (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x40C281: cmd_search (bluetooth-player.c:939)
by 0x40B307: rl_handler (bluetooth-player.c:1099)
by 0x3733E2AFDA: rl_callback_read_char (in /usr/lib64/libreadline.so.6.2)
by 0x40BC0D: input_handler (bluetooth-player.c:1216)
by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x40445F: main (bluetooth-player.c:1434)
2013-06-12 16:37:23 +03:00
Luiz Augusto von Dentz
29952ebbb7
tools/bluetooth-player: Add show-item command
...
Add support for show-item command which can be used to print item
information.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
d7adaaf844
tools/bluetooth-player: Add search command
...
Add support for search command which can be used to search a for items
containing a given string.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
d876366199
tools/bluetooth-player: Add scan command
...
Add support for scan command which can be used to set scan mode.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
ad3acd58f8
tools/bluetooth-player: Add shuffle command
...
Add support for shuffle command which can be used to set shuffle mode.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
f899c1fad7
tools/bluetooth-player: Add repeat command
...
Add support for equalizer command which can be used to set repeat mode.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
9d60d860ba
tools/bluetooth-player: Add equalizer command
...
Add support for equalizer command which can be used to enable/disable
equalizer.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
630a3e581c
tools/bluetooth-player: Add queue command
...
Add support for queue command which can be used to add an item to the
current playlist.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
d8d4f1699d
tools/bluetooth-player: Add item argument to play command
...
Add item argument to play command so it can be used to e.g. jump to
different item in the playlist.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
e742b25652
tools/bluetooth-player: Add list-items command
...
Add support for list-items command which can be used list items of
current folder.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
e3c4a32f93
tools/bluetooth-player: Add change-folder command
...
Add support for change-folder command which can be used to change
current folder.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
7c804e29bb
tools/bluetooth-player: Print playlist name in command show
...
This makes command show to print playlist name if available
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
45cf57c3e8
tools/bluetooth-player: Add proxy handling for org.bluez.MediaItem1
...
This adds proxy handling for org.bluez.MediaItem1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
3c32cbf901
tools/bluetooth-player: Add folder properties to command show output
...
This add folder properties to command show output if MediaFolder1 is
supported.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
2fcad91d23
tools/bluetooth-player: Add proxy handling for org.bluez.MediaFolder1
...
This adds proxy handling for org.bluez.MediaFolder1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
2c71af29bc
tools/bluetooth-player: Add select command
...
Add support for select command which can be used to set the default
player
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
1193019637
tools/bluetooth-player: Add show command
...
Add support for show command which can be used to show player
information
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
37f085ae5d
tools/bluetooth-player: Add list command
...
Add support for list command which can be used to list available players
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
ccc7d6726f
tools/bluetooth-player: Add rewind command
...
Add support for rewind command which can be used to rewind the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
ffba5601a8
tools/bluetooth-player: Add fast-forward command
...
Add support for fast-forward command which can be used to fast forward
the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
9948de8271
tools/bluetooth-player: Add previous command
...
Add support for next command which can be used to jump to the previous
item
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
5f5953ebee
tools/bluetooth-player: Add next command
...
Add support for next command which can be used to jump to the next item
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
4d8386628a
tools/bluetooth-player: Add stop command
...
Add support for stop command which can be used to stop the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
49618d1f4d
tools/bluetooth-player: Add pause command
...
Add support for pause command which can be used to resume the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
cd279e5075
tools/bluetooth-player: Add play command
...
Add support for play command which can be used to resume the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
82e12919af
tools/bluetooth-player: Add support for container types to print_iter
...
This adds support for container types to print_iter so it can now print
'Track' property properly.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
171049e873
tools/bluetooth-player: Add proxy handling for org.bluez.MediaPlayer1
...
This adds proxy handling for org.bluez.MediaPlayer1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00