提交 0d538cd7 authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

Merge pull request #42 in FS/freeswitch from…

Merge pull request #42 in FS/freeswitch from ~DDRAGIC/freeswitch:FS-6799_fix_msg_index_check to master

* commit '9cf72b54':
  FS-6799 fix reading sms in index 0
...@@ -1154,7 +1154,6 @@ int gsmopen_serial_read_AT(private_t *tech_pvt, int look_for_ack, int timeout_us ...@@ -1154,7 +1154,6 @@ int gsmopen_serial_read_AT(private_t *tech_pvt, int look_for_ack, int timeout_us
tech_pvt->unread_sms_msg_id = pos; tech_pvt->unread_sms_msg_id = pos;
gsmopen_sleep(1000); gsmopen_sleep(1000);
if (tech_pvt->unread_sms_msg_id) {
char at_command[256]; char at_command[256];
if (tech_pvt->no_ucs2 == 0) { if (tech_pvt->no_ucs2 == 0) {
...@@ -1192,7 +1191,6 @@ int gsmopen_serial_read_AT(private_t *tech_pvt, int look_for_ack, int timeout_us ...@@ -1192,7 +1191,6 @@ int gsmopen_serial_read_AT(private_t *tech_pvt, int look_for_ack, int timeout_us
DEBUGA_GSMOPEN("AT+CKPD=\"EEE\" (cellphone screen back to user) didn't get OK from the phone\n", GSMOPEN_P_LOG); DEBUGA_GSMOPEN("AT+CKPD=\"EEE\" (cellphone screen back to user) didn't get OK from the phone\n", GSMOPEN_P_LOG);
} }
} }
} //unread_msg_id
} //CMTI well formatted } //CMTI well formatted
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论