Is it possible to disable the encryption on a characteristic? I'm looking at data using wireshark and for some reason I get decryption failures ("encrypted packet decrypted incorrectly (bad MIC)"). If I turn off BLE_APP_SEC, I (windows) is unable to pair with the device.
Keywords:
Device:
If you make sure you start sniffing before the pairing starts and use the "just works" pairing, at least our Wireshark sniffer will correctly decrypt your packets. Is it possible for you to try that out? Maybe the other pairing methods work too (pin) since it should take about a second to brute force it, just make sure the pairing is included while you sniff.
Encryption is done at lower layers I think so you can't disable encrypting for certain characteristics.
Thank you for your response. I was including the pairing. If you (or someone) would be so kind to have a look at this capture file to see what the problem might be. The capture consists of pairing, connecting, changing the MTU size (to 87), having a conversation, streaming some data (although not as much as I require), disconnecting. This is a Windows 10 client with the BLE running on an Panasonic 1740.
thanks,
marco
Hi marcodg,
Please check this posthttp://support.dialog-semiconductor.com/advice-request-streaming
Thanks MT_dialog