summaryrefslogtreecommitdiffstats
path: root/src/detection/bluetooth/bluetooth.h
blob: dde80853d93f26080ddc570c59c532b54bc32d27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

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

typedef struct FFBluetoothResult {
    FFstrbuf name;
    FFstrbuf address;
    FFstrbuf type;
    uint8_t battery; // 0-100%
    bool connected;
} FFBluetoothResult;

const char* ffDetectBluetooth(FFBluetoothOptions* options, FFlist* devices /* FFBluetoothResult */);