SkillAgentSearch skills...

EmbeddedBLFLogger

No description available

Install / Use

/learn @driftregion/EmbeddedBLFLogger
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

EmbeddedBLFLogger

Write uncompressed Vector BLF CAN log files on embedded devices.

Status: Experimental

Usage

#include "can_common.h"
#include "blflogger.h"

BLFWriter writer('name.blf');

int main()
{
  frameobject_t fobj;
  fobj.frame.id = 0x123;
  fobj.bus_number = 5;

  writer.log(&fobj);
  
  writer.stop();
}

Credit

Most of this is transcribed verbatim from the python-can BLF module. That module credits TobyLorenz' comprehensive vector_blf.

Why not just use vector_blf directly?

I made this for a project that uses the Arduino libraries and toolchain on ESP32. I tried cross-compiling , but found that the version of ESP-IDF pinned by Arduino doesn't support C++ exceptions, a language feature which vector_blf makes use of.

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated6mo ago
Forks4

Languages

C

Security Score

62/100

Audited on Sep 27, 2025

No findings