Arduino + Bluetooth Mate Silver automatic pairing problem!

Hi!

I’m developing this interface: http://namainstrument.tumblr.com that uses LilyPad Arduino with Bluetooth Mate Silver.

I’m having a big trouble trying to make its pairing automatic on MacOSx.

Everytime I turn Lilypad on, i have to paire it through the System Preferences.

This is a problem since - being a malleable interface - it is possible (inspite of unlikely) that Lilypad turns on/off quickly. By doing so, I completly loose bluetooth’s signal, and have to do de whole protocol all over again.

Is it possible to configure it to paire automatically? Would this solve this issue I’ve pointed?

Thank you!

The automatic pairing must be configured on the Mac, the Arduino is just the “slave”. I could send you a script how this is done on Linux but I don’t know how the Mac is doing such stuff. Maybe you have a check box for automatic repairing, else you have to script it.

Thanks, Pylon! And sorry for the late reply.

There isn’t any checkbox for this, or any other option.

I’m beginning to think there is no way to do this on a Mac! I’ve posted this question in several forums, and had no answers until now. This may inviabilize my current project!

I’ve however understood that isn’t actually the pairing itself the problem.

If I try for 2 or 3 times in a roll, one of these functions… so I think my mac is understanding the pairing and the previous configuration of that serial port automatically (in spite of very inefficiently!)…

But my problem persists. I really need that, if my power supply or Arduino fails, the Bluetooth finds itself again transmiting data. The software I’m using, Processing, continues to request data inspite of the failure. I really don’t know why this happens!

Does anyone has any other idea for this?

Thankyou!

I’ve been trying to perhaps turn the Bluetooth Mate to Master and see if works. (as seen on http://www.sparkfun.com/datasheets/Wire … oth-um.pdf). Still waiting for a good soul to come help me here please [=