2020-02-01 16:14:34 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <Arduino.h>
|
2020-03-18 19:15:51 -07:00
|
|
|
#include <BLEServer.h>
|
|
|
|
|
#include <BLEService.h>
|
2020-02-01 16:14:34 -08:00
|
|
|
|
2020-03-18 19:15:51 -07:00
|
|
|
BLEService *createMeshBluetoothService(BLEServer *server);
|
2020-02-23 13:20:46 -08:00
|
|
|
void destroyMeshBluetoothService();
|
2020-02-01 16:14:34 -08:00
|
|
|
|
2020-02-02 20:54:40 -08:00
|
|
|
/**
|
|
|
|
|
* Tell any bluetooth clients that the number of rx packets has changed
|
|
|
|
|
*/
|
|
|
|
|
void bluetoothNotifyFromNum(uint32_t newValue);
|
2020-02-24 18:09:58 -08:00
|
|
|
|
|
|
|
|
void stopMeshBluetoothService();
|