Ad Widget

Collapse

whether the zabbix GSM/SMS support PDU mode?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • magicsa
    Junior Member
    • Oct 2011
    • 1

    #1

    whether the zabbix GSM/SMS support PDU mode?

    hi,everyone.I use chinese language,and using a huawei EM310 GSM moden, it can send notify message with english language only.
    in sms.c source:{"AT+CMGF=1\r" , "OK" , 5}, /* Switch to text mode */

    I try modify to : AT+CMGF=0, and rebuild, when error :Expected [> ] received [+CMS ERROR: operation not allowed]
    I find error also in logfile:error during wait for GSM modem

    CMGF=1,switch to text mode, and CMGF=0 using PDU mode.

    can anybody help me?
    --------------------------------------
    各位好,我使用的是中文语言,在zabbix中配置了EM310用于发送报警短信,但手机上只能显示英文字 符,全部的中文字符被过滤掉。
    在sms.c源文件中,AT+CMGF=1是使用文本模式发送,该模式只能发送英文字符,修改为PDU,则 出现错误,求教。
Working...