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

How I can connect with password witn my nrf52832 via Android phone?

I want connect with password with my nrf52832 via Android phone. How I can do it? I do not want to do pairing how in example project "ble_app_gls". I used Android 6, SDK14, SoftDevice S132.

  • I dont' understand the usecase. Why would you want to connect using a passcode but don't do pairing? Anyway, just set up a writable characteristic and write the passcode to this. If the peer doesn't do that within a specified time -> Disconnect. The passcode will be transmittet in clear text. But you could possibly encrypt it in the application.

Related