From 761a6fcaa5f92b5fb5e702457bf1941f4d0d54b8 Mon Sep 17 00:00:00 2001 From: "Li, Xiaoming" Date: Thu, 6 Aug 2020 10:23:00 +0800 Subject: docs(README.md): avrcp_controls's adapter and device arg are optional If these two args are not provided, the bluetooth service will use mediaplayer_path instead of the path generated by function return_bluez_path(). Explanation of function return_bluez_path(): - File:bluetooth-util.c: - Function: gchar *return_bluez_path(afb_req_t request). - Description: read argument of "adapter" and "device", combine them to generate a bluze path and return this path value. Return NULL if device is not specified. Change-Id: I75727e266cd984620cac410ca6e030d2db8514dc Signed-off-by: Li, Xiaoming --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 85150c7..afb0bdc 100644 --- a/README.md +++ b/README.md @@ -149,11 +149,11 @@ This verb allows an client to get initial paired devices, and discovered unpaire avrcp_controls verb allow controlling the playback of the defined device -| Name | Description | -|-----------------|----------------------------------------------------------------------------------------------| -| adapter | Name of the adapter (i.e. hci0) | -| device | Must be the name of the device (i.e. dev_88_0F_10_96_D3_20) | -| action | Playback control action to take (e.g Play, Pause, Stop, Next, Previous, FastForward, Rewind) | +| Name | Description | +|-----------------|--------------------------------------------------------------------------------------------------------------| +| adapter | Name of the adapter (optional, i.e. hci0) | +| device | Must be the name of the device (optional, i.e. dev_88_0F_10_96_D3_20) | +| action | Playback control action to take (e.g Play, Pause, Stop, Next, Previous, FastForward, Rewind) | ### connect/disconnect verbs -- cgit 1.2.3-korg