17 lines
345 B
C++
17 lines
345 B
C++
#ifndef BLUETOOTH_UTILS_H
|
|
#define BLUETOOTH_UTILS_H
|
|
|
|
#include <BluetoothSerial.h>
|
|
|
|
namespace BLUETOOTH_Utils {
|
|
|
|
void setup();
|
|
void bluetoothCallback(esp_spp_cb_event_t event, esp_spp_cb_param_t *param);
|
|
void getData(const uint8_t *buffer, size_t size);
|
|
void sendToLoRa();
|
|
void sendToPhone(const String& packet);
|
|
|
|
}
|
|
|
|
#endif
|