2 Replies Latest reply on Dec 11, 2014 12:47 AM by eyan

    What is the meaning of status in encryptionChanged?

      I'm looking at proximity_client application in SDK2.1.1.

      In ancs_client_encryption_changed,

      status gets the value of evt+1 and it seems to be the length of HCI_EVT_HDR.

      but I can not understand clearly what the "status" means.

      If status means length of evt, then why does 0 return mean successful pairing?


      I tested several cases, and normally return value of status is 0.

      When I redownload sensor image after successful pairing with central, I could see 6 or 8 in status variable when I try to reconnect with central.

      Could you please explain what 6 or 8 means and this status does?


      Thank you.