Forums - Pairing with fixed passkey

4 posts / 0 new
Last post
Pairing with fixed passkey
akansha.jain
Join Date: 9 Nov 16
Posts: 2
Posted: Wed, 2016-11-09 03:00

Hi,

How can we assign fixed passkey to csr1010 while pairing it with mobile app instead of random passkey?

 

Is there any example in which it has been implemented?

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Wed, 2016-11-09 04:25

You do not have passkey in Bluetooth smart project.

Bluetooth smart is not Bluetooth classic

 

 

  • Up0
  • Down0
akansha.jain
Join Date: 9 Nov 16
Posts: 2
Posted: Wed, 2016-11-09 04:35

Then how to do that? Is there any solution to set the passkey?

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Wed, 2016-11-09 10:37

It is not clear why you need a passkey

To connect a device to phone, you need to hold the device and press long on pairing button and select the devices from a list on smartphone apps. 

Since both on your hand, you do not need a passkey. 

If you "must" you can add on the phone apps a dialog that will ask some key and this key will be sent to the device. 

And if it will not send correctly , the devices will not work or will clear the paring. 

You have no CSR sample for that. and it is not simple to add this functionality to devices and to the phone. 

You have to add Bluetooth smart service to devise to get the passkey characters

You can call my skype nissim.test

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.