1. I had done the pairing without any authentication but now I want to do it with the authentication with an authentication key.
2. please provide some sample code regarding the pairing authentication and its process.
1. I had done the pairing without any authentication but now I want to do it with the authentication with an authentication key.
2. please provide some sample code regarding the pairing authentication and its process.
Hi,
Are you using NCS or nRF5SDK?
-Amanda
Hi team,
I am using the nRF52DK module PCA10040 board
Hi Amanda,
thank u so much for ur help till now.
I had done with the pairing procedure
Now I Want to send fixed string data like "please enter your name" over a ble
as well as also want to send some of the user-defined data
example - (over ble)
please enter ur name - and the user will enter the name.
example -
username - (user will enter the user name)
password - (user will enter the password)
Hi,
We don't have the example with the username, and the BLE pairing and bonding only provide the authentication with the key.
Please see Bluetooth Core Specification, Ch.5 SECURITY OVERVIEW:
The Bluetooth security model includes five distinct security features: pairing, bonding, device authentication, encryption, and message integrity.
• Pairing: the process for creating one or more shared secret keys
• Bonding: the act of storing the keys created during pairing for use in subsequent connections in order to form a trusted device pair
• Device authentication: verification that the two devices have the same keys
• Encryption: message confidentiality
• Message integrity: protects against message forgeries
-Amanda
Hi Amanda,
I just wanted to send the string type (normally just like we printed on the console )data as well as data from the user. from master to the slave.
You can take a look at this UART/Serial Port Emulation over BLE.
-Amanda
You can take a look at this UART/Serial Port Emulation over BLE.
-Amanda
Respected Amanda,
I had one more doute and that is
1. Once the data was received from the nrf_connect app(master) to PCA10040(nrf52832). I want to store that data into the variable
2. and Once the data is received data is stored in the variable after that I want to perform the accordingly.
3. is there is any example based on above situation in the sdk.
Hi,
You can take a look at this UART/Serial Port Emulation over BLE. The Receive data is p_evt->params.rx_data.p_data.
-Amanda
Hi, Amanda,
need some help,
I want to wait till the new data has not been received from the (p_evt->params.rx_data.p_data.) from the nrf connect app.
could u please tell me how its done
and I am storing that new data in the array.
would u please tell me how its been done.
depends on I want to write logic
Hi, Amanda,
need some help,
I want to wait till the new data has been received from the (p_evt->params.rx_data.p_data.) from the nrf connect app.
could u please tell me how it is done
and I am storing that new data in the array
would u please tell me how it's been done?
depends on I want to write logic.
and once the data has received then I want to out of that wait state