From 94737f31525be08dac6c2dc2bff4fd69e4a81362 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 12 Sep 2024 15:37:55 +0200 Subject: removed extension bit from addr type --- fw/esp32/components/eos/cell_sms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fw/esp32') diff --git a/fw/esp32/components/eos/cell_sms.c b/fw/esp32/components/eos/cell_sms.c index f1f8b33..5145cd7 100644 --- a/fw/esp32/components/eos/cell_sms.c +++ b/fw/esp32/components/eos/cell_sms.c @@ -44,11 +44,11 @@ static ssize_t sms_encode(unsigned char *buffer, uint16_t buf_len, char *pdu, si if (buf_len < 2) return EOS_ERR_SIZE; switch (buffer[0]) { case EOS_CELL_SMS_ADDRTYPE_INTL: - addr_type = GSM_EXT | GSM_TON_INTERNATIONAL | GSM_NPI_TELEPHONE; + addr_type = GSM_TON_INTERNATIONAL | GSM_NPI_TELEPHONE; break; case EOS_CELL_SMS_ADDRTYPE_OTHER: - addr_type = GSM_EXT | GSM_TON_UNKNOWN | GSM_NPI_TELEPHONE; + addr_type = GSM_TON_UNKNOWN | GSM_NPI_TELEPHONE; break; default: -- cgit v1.2.3