悬赏园豆:10
[已关闭问题]
关闭于 2008-04-23 13:37
<P align=left>如果我直接用serialPort,按at命令发送短信是可以成功的</P>
<P align=left>serialPort sp=new serialPort();</P>
<P align=left>sp.WriteLine(<SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">PUD</SPAN>);//<SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">PUD</SPAN>是按<SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">PUD编码后的结果。</SPAN></P>
<P align=left><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">------------------------------------------------------------------</SPAN></P>
<P align=left><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">但是我用 <FONT color=#000000>serialPort控件方法</FONT> 遇到问题</SPAN></P>
<P align=left><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">先说下发短信过程</SPAN></P>
<P align=left><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><SPAN style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">向手机发送</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"> AT+CMGS=PUD</SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">长度</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: Verdana; mso-fareast-font-family: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: #4b4b4b; FONT-FAMILY: 宋体; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">成功的话手机回送</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: