Automatically connect bluetooth device to server

Topics: Bluetooth - BlueSoliel
Jan 5, 2013 at 12:39 PM

hello everyone,

Is there a way to automatically connect a bluetooth device to my laptop ? I want the laptop to be the server and listens to a connection from the other device (phone or laptop) , then if the server receives a connection , it checks the MAC address of the connecting device and accepts the connection for a specific address only. I don't want to press any button on the server , just connect from the other device and send text between the 2 devices .

Thanks in advance 

Developer
Jan 9, 2013 at 3:27 PM

Yup that's possible.

You've posted this in the BlueSoleil forum. Unfortunately that stack provides no API for server connection, but there's no problem with the Microsoft or Widcomm stacks.

See http://32feet.codeplex.com/wikipage?title=Bluetooth%20Server-side  If you want to restrict the remote device then check the remote address just after AcceptBluetoothClient returns and close the connection if its not an acceptable remote device.