jmancallosa
New Member
Hello,
I need to send AT commands to a mobile phone. The reason is that I want to send a sms using Picaxe.
The problem I have is that my mobile phone works in 9600 bps. If I send the commands directly using the hyperterminal with that rate everything goes OK.
The commands are:
sertxd("AT+CMGF=0")
sertxd(13)
sertxd("AT+CMGS=22")
sertxd(13)
sertxd("Here I write the PDU STRING with the message I want to send")
sertxd(26)
Do I have to use sertxd(10) after sertxd(13)??
Ehen I use Picaxe it doesn´t work. I have Picaxe 28X. I think this works with 4800 bps.
Do I have to increase the Clock Speed? How can I do it?
Am I doing something that is not correct?
How can I do what I want?
Thanks a lot and sorry for my poor english!!
I need to send AT commands to a mobile phone. The reason is that I want to send a sms using Picaxe.
The problem I have is that my mobile phone works in 9600 bps. If I send the commands directly using the hyperterminal with that rate everything goes OK.
The commands are:
sertxd("AT+CMGF=0")
sertxd(13)
sertxd("AT+CMGS=22")
sertxd(13)
sertxd("Here I write the PDU STRING with the message I want to send")
sertxd(26)
Do I have to use sertxd(10) after sertxd(13)??
Ehen I use Picaxe it doesn´t work. I have Picaxe 28X. I think this works with 4800 bps.
Do I have to increase the Clock Speed? How can I do it?
Am I doing something that is not correct?
How can I do what I want?
Thanks a lot and sorry for my poor english!!