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 do want to use a static key because the Arduino 101 + CurieBot does not have a display on it and I do not plan on adding one so just a simple static key can do. With respect to the APIs, I am not sure but it is definitely not the same functions as the MSCs. I am not sure how I am supposed to know what APIs I'm using but I can send you a link to the libraries: www.arduino.cc/.../CurieBLE
I don't know if it's possible to use Nordic APIs on the Arduino Sketch (this is used to write the code for the Arduino 101/CurieBot in C language). I want to get something clear, are you saying that the static key is created and set from the Peripheral side of the code(The CurieBot, Arduino Sketch) or is it at the central side of the code(The app, Android Studio) or is it both? Well I assume it's both because I have to be able to display a prompt for the static pin to be entered.
I do want to use a static key because the Arduino 101 + CurieBot does not have a display on it and I do not plan on adding one so just a simple static key can do. With respect to the APIs, I am not sure but it is definitely not the same functions as the MSCs. I am not sure how I am supposed to know what APIs I'm using but I can send you a link to the libraries: www.arduino.cc/.../CurieBLE
I don't know if it's possible to use Nordic APIs on the Arduino Sketch (this is used to write the code for the Arduino 101/CurieBot in C language). I want to get something clear, are you saying that the static key is created and set from the Peripheral side of the code(The CurieBot, Arduino Sketch) or is it at the central side of the code(The app, Android Studio) or is it both? Well I assume it's both because I have to be able to display a prompt for the static pin to be entered.