summaryrefslogtreecommitdiffstats
path: root/src/detection/bluetoothradio/bluetoothradio.h
blob: a3c120826069abc775ff7e2fcfc41fe60420007e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "fastfetch.h"
#include "modules/bluetoothradio/option.h"

typedef struct FFBluetoothRadioResult {
    FFstrbuf name;
    FFstrbuf address;
    FFstrbuf vendor;
    int32_t lmpVersion;
    int32_t lmpSubversion;
    bool enabled;
    bool discoverable;
    bool connectable;
} FFBluetoothRadioResult;

const char* ffDetectBluetoothRadio(FFlist* devices /* FFBluetoothRadioResult */);
const char* ffBluetoothRadioGetVendor(uint32_t manufacturerId);