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

PIN access on app for BLE device

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.

Parents
  • When the CurieBot gets a pairing request from the smart phone it must include that it has a display in the pairing response, see this.

    Then you would need to have some way of displaying the pin that should be put into the smart phone, or maybe you can set it static, see this.

  • Sorry to confuse you. The links are to message sequence charts (MSCs), showing which SoftDevice functions and events that are important to do a specific task.

    You probably have a SoftDevice in the nRF51822 in the Intel Curie, but you probably have a different API than the functions in the MSC. What API are you using to access the nRF51822? What functionality does the API provide?

    If you don't use a static key, you must have a display or some other means of showing the random pin generated so that this can be put into the smart phone.

    No need to apologize, we are here to help :) Just be aware, that the CurieBot isn't our product, I have never used it, but I will try to help you as much as I can.

Reply
  • Sorry to confuse you. The links are to message sequence charts (MSCs), showing which SoftDevice functions and events that are important to do a specific task.

    You probably have a SoftDevice in the nRF51822 in the Intel Curie, but you probably have a different API than the functions in the MSC. What API are you using to access the nRF51822? What functionality does the API provide?

    If you don't use a static key, you must have a display or some other means of showing the random pin generated so that this can be put into the smart phone.

    No need to apologize, we are here to help :) Just be aware, that the CurieBot isn't our product, I have never used it, but I will try to help you as much as I can.

Children
No Data
Related