ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

BTstack HCI Packet Log Converter

by bluekitchen ALL

Sublime Text 3 Plugin to Convert ASCI HCI Dumps from BTstack

Details

Installs

  • Total 338
  • Win 273
  • Mac 39
  • Linux 26
Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17
Windows 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 3 Plugin to create packet log from HCI Dump

This Plug-In converts the textual dump of BTstack's output into a PacketLogger file (.pklg), and opens it with Wireshark or Apple's PacketLogger tool.

The BTstack Bluetooth stack inlines application logs with HCI traffic. We call this output “HCI dump”. BTstack's HCI Dump functionality is quite flexible and can also be used on an embedded target with just a regular UART debug output or the faster SEGGER RTT. The usual HCI dump form on embedded targets is text. The text output can be stored and converted into a PacketLogger file (.pklg) for further analysis in Wireshark or Apple's PacketLogger tool.

To convert the textual HCI dump output into a PacketLogger file (.pklg) with this Plug-In, you need to perform the following steps: 1. select and copy the HCI dump output 2. create a new file in Sublime 3. paste the HCI dump 4. run command via Command Palete “BTstack: Convert HCI Packet Log (pklg)”

The plugin will automatically open the newly created pklg file, which is stored under a random name in your temp folder.