mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 09:06:02 +00:00
19 lines
546 B
C
19 lines
546 B
C
#pragma once
|
|
|
|
#include <BLEService.h>
|
|
#include <BLEServer.h>
|
|
#include <Arduino.h>
|
|
|
|
BLEService *createMeshBluetoothService(BLEServer* server);
|
|
void destroyMeshBluetoothService();
|
|
|
|
/**
|
|
* Tell any bluetooth clients that the number of rx packets has changed
|
|
*/
|
|
void bluetoothNotifyFromNum(uint32_t newValue);
|
|
|
|
/**
|
|
* Super skanky FIXME - when we start a software update we force the mesh service to shutdown.
|
|
* If the sw update fails, the user will have to manually reset the board to get things running again.
|
|
*/
|
|
void stopMeshBluetoothService(); |