# BlueSMIRF (RN41): how to Disconnect?

**URL:** <https://community.sparkfun.com/t/bluesmirf-rn41-how-to-disconnect/9958>\
**Category:** Wireless & IoT\
**Created:** [February 7, 2009, 7:46am UTC](https://community.sparkfun.com/t/bluesmirf-rn41-how-to-disconnect/9958 "2009-02-07T07:46:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samlee00](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@samlee00](https://community.sparkfun.com/u/samlee00)\
**Post date:** [February 7, 2009, 7:46am UTC](https://community.sparkfun.com/t/bluesmirf-rn41-how-to-disconnect/9958/1 "2009-02-07T07:46:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![krjone01](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@krjone01](https://community.sparkfun.com/u/krjone01)\
**Post date:** [February 9, 2009, 3:16pm UTC](https://community.sparkfun.com/t/bluesmirf-rn41-how-to-disconnect/9958/2 "2009-02-09T15:16:07Z")

</div>

For #2 Above.

You will need to place the RN41 back in command mode in order for it to accept commands. Send $$$ to do that. You should get ‘CMD’ back in response. Then you can send your ‘K’ command.
