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

bond with MITM and LESC

Hello

    I USE SDK15.2   ble_app_gls。

   The mobile phone continuously pops up 3 windows to ask whether to pair and a password input window when the mobile phone app is connected to the slave.

   In my project , the host has no input capability.   Host and slave connect via USB,so the password can be sented  to the host via USB。

  Questions are as follows:

  1. Whether the host can directly reply to the confirmation to the slave(use api function) without pops up the 3 query window?

   2.Whether the host can directly reply the passkey(get from usb) to the slave without pops up the passkey window?

thanks

  • Hi,

    Not sure if I directly understand what you want to know, but if you want to use bonding with man in the middle protection, then you need some kind of user input and output (typically a keyboard or display). How you in practice input and output the data is up to you, it is in theory possible to input and output this over USB, for instance by having an app that control the USB endpoint to read and write without having the user do anything.

    Best regards,
    Kenneth

Related