This content has been marked as final. Show 9 replies
Nobody know _ _".
I don't think anybody understands your question actually. I don't. Ctrl/Z is ASCII 26.
How to get return value when I use outputStream.write.
I don't understand the problem. It is a void method. There is no return value. It writes all the data and returns.
Sorry ^ ^.
I need to send SMS by AT command of Motorola. AT command of Motorola don't same Nokia AT command. For send SMS on Motorola it need to store to memory before send message. When store message to memory in GPRS modem will return number of store. For send SMS it need to call reference namber. From above code have only send data to GPRS modem but no have function for get return value.
I need to get response when it send AT command.
If I send
I need to know what return value
Then you need to read it from the port with one of the read() APIs.
How to? Do you have example or link or not? read() API for Java communitation API or other.
Did you solve you problem?
Which model of Motorola phone are you programming?
Can these links help (although in italian)?
I'm really interested in communicating with internal modem from inside a phone application.
I also would like to understand what are all those available ports on my phone: did you try listing all of the ports on your phone? I have more than 80 (eighty)!! ACM1CH ports (??), IPCCH ports (??), besides COM1 and IRCOM1 and ACM0 (upon connecting to desktop suite).
by the way, I have some trouble in sending SMS using Hyperterminal and my Motorola phone: after writing AT+CMGW="number" and after writing the message text, pressing CTRL+Z results in "ERROR".
How do you "finalize" your message sending withn hyperterminal?