summaryrefslogtreecommitdiff
path: root/fw/esp32/components
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2024-09-12 15:37:55 +0200
committerUros Majstorovic <majstor@majstor.org>2024-09-12 15:37:55 +0200
commit94737f31525be08dac6c2dc2bff4fd69e4a81362 (patch)
tree9d27c024b67ff0212db618f339d2620e47fd642b /fw/esp32/components
parent1a95f351e7e0a3ccc34be3eba000b1b1b46f18d5 (diff)
removed extension bit from addr type
Diffstat (limited to 'fw/esp32/components')
-rw-r--r--fw/esp32/components/eos/cell_sms.c4
1 files changed, 2 insertions, 2 deletions
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: