This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

activate pass on nRF51822

how I can to activate the password on nRF51822 for connect to BLE?

Parents
  • The BLE Pairing Algorithms are described in Vol 3, Part H, Section 2.3.5 in the Bluetooth Core specification, v4.2.

    In short, you need to set that MITM protection is required in the GAP security parameters (see the ble_gap_sec_params_t struct). Then the IO capabilities of the devices will be used in the pairing process. Table 2.9 displays what IO combinations that will trigger a passkey entry. I'm assuming you are using a nRF51 DK, this doesn't have a keyboard or display, so NoInputNoOutput should be used as IO capability. This does not however trigger a passkey entry.

    You could however set the IO capability to DisplayOnly and set the passkey to a static value. Then you don't need to actually display the key to know what it is. Please see this MSC.

    I have added this static passkey functionality in the ble_app_uart example in SDK 8.1.0, please examine this.

    Edit 21.05.2015: Fixed a mistake in the project.

  • Same here also. It doesn't give prompt for passkey. I opened the project from the directory ble_app_uart_static_passkey_ver2\pca10028\s110\arm5_no_packs

    @Nomi: Any luck? @Petter Myhre: Any suggestions

    I am using nRF51822AA MDBT40 chip from Raytac

Reply Children
No Data
Related