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'm a beginner at coding and the two links there are not helping my confusion. Is it that this is code in a diagram form? Is it a library? Can I enter this directly into my code once I have this library? What I'm getting is that I have to code the pairing key on the Arduino 101 side, then code a display to enter this passkey on the app side, and I would like the key static so the second link is supposed to be helpful to me but I just don't get it. I apologize in advance for my incompetence but I am really struggling to understand BLE as it is not nearly straightforward. If you can answer my questions above and give a more detailed description on how I go about this, it would be much appreciated.
I'm a beginner at coding and the two links there are not helping my confusion. Is it that this is code in a diagram form? Is it a library? Can I enter this directly into my code once I have this library? What I'm getting is that I have to code the pairing key on the Arduino 101 side, then code a display to enter this passkey on the app side, and I would like the key static so the second link is supposed to be helpful to me but I just don't get it. I apologize in advance for my incompetence but I am really struggling to understand BLE as it is not nearly straightforward. If you can answer my questions above and give a more detailed description on how I go about this, it would be much appreciated.