|
-
May 8th, 2006, 02:47 AM
#1
Communication with BlueTooth Device over Serial Port
Hi
I have recently purchased a BlueTooth device from SparkFun, and have managed to get it to work using Hyperterminal.
I would like to use my own VC++ written program instead of Hyperterminal.
I have managed to read/ write RS232 serial data before, and the BlueTooth device communciates serially.
Right now I have managed to:
(a) Using Hyperterminal send commands to start up the BT device.
Commands such as "ATUCL<cr>", etc
(b) Once the connection is established- I close Hyperterminal and start up my own VC++ program.
(c) I can then send over the RS232 line a "start command" (not requiring a <cr> and a "stop command" (Also not requiering a <cr>)
I can receive data over the RS232 line and display it.
(d) What I CANNOT do is to send "ATUCL<cr>" type of commands over the RS232. It just does nothing.
Can someone please tell me how to send a
ATUCL<cr>
into the RS232 serial port?
(I have tried, using \n \r and both \n\r with no success).
Thank you in advance.
a.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|