mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: backend-native: add CLCC support
Start call id at 1 as for the index calls in HFP, and move this id to spa_bt_telephony_[ag|call] so they can be used by CLCC to retrieve the related call. if enhanced call status is supported, send AT+CLCC on +CIEV events to get the calls information.
This commit is contained in:
parent
a8363ff92b
commit
f5e08677a2
3 changed files with 84 additions and 10 deletions
|
|
@ -32,12 +32,16 @@ struct spa_bt_telephony {
|
|||
struct spa_bt_telephony_ag {
|
||||
struct spa_bt_telephony *telephony;
|
||||
struct spa_list call_list;
|
||||
|
||||
int id;
|
||||
};
|
||||
|
||||
struct spa_bt_telephony_call {
|
||||
struct spa_bt_telephony_ag *ag;
|
||||
struct spa_list link; /* link in ag->call_list */
|
||||
|
||||
int id;
|
||||
|
||||
/* D-Bus properties */
|
||||
char *line_identification;
|
||||
char *incoming_line;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue