projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement set / get volume logic from transport
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-oal
/
hardware
/
bt_rc.h
diff --git
a/bt-oal/hardware/bt_rc.h
b/bt-oal/hardware/bt_rc.h
index
6c38d02
..
006aa91
100644
(file)
--- a/
bt-oal/hardware/bt_rc.h
+++ b/
bt-oal/hardware/bt_rc.h
@@
-501,7
+501,9
@@
typedef struct {
** With RelateVolume, we will send VOLUME_UP/VOLUME_DOWN opposed to absolute volume level
** volume: Should be in the range 0-127. bit7 is reseved and cannot be set
*/
** With RelateVolume, we will send VOLUME_UP/VOLUME_DOWN opposed to absolute volume level
** volume: Should be in the range 0-127. bit7 is reseved and cannot be set
*/
- bt_status_t (*set_volume)(uint8_t volume);
+ bt_status_t (*set_volume)(bt_bdaddr_t *bd_addr, uint32_t volume);
+
+ bt_status_t (*get_volume)(bt_bdaddr_t *bd_addr, uint32_t *volume);
/* Set addressed player response from TG to CT */
bt_status_t (*set_addressed_player_rsp)(bt_bdaddr_t *bd_addr, btrc_status_t rsp_status);
/* Set addressed player response from TG to CT */
bt_status_t (*set_addressed_player_rsp)(bt_bdaddr_t *bd_addr, btrc_status_t rsp_status);