在电脑上通过手机发短信

[b]1。电脑和e398通过usb连通。[/b]//******************************************//
[b]2。查看com端口[/b]
For USB, how to know on which COM Port the phone has been detected:

1). Power up the Phone.
2). Connect regular USB Cable to phone.
3). Right Click on My Computer.
4). Click on Properties.
5). Select 'Hardware' Tab.
6). Click on Device Manager.
7). Your phone should be detected as Modem. Expand Modems under Device Manager.
(There has been some cases when the phone is detected as Modem but when you expand
Modems under Device Manager it is detected as Broken link. In this case Reboot the
computer and follow steps 1-7 again)
8). Right Click on "Motorola USB Modem". Select Properties.
9). Select 'Advanced' Tab.
10). Click 'Advanced Port Settings".
11). Note down the COM port number.
3。创建终端窗口
4。at命令测试连通状况
5。短信命令
AT+CMGF=1
AT+CMGS="你的发送的手机号"
>输入你要发送的短信内容<Ctrl+z>
ok,操作完毕
------------------------------------
下一步准备写个java类,实现发送短信的功能。
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值