12-31-2010 04:08 AM
Hi guys,
I'm working on application that needs to connect to Bluetooth device (Zephyr HxM - it's a heart rate monitor) using SPP profile (this is the only profile that device supports). First I go into Bluetooth setting, I search for the device, add it, pair (enter PIN...). After that I set it as trusted (Trusted = Yes).
Inside my application I use BluetoothSerialPort classes to connect to device and read incoming data. This works perfectly fine. The problem is, every time I open a connection (so this happens once per application launch), BB prompts me to enter PIN and pairs the device. This happens every single time, despite the fact that I paired the device before and set it as trusted. If I pair Bluetooth headset - everything works fine. Am I missing something, or is this expected behavior. Could anyone advice?
Thanks and have a happy new year,
michal