[BT] Update NimBLE-Arduino to 2.2.1 (#2140)
* Update NimBLE-Arduino to 2.2.1 * Add BLE OTA update capability.
This commit is contained in:
1 parent
4bf43f5695
commit
d03795d0bf
8 files changed
+94
-99
No files matched your search
+9
-9
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
/*
|
||||
Theengs OpenMQTTGateway - We Unite Sensors in One Open-Source Interface
|
||||
|
||||
Act as a gateway between your 433mhz, infrared IR, BLE, LoRa signal and one interface like an MQTT broker
|
||||
Act as a gateway between your 433mhz, infrared IR, BLE, LoRa signal and one interface like an MQTT broker
|
||||
Send and receiving command by MQTT
|
||||
|
||||
|
||||
This files enables to set your parameter for the bluetooth low energy gateway (beacons detection)
|
||||
|
||||
|
||||
Copyright: (c)Florian ROBERT
|
||||
|
||||
|
||||
This file is part of OpenMQTTGateway.
|
||||
|
||||
|
||||
OpenMQTTGateway is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
@@ -34,6 +34,7 @@ extern String stateBTMeasures(bool);
|
||||
|
||||
#ifdef ESP32
|
||||
# include "NimBLEDevice.h"
|
||||
|
||||
#endif
|
||||
|
||||
/*-----------BT TOPICS & COMPILATION PARAMETERS-----------*/
|
||||
@@ -208,9 +209,8 @@ enum ble_val_type {
|
||||
};
|
||||
|
||||
struct BLEAction {
|
||||
std::string value;
|
||||
char addr[18];
|
||||
int addr_type;
|
||||
NimBLEAttValue value;
|
||||
NimBLEAddress addr;
|
||||
NimBLEUUID service;
|
||||
NimBLEUUID characteristic;
|
||||
bool write;
|
||||
|
||||
Reference in new issue
Block a user