Fix board ID and NimBLE 2.x API for ESP32-S3-N16R8
- Use esp32-s3-devkitc1-n16r8 board (16MB flash, 8MB PSRAM OPI) instead of generic esp32-s3-devkitc-1 (8MB, no PSRAM) - Remove setScanResponse() — NimBLE 2.x dropped this method - Board definition handles PSRAM build flags automatically Verified: clean boot, no PSRAM errors, BLE advertising as Travler-G2.
This commit is contained in:
parent
068f38d7eb
commit
420a8e2039
2 changed files with 2 additions and 5 deletions
|
|
@ -103,7 +103,6 @@ static void initBLE() {
|
|||
NimBLEAdvertising *pAdv = NimBLEDevice::getAdvertising();
|
||||
pAdv->addServiceUUID(NUS_SERVICE_UUID);
|
||||
pAdv->setAppearance(0x0080); // Generic Computer
|
||||
pAdv->setScanResponse(true);
|
||||
NimBLEDevice::startAdvertising();
|
||||
|
||||
Serial.printf("[BLE] Advertising as \"%s\"\n", BLE_DEVICE_NAME);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue