Forums - Turn on/off BLE encryption

3 posts / 0 new
Last post
Turn on/off BLE encryption
walt.t
Join Date: 18 Aug 16
Posts: 4
Posted: Thu, 2016-08-18 11:46
We are using a Nordic (nRF Sniffer) that seems to lose track of packets as soon as encryption turns on
and results with bad MIC messages. How do we get this to work?
 
Is there a way to turn off encryption for debugging and testing purposes?
 
Can somebody reconmend a better sniffer or a work around for this problem?
  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Thu, 2016-08-18 13:25

Security can be turned on and off based on the definition in the project. 

What is bad MIC messages?

  • Up0
  • Down0
walt.t
Join Date: 18 Aug 16
Posts: 4
Posted: Fri, 2016-08-19 10:14

The BLE sniffer displays output using Wireshark. Every non-empty packet following the LL_START_ENC_REQ packet shows the message, "Encrypted packet decrypted incorrectly (bad MIC)".  MIC is an acronym for "Message Integrity Check".

How can encryption be turned off? I've searched the API functions and could not find anything for that.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.