Author Topic: bluetooth rs232 password  (Read 3195 times)

0 Members and 1 Guest are viewing this topic.

Offline RobbieBTopic starter

  • Newbie
  • Posts: 2
bluetooth rs232 password
« on: August 01, 2012, 06:23:12 pm »
I'm a total newb. I have an project idea that is driving me into electronics.  My question is about a common bluetooth module rs232 thats available all over the place.

I know with a lot of commercial bt devices the password is typically 0000 or 1234. But I was wondering on a device like that if you could change the password using something like a 4 way dip switch.

Thanks in advance :)
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5179
  • Country: nl
Re: bluetooth rs232 password
« Reply #1 on: August 01, 2012, 06:45:26 pm »
My question is about a common bluetooth module rs232 thats available all over the place.
If you have a module in mind, care to share which one it is or are you speaking in general?
Quote
I know with a lot of commercial bt devices the password is typically 0000 or 1234. But I was wondering on a device like that if you could change the password using something like a 4 way dip switch.
A common dip switch would not give you the ability to change a lot, but there are these little 0-9 rotary print switches. 4 of them would make it possible to set anything from 0000-9999.
Keyboard error: Press F1 to continue.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16362
  • Country: za
Re: bluetooth rs232 password
« Reply #2 on: August 01, 2012, 06:59:20 pm »
Most have the code preset in the bluetooth stack, and to change it you need to either recompile the code with a new one, or you might find it is set in eeprom on board the microcontroller. A little hard to change on the fly, and not really used much.
 

Offline Chet T16

  • Frequent Contributor
  • **
  • Posts: 537
  • Country: ie
    • Retro-Renault
Re: bluetooth rs232 password
« Reply #3 on: August 01, 2012, 07:03:23 pm »
Is it these ones?
http://www.dealextreme.com/p/jy-mcu-arduino-bluetooth-wireless-serial-port-module-104299?item=2

You can change the code on them by sending an AT command
Chet
Paid Electron Wrestler
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5179
  • Country: nl
Re: bluetooth rs232 password
« Reply #4 on: August 01, 2012, 07:21:09 pm »
Yeah, that's what I was thinking: AT+PSWD="4321"
Keyboard error: Press F1 to continue.
 

Offline RobbieBTopic starter

  • Newbie
  • Posts: 2
Re: bluetooth rs232 password
« Reply #5 on: August 01, 2012, 07:29:41 pm »
I know I'm in way over my head at the moment. So I will need to do a lot of homework.
I guess really i need to work on a prototype anyway before I concern my self with changing a password.

Thanks guys.
 

jucole

  • Guest
Re: bluetooth rs232 password
« Reply #6 on: August 02, 2012, 09:32:02 am »
I'm using the same or similar module in my little widget;  I haven't used the password feature; instead I make the PC client send a unique binary code to the module to start  each communication packet.  I used a PIC16f877A @4mhz and bit-banging to send/receive at 9600.  I found the module very solid and stable.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf