5 Replies Latest reply on Mar 11, 2015 1:13 AM by user_2195381 Branched to a new discussion.

    How to set peripheral device to refuse to be paired with center

    user_2195381

      I want to set a peripheral device cannott allow be paired with center(Smart phone)

      in my progarm, I call

          lesmp_setPairingParam(

              LESMP_IO_CAP_DISP_ONLY,

              LESMP_OOB_AUTH_DATA_NOT_PRESENT,

              LESMP_AUTH_FLAG_NO_BONDING,

              LESMP_MAX_KEY_SIZE,

       

              LESMP_KEY_DISTRIBUTION_ENC_KEY

              | LESMP_KEY_DISTRIBUTION_ID_KEY

              | LESMP_KEY_DISTRIBUTION_SIGN_KEY,

       

              LESMP_KEY_DISTRIBUTION_ENC_KEY

              | LESMP_KEY_DISTRIBUTION_ID_KEY

              | LESMP_KEY_DISTRIBUTION_SIGN_KEY

          );  

      but device can be paired with center.

       

      How should I set the parameter of  lesmp_setPairingParam to refuse to be paired with center ?

      or

      Which API I should call to  to refuse to be paired with center ?