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 340
  • Win 274
  • Mac 39
  • Linux 27
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 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
Windows 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 2 0 0 0 0 0 0 0
Mac 0 0 1 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 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 1 0 0 0 0 0 0 0 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.