implemented make discoverable button
This commit is contained in:
parent
2ef91e2810
commit
361b092d4e
3 changed files with 44 additions and 1 deletions
|
|
@ -13,9 +13,11 @@ class BluetoothServer {
|
|||
private:
|
||||
BLEService *sensorService;
|
||||
BLEServer *bleServer;
|
||||
bool advertiserLock;
|
||||
public:
|
||||
BluetoothServer();
|
||||
|
||||
void startAdvertising();
|
||||
void startServer();
|
||||
void setTemperature(float temperature);
|
||||
void setPressure(float pressure);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue