Skip to content

Instantly share code, notes, and snippets.

View vinthewrench's full-sized avatar

Vinnie Moscaritolo vinthewrench

View GitHub Profile
@vinthewrench
vinthewrench / testshunt.c
Created February 9, 2022 22:58
Using gattlib to read values from victron smart shunt bluetooth
/*
clang++ -Wall -o testshunt testshunt.c /usr/lib/libgattlib.so
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include "gattlib.h"