This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

After pair&connect request device disconnect

Hi support Team,

I create custom ble-service with help of example project ble_app_att_mtu_throughput (nRF5_SDK_17.0.2)its working successfully.Now i need to add security so i refer the ble_app_gls example and then compiled successfully.

Then,

  • I connect to my device with nRF Connect

The system launches me an explicit PopUp of paring request to my device  i click the pair after that device will be disconnect and message will appear in nRF-Connect  "Couldn't pair with NRF_example(device name in sdk_config.h) because of an incorrect PIN or passkey" but  not appear popup window for me to enter passkey.

Any idea where i'm stuck.

Thanks,

Stark.

Parents
  • Hi Stark

    Adding bonding to an example that doesn't already have it is quite tricky, since you have to include a lot of different libraries, and ensure they are all configured correctly. 

    Would it be an option to start out with an example that has bonding already (such as the ble_app_hrm example), and then add your custom service to that?

    Best regards
    Torbjørn

  • Hi ovrebekk,

    thanks for support,

    Self fixed,I write the code in c++  so i separate some the files,now i combine everything  in same file now qwr module  successfully initialized and  pair and connect  also working fine.

    Thanks,

    Stark.

Reply
  • Hi ovrebekk,

    thanks for support,

    Self fixed,I write the code in c++  so i separate some the files,now i combine everything  in same file now qwr module  successfully initialized and  pair and connect  also working fine.

    Thanks,

    Stark.

Children
Related