2008年4月8日 星期二

1. Connect bt device (cellphone) with PC


2. build a connection via SPP (Serial Port Profile).


3. You need to input password.
After that, OS will assign a com port to you.
In here, OS assign COM5 to me.

4. OK!!



5. 打開終端機 選擇com5 (for me)

就可以輸入指令嚕

下ate0 (讓 bt device 不要echo data 回來)
ate1 恢復原狀

at+cpms = "me" (切換成sms store in cellphone)
//下 command 成功
at+cpms="me"
+CPMS: 196,200,2,15,196,200
OK

at+cmgd =1
at+cmgd =2
at+cmgd =3
at+cmgd =4


at+cpms = "sm" (切換成sms store in sim card)
//下 command 成功
at+cpms="sm"
+CPMS: 2,15,2,15,196,200
OK


at+cmgd =1
at+cmgd =2
at+cmgd =3
at+cmgd =4

at+cmgd 各個參數的意思 可以參考

Deleting SMS Messages from Message Storage


透過Facebook分享

沒有留言: