I would like to know how to create a prompt that asks for a PIN before a user gets access to pairing to a BLE peripheral. Currently I'm using a CurieBot and once it's found via the app, you can click it and gain access to it.
I would like to know how to create a prompt that asks for a PIN before a user gets access to pairing to a BLE peripheral. Currently I'm using a CurieBot and once it's found via the app, you can click it and gain access to it.
I had a quick look at the API of the library, it seems like it doesn't even support pairing, so static passkey is not supported either.
It is probably not possible to use the Nordic APIs.
With our SoftDevice you can set a static passkey in the peripheral, so that you don't need to display, even though you say that you have a display. Then you would input this static key into the central, because it has a keyboard.
The Arduino 101 is a board with a Intel Curie module. The Intel Curie module has the nRF51822 chip inside. So the nRF51822 is accessed through the Curie module.
I think this will be difficult to do without the Arduino 101 library support.
I had a quick look at the API of the library, it seems like it doesn't even support pairing, so static passkey is not supported either.
It is probably not possible to use the Nordic APIs.
With our SoftDevice you can set a static passkey in the peripheral, so that you don't need to display, even though you say that you have a display. Then you would input this static key into the central, because it has a keyboard.
The Arduino 101 is a board with a Intel Curie module. The Intel Curie module has the nRF51822 chip inside. So the nRF51822 is accessed through the Curie module.
I think this will be difficult to do without the Arduino 101 library support.