Connecting to a BlueSmirf v2 Silver in spp server mode

Hello, im new here to the forum and need some help on a project.

I am working with Mobile Processing and BlueSmirf Silver units. I have started a thread at http://mobile.processing.org/discourse/ … 1211235624, but wanted to check if anyone in here can help me out.

I am connecting to A BlueSmirf Silver (V2) device using (SPP - Serial communication) from my SE K610i, making my own Near Field Communication (NFC) phone. (See: http//blog.bareknut.no)

http://farm4.static.flickr.com/3138/252 … 4ec1_m.jpg

I’ve made successful connections with the phone as a server and the device as a client. But this requires the remote device to have a spesific BT address to connect to. I’d like to reverse it so i can connect to the remote device with the phone as client and device as server.

I’m working on how my Mobile Processing Sketch (pde) should look for the device?

One of my BlueSmirf devices has Bluetooth Device Address = “031F08071B20”. I set my Bluesmirf in Server mode so it accepts incoming SPP connections (Listening to RFCOMM 1, “AT+BTSRV=1” is the command).

Has anyone in here successfully tried to connect to the BlueSmirf unit in server mode using Mobile Processing?

Knut