I have a bluetooth device which once paired with mobile connects automatically to my phone (similar to a bluetooth headset).
I want my application to be triggered when the connection request arrives.
Currently using my application I manually trigger a bluetooth connection to the device to read/write data from the device.
I tried out push registry but i could not figure out what should be specified in the Connection Url . I tried out btspp://localhost:device_bt_address and btspp://device_bt_address.But it did not work.
Please let me know if there is a way to trigger my application when the auto connection request is received on my phone.