Tag: nokia

为什么我在UCS2中得到的数字如何修复命令和c#?

我在通过putty读取我的短信时遇到问题,因为我键入AT + CMGL =“ALL”但是消息(文本)和数字只是数字,我读到我的gms调制解调器nokia s10使用UCS2,但我不知道该怎么办? 我怎样才能看到我刚刚看到数字的消息? 请帮忙 我也在使用codeproject中的这段代码而且我更改了这一行但是它和upt2中的putty一样是相同的结果 public ShortMessageCollection ReadSMS(SerialPort port, string p_strCommand) { // Set up the phone and read the messages ShortMessageCollection messages = null; try { #region Execute Command // Check connection ExecCommand(port,”AT”, 300, “No phone connected”); // Use message format “Text mode” ExecCommand(port,”AT+CMGF=1″, 300, “Failed to set message format.”); // […]

如何使用诺基亚手机从C#应用程序发送/接收短信

好的,我需要做的是编写C#代码,以集成到现有的应用程序中。 我(很可能)会使用诺基亚7230手机,我愿意使用诺基亚PC连接SDK / API,或者只是使用来自C#的AT命令。 但是,这里的问题是,我完全不知道从哪里开始。 如果有人可以给我一个关于如何设置所有内容的分步指南/教程,我将永远感激不尽。 我已经下载了最新版本的PC Connectivity SDK,PC Connectivity API,PC Suite和Nokia Connectivity Framework。 如果我真的可以在实际购买手机之前用模拟器测试代码,那就太棒了。 提前感谢您的任何帮助/建议。

AT命令发送/接收SMS

我是AT命令的新手。 我正在使用诺基亚E71发送和接收短信。 我正在设计一个发送短信的应用程序,但我的代码无效。 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO.Ports; using System.Threading; namespace AT_commands { public partial class Form1 : Form { SerialPort serialPort; public Form1() { InitializeComponent(); } public void Form1_Load(object sender, EventArgs e) { this.serialPort = new SerialPort(); this.serialPort.PortName = “COM23”; this.serialPort.BaudRate […]