传真服务器开发
三页传真过程全记录(日志形式)
(来自我开发的传真服务器)
初始化MODEM.......
receive :AT&FE1Q0V1S0=0
receive :OK
初始化MODEM成功.
设置MODEM可接受数据信息......
send msg AT+FCR=1
receive :AT+FCR=1
receive :OK
设置成功......
send msg AT+FAA=0
receive :AT+FAA=0
receive :AT+FAA=0OK
设置modem的类别......
send msg AT+FCLASS=2
接收反馈信息......
receive :AT+FCLASS=2
receive :OK
初始化MODEM的参数信息......
send msg AT+FDCC=1,3,0,2,0,0,0,0
接收反馈信息......
receive :AT+FDCC=1,3,0,2,0,0,0,0
receive :AT+FDCC=1,3,0,2,0,0,0,0OK
设置成功......
接收反馈信息......
receive :AT+FDCC=1,3,0,2,0,0,0,0OK
接收反馈信息......
receive :RING
铃声开始响起......
回答远程的MODEM......
send msg ATA
接收反馈信息......
receive :ATA
接收反馈信息......
receive :+FCON
得到SENDER ID......
接收反馈信息......
receive :+FCON
接收反馈信息......
receive :+FTSI: " "
得到TSI 帧......
接收反馈信息......
receive :" "
接收反馈信息......
receive :+FDCS: 0,3,0,2,0,0,0,5
得到DCS 帧......
接收反馈信息......
receive :0,3,0,2,0,0,0,5
接收反馈信息......
receive :OK
send msg AT+FDR
接收反馈信息......
receive :AT+FDR
接收反馈信息......
receive :+FCFR
接收反馈信息......
receive :+FDCS: 0,3,0,2,0,0,0,5
接收反馈信息......
receive :0,3,0,2,0,0,0,5
接收反馈信息......
receive :CONNECT
send <dc2>
开始接收第1页的数据信息......
<第1页的数据信息> <略>
接收第1页的数据完成......
sure page response:32:11:82
receive :+FPTS: 1,2219,0,0
receive :+FET: 0
receive :OK
sured page response:32:12:554
sure next page response:32:12:554
send msg AT+FDR
begin sure FDR page response:32:12:654
receive :AT+FDR
receive :CONNECT
send <DC2>
sured FDR page response:32:14:537
开始接收第2页的数据信息......
<第2页的数据信息> <略> ` ` ` `蜒 ` ` ` ` M殌 M殌 M殌 M殮? M殌 M殌
接收第2页的数据完成......
sure page response:33:2:516
receive :+FPTS: 1,2219,0,0
receive :+FET: 0
receive :OK
sured page response:33:3:988
sure next page response:33:3:988
send msg AT+FDR
begin sure FDR page response:33:4:88
receive :AT+FDR
receive :CONNECT
sured FDR page response:33:5:971
send <DC2>
开始接收第3页的数据信息......
<第3页的数据信息> <略>
接收第3页的数据完成......
sure page response:33:42:323
receive :+FPTS: 1,2219,0,0
receive :+FET: 2
receive :OK
sured page response:33:43:795
等待远程挂断......
接收反馈信息......
receive :OK
<完>