Ask Your Question
0

How to extract GATT packets value only to .csv

asked 2023-05-08 11:23:21 +0000

I have a lot of GATT packets like the one below. I only need the value part for further processing somewhere else. How can extract that part to .csv or file types that are easy to process?

Frame 466: 20 bytes on wire (160 bits), 20 bytes captured (160 bits)
Bluetooth
Bluetooth HCI H4
Bluetooth HCI ACL Packet
Bluetooth L2CAP Protocol
Bluetooth Attribute Protocol
    Opcode: Write Request (0x12)
    Handle: 0x001c (Unknown: Unknown)
        [Service UUID: CustomUUID]
        [UUID: CustomUUID]
    Value: 112233445566
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-08 11:49:49 +0000

Chuckc gravatar image

Sample capture attached to 10524: Bluetooth Smart: Add GATT dissector

C:\>tshark -r HR_SENSOR_btsnoop_hci.log -T fields -e btatt.value -Y btatt.value
4170706c69636174696f6e2076657273696f6e20322e
342e332e30
edit flag offensive delete link more

Comments

Thanks for quick response. It works perfectly.

chungchungdev gravatar imagechungchungdev ( 2023-05-09 03:52:04 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2023-05-08 11:23:21 +0000

Seen: 151 times

Last updated: May 08 '23