Okay, so I’ve got two bluesmirf modules up and running on the breakout board, and they’re both connected to the computer using hyperterminal (two different com ports). Now, I’ve gone and set the MAC address of the “slave” device using
+++
AT
OK
ATSMA,665544332211,1101
OK
it’s now in slave mode
ATDS
OK
The “master” device has tried every MAC address I can think of to connect to it, all without succcess.
ATDM,665544332211,1101
ERROR
in bluesoleil, the address of the slave device is 00A0961B345C which I’ve also tried, to no avail.
ATDM,00A0961B345C,1101
ERROR
They’re both set at the same baud rate and nothing has been changed except for their friendly names.
Any ideas?
Okay, so for anyone interfacing with the bluesmirf device, I whole-heartedly recommend a RS232 interface with the device. Sparkfun has a RS232 breakout board and cable that will connect your computer directly to the solderless breadboard. Very handy.
So once you’ve wired the RX/TX to the respective slots, you can start programming the device. Why do you want to use the RS232 instead of a bluedongle? Well, it depends. Are you going to want two devices talking to each other? If so, then you need the bluetooth “line” open. You can’t (at least, I couldn’t) get the two devices talking to each other if they’re already communicating with your computer. The “line” is busy.
The thing is, hooking up two devices should be a 3 minute process, max.
Label one “master” and one “slave”. Find the slave’s BT address after putting the master device in sleep mode (ATUCL). Then, connect (ATDM) to the slave bluetooth device through the master device. There. You’re done.
If you really want to be slick, you can program the master device to search for a specific BT address upon startup. That’s what I did. The master device looks for the slave’s BT address whenever it’s on. Once it’s found, both LED’s (the one on the slave and master device) turn red. I know they’re communicating.
Well done Sparkfun, well done.