cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

 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   
0 Likes
Reply
4 Replies
Esteemed Contributor II

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

0 Likes
Reply
Anonymous
Not applicable

 Any clues on where the 6 digits are generated ?

   

Thanks,

   

Vivek.

0 Likes
Reply
Anonymous
Not applicable

Any update on this issue? I'm facing the same problem. 

0 Likes
Reply
Esteemed Contributor

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.

0 Likes
Reply