• 0
Sign in to follow this  
T2dei

PmodBT2 Bluetooth module configuration with puTTY

Question

Hello, 

I am trying to configure an RN-42 PmodBT2 module using puTTY following these steps:

{

$$$

SM,2 

SR, MAC ADDRESS 

C, MAC ADDRESS

}

the MAC ADDRESS refers to the address of the device I want the module to connect to it. When I enter the command C, MAC ADDRESS, I get an error, ERR-Connected. and if I entered GF to know the address of the last connection I get a random address starts by 088EDB -its not the address of my laptop either-. 

Another problem is that if I tried to disconnect the device using K, ADDRESS the command window hangs and I have to close it. Same thing happens with inquiry "I" and Reboot "R,1". 

Please help :(

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi T2dei,

I don't know at the moment why you are encountering the behavior that you are, but let's work to see if we can figure out the problem. It seems that you have a pretty good grasp on what sort of commands you need to send, but I have a couple of clarification questions that aren't explicitly answered in your original post.

1- What baud rate are you attempting to run PuTTY at? By default the RN-42 wants to run at 115200 baud with 8 bits, no parity and 1 stop bit.

2- Are the codes you listed in your original post from PuTTY or from whatever your PmodBT2 is physically attached to? 

This last one isn't really a question but GF just provides the address of the device you are currently connected to. You may want to try GR which gives the stored address that you provide from the SR command. This will help indicate if it is receiving the MAC address accurately.

Thanks,
JColvin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this