This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Security feature in Bluetooth Protocol of nrf 8001

Hi

I have a module of nrf 8001 and i am successfully communicating with nrf 8001 low energy bluetooth chip. I want to know is there any security feature defined in the protocol of this chip. As i want that whenever a user wants to connect to peripheral through iPhone it must ask for a password before connecting like the normal bluetooth does. Is there any provision for this?

And can i pair any peripheral to iPhone like we do in normal bluetooth? And if it is then how?

Thanks

Parents
  • In the nRFgo studio XML file for the nRF8001, you can specify that you want to use a passkey. nRFgo studio -> nRF8001 configuration -> Security -> Device Security -> Security Required nRFgo studio -> nRF8001 configuration -> Security -> Required level of Security -> Authenticated (passkey)

    Passkey means that you need either a display or a keyboard on the nRF8001 side. If you do not have a keyboard or display on the nRF8001 side, you should choose unauthenticated (Just Works) security. nRFgo studio -> nRF8001 configuration -> Security -> Required level of Security -> unauthenticated (Just Works)

    This will allow the iPhone to pair with the nRF8001. Use the ble_proximity_template in the BLE SDK for Arduino to start with as an example.

Reply
  • In the nRFgo studio XML file for the nRF8001, you can specify that you want to use a passkey. nRFgo studio -> nRF8001 configuration -> Security -> Device Security -> Security Required nRFgo studio -> nRF8001 configuration -> Security -> Required level of Security -> Authenticated (passkey)

    Passkey means that you need either a display or a keyboard on the nRF8001 side. If you do not have a keyboard or display on the nRF8001 side, you should choose unauthenticated (Just Works) security. nRFgo studio -> nRF8001 configuration -> Security -> Required level of Security -> unauthenticated (Just Works)

    This will allow the iPhone to pair with the nRF8001. Use the ble_proximity_template in the BLE SDK for Arduino to start with as an example.

Children
  • Hi

    ble_proximity_template is not solving my problem. How can i check in nRF 8001 sdk for Arduino that this is the valid iPhone to which i have to connect? Can i send any string to peripheral before connecting it to central device(iPhone).

    What actually happening is that my module is advertising well and successfully interacting data with iPhone but my module gets connected to every iPhone which has my app. Now this is creating a big problem, i want my module to connect with only one iPhone in all possible cases? How can i achieve this? what i can program in nRF 8001 sdk for Arduino that it will check whether to connect with iPhone or not? Any help is appreciated?

Related