master ohmu/fastfetch-openbsd / src / detection / bluetoothradio / bluetoothradio.h
ohmu  ·  2026-10-15
 1#pragma once
 2
 3#include "fastfetch.h"
 4#include "modules/bluetoothradio/option.h"
 5
 6typedef struct FFBluetoothRadioResult {
 7    FFstrbuf name;
 8    FFstrbuf address;
 9    FFstrbuf vendor;
10    int32_t lmpVersion;
11    int32_t lmpSubversion;
12    bool enabled;
13    bool discoverable;
14    bool connectable;
15} FFBluetoothRadioResult;
16
17const char* ffDetectBluetoothRadio(FFlist* devices /* FFBluetoothRadioResult */);
18const char* ffBluetoothRadioGetVendor(uint32_t manufacturerId);