diff options
Diffstat (limited to 'src/sms_send.c')
-rw-r--r-- | src/sms_send.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sms_send.c b/src/sms_send.c index 3933786..bc98cb4 100644 --- a/src/sms_send.c +++ b/src/sms_send.c @@ -225,11 +225,11 @@ static int do_send(int fd, struct send_options *options, int argc, char **argv) } //LE910-SVG SMS SEND WORKAROUND - if (!strcmp(Global.core.model, "LE910-SVG")) { - log_info("setting text mode for LE910-SVG"); + if (is_vzw_lte()) { + log_info("setting text mode for Verizon LTE"); tmp = atcmd_plus_cmgf_write(fd, SMS_TEXT_MODE); if (tmp < 0) { - log_error("failed to set text mode for sending with LE910-SVG"); + log_error("failed to set text mode for sending with Verizon LTE."); return false; } } @@ -253,7 +253,7 @@ static int do_send(int fd, struct send_options *options, int argc, char **argv) } //LE910-SVG SMS SEND WORKAROUND - if (!strcmp(Global.core.model, "LE910-SVG")) { + if (is_vzw_lte()) { mem_index = atcmd_plus_cmgw_write_text(fd, NULL, SMS_ADDR_UNSPEC, NULL, pdu.user_data, pdu.user_data_len); } else { @@ -313,7 +313,7 @@ static int do_send(int fd, struct send_options *options, int argc, char **argv) } //LE910-SVG SMS SEND WORKAROUND - if (!strcmp(Global.core.model, "LE910-SVG")) { + if (is_vzw_lte()) { tmp = atcmd_plus_cmgs_write_text(fd, pdu.addr.addr, pdu.user_data, pdu.user_data_len); } else { |