Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
Reply
Developer
mstawick
Posts: 46
Registered: ‎06-24-2010
My Carrier: Orange

Paired,trusted Bluetooth device - always asks for PIN

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 

Please use plain text.