Announcements
Community Announcement : Welcome to the NEW Cypress Developer Community.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

NiBu_1198441
New Contributor II

I am writing a C# application that uses the CySmart API. My device uses security mode 1, unauthenticated pairing with encryption and has no I/O. See the screen shot below:

https://drive.google.com/open?id=1OQgEddT-9Ojtn8f6GKaxcP8mQH3beZ8I

I am using the example code posted in this thread: https://community.cypress.com/thread/26958

After connecting with the device I use the following API call:

err = m_peerDevice.Pair(new CyPairSettings(CySecurityLevel.UNAUTHENTICATED_PAIRING_WITH_ENCRYPTION, false, 16, CyPairingProperties.USE_KEYPRESS_NOTIFICATION));

My OnPairingComplete event gets called but the status is BLE_ERROR_GAP_AUTH_PASSKEY_ENTRY_FAILED. Any ideas?

I have tried all three of the CyPairingProperties and they all give me the same result.

0 Likes
1 Solution
Anonymous
Not applicable

In order for the encryption to work, you will still need to bond the peripheral/central together. as cypress' BLESS requires bonding for encryption and authentication to work.

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

In order for the encryption to work, you will still need to bond the peripheral/central together. as cypress' BLESS requires bonding for encryption and authentication to work.

View solution in original post

0 Likes