Skip to main content
Mahendra Rana
Associate III
June 29, 2019
Question

Is it we can change fixed pairing key in spbtle-rf module during run time.?

  • June 29, 2019
  • 1 reply
  • 501 views

After once BLE Initialize and authentication set by fixed pairing key as "123456" then can we change again pairing key to "123678" by using this API "Aci_Gap_Set_Auth_Requirement()".

Means BLE will disconnected and I will configure its authentication fixed pairing key with other value during run time of my application. To ensure security as fixed pairing "123456" can known by unknown user also and he will connect to device easily but if I will change pairing key to some other value (whatever user wants of 6 digit) then unknown user will not easily connect to device which will secure my device.

    This topic has been closed for replies.

    1 reply

    Mahendra Rana
    Associate III
    June 30, 2019

    Finally it worked that calling GAP_DisconnectionComplete_CB() api after setting another pairing key.