esp32-car/include/ble.h

23 lines
367 B
C
Raw Normal View History

2024-12-27 09:47:56 +08:00
#ifndef BLE_H
#define BLE_H
#include <Arduino.h>
#include <BLEDevice.h>
#include <BLEServer.h>
#include <BLEUtils.h>
#include <BLE2902.h>
#include <transmit.h>
#include "consts.h"
class BLEManager
{
public:
static bool deviceConnected;
static BLEServer *pServer;
static BLECharacteristic *pTxCharacteristic;
static void init(String deviceName);
};
#endif