From cd2c80b0895715d272a62f80e22610a43ca46efa Mon Sep 17 00:00:00 2001 From: Severin von Wnuck-Lipinski Date: Sat, 10 Aug 2024 13:10:19 +0200 Subject: [PATCH] bluez5: backend-native: Handle AT+CCWA command Claim that call waiting notifications are supported. Required for some devices (e.g. Soundcore Motion 300), as they stop sending commands if the reply to CCWA is not OK. --- spa/plugins/bluez5/backend-native.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spa/plugins/bluez5/backend-native.c b/spa/plugins/bluez5/backend-native.c index 1fe569b7c..33deda7c7 100644 --- a/spa/plugins/bluez5/backend-native.c +++ b/spa/plugins/bluez5/backend-native.c @@ -1012,6 +1012,13 @@ next_indicator: } rfcomm_send_reply(rfcomm, "OK"); + } else if (spa_strstartswith(buf, "AT+CCWA=")) { + /* + * Claim that call waiting notifications are supported. + * Required for some devices (e.g. Soundcore Motion 300), + * as they stop sending commands if the reply to CCWA is not OK. + */ + rfcomm_send_reply(rfcomm, "OK"); } else if (spa_strstartswith(buf, "AT+CLCC")) { struct spa_list *calls; struct call *call;