This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How Can I sniff GATT Service or Characteristic Attributes by PCA10031 (NRF51 Dongle)?

By using ble-sniffer, I success to catch BLE Advertising packet with my NRF51 Dongle in CMD and WIRESHARK either.
But, I can't sniff any other packet except type of ADV_IND, ADV_SCAN_IND, SCAN_REQ.SCAN_RSP and some of Unknown (CRC Incorrect Packet).

Does This NRF51 and this BLE_SNIFFER program can catch GATT Service or Characteristic? I tried to catch the values between GATT_Client and GATT_Server's communication.

During Capturing packet, I tried NRF51_DK's BLE_pheripheral, BLE_Central APP_Uart Example.
Sending lots of characters between two DK Boards, and also double checked with my Serial Monitor whether the characters were sent correctly.
But as my trial of all these stuff, I COULD NOT FIND MY ANY OF GATT Service or Characteristic Attributes.

Does NRF51 Dongle can sniff all of these data? Or it's just me that i can't snitch these packets?

  • I'm really sorry for bothering you, but i tried it also....

    The only diffrence between selecting device and non-selecting device is, when I turn on Wireshark with it, It just captures the packet of the selected device.

    Yes, it's a proper action with just print out the selected device's packet, but it keeps prints out BLE_ADV. Cause, The device that I selected from the "FIGURE 4" is peripheral not actually had any connection. So, It keeps sending out advertising packet.

    But actually the thing that i want is, It's GATT DATA PACKET, which sends out after a connection is established. I thought "FIGURE 4" 's selecting device is same action to connecting to board, but It wasn't. (Cause the device is keep sending out just ADV Packet.)

    This device has this connectability. (Double checked with my Master Control Panel)

    Advertising Type: Connectable

    BrEdrNotSupport

  • And also checked this board connects to other board. Tested with my Nordic Connect (UART) Android Application.

    Actually, I'm really tired there is no example or reference or tutorial with screenshots that I can follow.

    Is there ANY Example That I can capture GATT COMMUNICATION DATA PACKET with NRF51 DONGLE + Wireshark?

    It would be really helpful, if there is any tutorial or reference that i could follow.

    And Really Thank you for Commenting to my question. I mean it.

  • Hi Daniel, I'm sorry for your frustration. If device just advertise then there is no connection so no surprise you don't see any GATT packets. The fact that ADV_IND packets are connectable is nice but you need some other device which will really connect;) If you say that you have some mobile app which can connect to the board then you should have sniffer running and you will see the connection. Note that Nordic Sniffer needs pretty good signal so if you are in noisy environment (= lot of 2.4GHz traffic, especially BLE advertisements and scanning) or if you are not close (1~2 meters max) then Sniffer can miss CONNECT_IND packet and so it misses whole connection.

Related