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

Master Control Panel bonded(How to make the Master Control Panel as iOS App? )

Hi,How to make the Master Control Panel as iOS App?

I have a product(watch) and i want to Simulation the iOS App to control the watch. Now,the dongle(PCA1000) can discovery device and server , but it can't bond . How to bond with Verification passkey?

  • To bond with a passkey, you have to set up the ble_gap_sec_params_t of your application to require man-in-the-middle protection (MITM), and set the IO capabilities to something else than NONE. Also, you have to make sure to reply to the event asking for a passkey, as shown here.

    I'd also recommend you to take a look at the ble_app_gls application in the SDK, which implements this, and other questions here on Developer Zone, for example this.

Related