4 posts / 0 new
Last post
marcodg
Offline
Last seen:2 years 10 months ago
加入:2015-01-14 17:58
Disabling encryption

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:
Joacimwe
Offline
Last seen:1 year 5 months ago
Guru
加入:2014-01-14 06:45
If you make sure you start

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.

marcodg
Offline
Last seen:2 years 10 months ago
加入:2015-01-14 17:58
Thank you for your response.

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

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi marcodg,

Hi marcodg,

Please check this posthttp://support.dialog-semiconductor.com/advice-request-streaming

Thanks MT_dialog