mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-23 06:59:58 -05:00
spa: bluez: backend-native: Fix +CNUM reply
PTS test HFP/AG/NUM/BV-01-C expects to receive 5 items, the last one representing service type which could be 4 for voice or 5 for fax.
This commit is contained in:
parent
99dbd109ce
commit
5d39e1357e
1 changed files with 1 additions and 1 deletions
|
|
@ -1307,7 +1307,7 @@ next_indicator:
|
||||||
type = INTERNATIONAL_NUMBER;
|
type = INTERNATIONAL_NUMBER;
|
||||||
else
|
else
|
||||||
type = NATIONAL_NUMBER;
|
type = NATIONAL_NUMBER;
|
||||||
rfcomm_send_reply(rfcomm, "+CNUM: ,\"%s\",%u", backend->modem.own_number, type);
|
rfcomm_send_reply(rfcomm, "+CNUM: ,\"%s\",%u,,4", backend->modem.own_number, type);
|
||||||
}
|
}
|
||||||
rfcomm_send_reply(rfcomm, "OK");
|
rfcomm_send_reply(rfcomm, "OK");
|
||||||
} else if (spa_strstartswith(buf, "AT+COPS=")) {
|
} else if (spa_strstartswith(buf, "AT+COPS=")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue