From 06c6177e26fbc209c6006e139cdeb9beb40bef22 Mon Sep 17 00:00:00 2001 From: Edmunt Pienkowsky Date: Sat, 25 May 2024 11:41:28 +0200 Subject: [PATCH] Disable Supplementary service notifications Disable unhanled notifications. --- src/at_command.c | 2 +- src/at_response.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/at_command.c b/src/at_command.c index b3540edf..1595bb40 100644 --- a/src/at_command.c +++ b/src/at_command.c @@ -158,7 +158,7 @@ int at_enqueue_initialization(struct cpvt* cpvt) DECLARE_AT_CMD(creg, "+CREG?"); DECLARE_AT_CMD(cnum, "+CNUM"); - DECLARE_AT_CMD(cssn, "+CSSN=1,1"); + DECLARE_AT_CMD(cssn, "+CSSN=0,0"); DECLARE_AT_CMD(cmgf, "+CMGF=0"); DECLARE_AT_CMD(cscs, "+CSCS=\"UCS2\""); diff --git a/src/at_response.c b/src/at_response.c index 86e51f9f..1f04f208 100644 --- a/src/at_response.c +++ b/src/at_response.c @@ -363,7 +363,7 @@ static int at_response_ok(struct pvt* const pvt, const at_res_t at_res, const at break; case CMD_AT_CSSN: - at_ok_response_dbg(1, pvt, ecmd, "Supplementary Service Notification enabled"); + at_ok_response_dbg(1, pvt, ecmd, "Supplementary Service Notification disabled"); break; case CMD_AT_CMGF: