I’m tring to use two RN41 bluetooth modules (BlueSMIRF), recently purchased from Sparkfun, to create a connection between two of my computers.
I use putty as a hyperterminal connecting PC with a local Bluetooth device. I am able to send most of the AT commands with expected responses. However, when I tried “C,” or “CT” commands, the reponses seem to be really weird. In the ‘User Guide’, it mentioned as following.
Sent : C // Places Radio in Connect
Reply:AOK
Device will attempt connection to remote slave. “TRYING” will be displayed.
Reply:CONNECT // this will be displayed once connection is made, if string is defined in the stored parameters.
Send /Receive data.
However, What I got is as following
Sent: C
Reply: TRYING
Then it is frozen. I tried to type some text and the text that I typed shows on another PC. This means both PCs (Bluetooth) are already connected plus I can see the Green Light (connection) turns on.
Now the problem are:
1.) "Why it never responses with ‘AOK’ after the valid command is sent and it never responses with ‘CONNECT’ after the connection has been establish?
2.) “HOW can I disconnect them?”
-I know from the AT commands set it said using ‘K,’ to kill the connection. I have tried that, but it seems like the Bluetooth module will not take it as a AT command. What it does it just send out the text ‘K,’ to another PC.
Please, if anyone has an idea or who has come accross this issue, please kindly give me a guidance or any good reference regarding this issue.
Your kindness is greatly appreciated.
Samlee