nrf52840 capture security level negotiation

I am using a nrf52840 dongle. I have my own device which has BLE and I am connecting to an app in mobile phone our bluetooth. My goal is to check for the security level what my device has and when it's getting connected with app I was trying to find if there is any security negotiation. To check this I am using the nrf52840 dongle for bluetooth sniffing so that I can check for the security negotiation. 

Based on this link I followed all the steps https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/topic/nrf-sniffer-for-bluetooth-le/

I have flashed firmware 4.1.1 version. 

I get the PDU type as 0x08 

In documentation there is nothing referencing to Packet ID 0x08. It says security level error and CRC is bad wanted to understand more on this.

Also how to check for security level negotiation which packet should I look for specifically? Also with the firmware version 4.1.1 can I get to know the security negotiation?

Parents Reply
  • Hi  ,

    The setup is like this nrf52840 dongle is connected to windows machine and to this windows machine my device is connected. I am trying to connect via bluetooth to my device using phone's nrf connect app. I have opened the wireshark in windows machine and filtered it based on my device mac address and sniffing. 

    So, I am trying to understand here when the device is getting paired what is the security level, is there any security level negotiation? The pairing is happening fine and I am able to send and receive data also[all these are done in application level code with my device to phone not with dongle please dont get confused here]. From the logs I dont see anything on LL_enc_start or ll_enc_req since I am using just works pairing. Just by seeing these wireshark logs can we conclude what level of security mode we are in.

    Hope this should be clear. Let me know if you have any more questions.

Children
Related