- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
we want to do the PIN pairing with mobile application on 423054.
we couldn't find any example code for pin based pairing, so we are facing difficulty to do the same.
PIN will be fixed and if user wants they can change and we have no user interface whatsoever, hence the need for each device to have the same PIN.
Thanks & Regards
Rahul
Solved! Go to Solution.
- Labels:
-
ModusToolbox Bluetooth SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rahul,
I suppose you are using CYW20719 based CYBT-423054 module. Note there is no way to set a fixed passkey for pairing. The passkey is generated randomly by firmware. For more information on passkey based pairing, please go through https://github.com/cypresssemiconductorco/CypressAcademy_BT101_Files/blob/master/PDFs/WBT101-04B-BLE... and related exercises.
One way is, if the peer device is any third party device which can have a fixed passkey , in that case we can use IO capability of 20719 as keyboard and instead of entering the passkey manually , you can use API wiced_bt_dev_pass_key_req_reply and send the known passkey as reply. This will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rahul,
I suppose you are using CYW20719 based CYBT-423054 module. Note there is no way to set a fixed passkey for pairing. The passkey is generated randomly by firmware. For more information on passkey based pairing, please go through https://github.com/cypresssemiconductorco/CypressAcademy_BT101_Files/blob/master/PDFs/WBT101-04B-BLE... and related exercises.
One way is, if the peer device is any third party device which can have a fixed passkey , in that case we can use IO capability of 20719 as keyboard and instead of entering the passkey manually , you can use API wiced_bt_dev_pass_key_req_reply and send the known passkey as reply. This will work.