SingingCat 0
application
esp32_bluetooth.h
1#ifndef ESP32_BLUETOOTH_H
2#define ESP32_BLUETOOTH_H
3
4#define MAX_BT_PEERS 100
5typedef struct bt_peer {
6 uint64_t mac;
7 char name[64];
9
10typedef struct bt_peer_info {
11 struct command * bt_peer_com;
12 uint8_t valid;
13 uint8_t peercount;
14 struct bt_peer peers[MAX_BT_PEERS];
16
17void bt_peer_update(const uint8_t *buf, int size);
18
19#endif