Anonymous
Not applicable
Jul 08, 2015
11:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2015
11:57 AM
Is it possible to have a constant password for BLE device ? If so how to do it ?
Following is th snippet of code where it generates Random 6 digit password and I want to make it contant.
case CYBLE_EVT_GAP_PASSKEY_DISPLAY_REQUEST:
UART_UartPutString("Enter this passkey in your peer device: ");
UART_UartPutChar(HexToDecimal(*(uint32 *)eventParam, 5));
UART_UartPutChar(HexToDecimal(*(uint32 *)eventParam, 4));
UART_UartPutChar(HexToDecimal(*(uint32 *)eventParam, 3));
UART_UartPutChar(HexToDecimal(*(uint32 *)eventParam, 2));
UART_UartPutChar(HexToDecimal(*(uint32 *)eventParam, 1));
UART_UartPutChar(HexToDecimal(*(uint32 *)eventParam, 0));
break;
Thanks,
Vivek
Labels
- Labels:
-
BLE
4 Replies
Jul 08, 2015
12:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2015
12:46 PM
Welcome in the forum!
The place you pointed to is not where the password is generated, it has been received and is now displayed. Don't know if it can be made a constant.
Bob
Anonymous
Not applicable
Jul 08, 2015
01:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2015
01:12 PM
Any clues on where the 6 digits are generated ?
Thanks,
Vivek.
Anonymous
Not applicable
Jul 14, 2015
10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 14, 2015
10:46 AM
Any update on this issue? I'm facing the same problem.
Jul 14, 2015
02:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 14, 2015
02:37 PM
File a CASE on this -
To create a technical or issue case at Cypress -
www.cypress.com
“Support”
“Technical Support”
“Create a Case”
You have to be registered on Cypress web site first.
Regards, Dana.