Suppose you’re wiring the BlueSMiRF (or, more precisely, an RN-42) directly to a serial pair, and there’s no computer on the serial pair–just a weather station, for example, or a camera with a serial port for PTZ. There’s no way to configure the RN-42 from the serial port side (and, obviously, until it connects, there’s no way to configure it from the BlueTooth side, either.) There are four GPIO inputs that set the RN-42’s power-up mode. Anyone get these to work in Auto-Master mode? So it automatically goes into pairing mode until its first connect, and after that automatically tries to connect to the saved MAC address of the other side? Just like, for example, your bluetooth phone earpiece?
To connect to the Rn-42 to an iOS check out this tutorial => http://samirlovgren.se/?page_id=1299
Looks like others have used the same settings => http://stackoverflow.com/questions/16969633/apple-mfi-bluetooth-using-rn-42-from-roving-networks
Regarding BlueSmirf setup guide: If the user is connecting bluesmirf via the protoboard provided by sparkfun (DEV-07914) and attempts to use software serial as in this example, changing the TX and RX to digital pins 0 and 1 the bluetooth module interferes with serial communication and gibberish is obtained. The tutorial should specify that digital pins 0 and 1 are reserved for serial communication and if bluesmirf is connected to those pins software serial is not needed and the example code can be simplified
I’m having a difficult time getting this to work. It keeps saying the com5 port is already in use. why does it say this?
I don’t know if this is the right place to ask, but here it goes. When you have a RN42 module in slave mode connected to some other bluetooth module is any method to retrieve the MAC or BTname of the connected device.
For example, I have a bluetooth device in slave mode another module gets in range and connects to my module (pairing was done before hand), how can I retrive its MAC.
Thanks for your tutorials, you guys rock.
If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!
Forgot your password?
No account? Register one!