fix: revert SDK 36 bump, fix NimBLE setMTU crash, add --no-stub for OPI flash
This commit is contained in:
parent
3b9028b096
commit
84503f3a24
9 changed files with 165 additions and 180 deletions
|
|
@ -35,7 +35,7 @@
|
|||
#define NVS_NAMESPACE "hmac"
|
||||
#define NVS_KEY_NAME "key"
|
||||
#define NVS_UUID_NAME "uuid"
|
||||
#define FIRMWARE_VERSION "5"
|
||||
#define FIRMWARE_VERSION "6"
|
||||
|
||||
NimBLECharacteristic *pCharacteristic;
|
||||
bool deviceConnected = false;
|
||||
|
|
@ -338,8 +338,8 @@ void setup() {
|
|||
}
|
||||
Serial.println("LED blink done, starting BLE...");
|
||||
|
||||
NimBLEDevice::setMTU(512);
|
||||
NimBLEDevice::init("SylDa_Server");
|
||||
NimBLEDevice::setMTU(248);
|
||||
|
||||
NimBLEServer *pServer = NimBLEDevice::createServer();
|
||||
pServer->setCallbacks(new MyServerCallbacks());
|
||||
|
|
|
|||
Loading…
Reference in a new issue