Skip to content

Commit d9ef1d9

Browse files
committed
app: sms: Disable SMS status reports
SM doesn't request anymore SMS status reports (+CDS URCs) because these are not indicated to the host via #XSMS etc. These are disabled from SMS library with CONFIG_SMS_STATUS_REPORT=n. Jira: SM-284 Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
1 parent 81322a7 commit d9ef1d9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/prj.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ CONFIG_MQTT_CLEAN_SESSION=y
127127
CONFIG_AT_PARSER=y
128128
CONFIG_AT_MONITOR=y
129129

130+
# SMS
131+
CONFIG_SMS_STATUS_REPORT=n
132+
130133
# Eventfd's to use with AT-commands.
131134
CONFIG_ZVFS_EVENTFD_MAX=2
132135

app/src/sm_at_sms.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ static void sms_callback(struct sms_data *const data, void *context)
116116
total_msgs = 0;
117117
count = 0;
118118
}
119-
} else if (data->type == SMS_TYPE_STATUS_REPORT) {
120-
LOG_INF("Status report received");
121119
} else {
122120
LOG_WRN("Unknown type: %d", data->type);
123121
}

0 commit comments

Comments
 (0)