From 1ff4f95919763f83db3964a288229afd15b81c5c Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 1 Dec 2025 21:27:02 +0000 Subject: [PATCH] v1.0.4 acceptable file transfer --- lib/BLEOTA | 2 +- src/main.cpp | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/BLEOTA b/lib/BLEOTA index 7f8c320..ea11640 160000 --- a/lib/BLEOTA +++ b/lib/BLEOTA @@ -1 +1 @@ -Subproject commit 7f8c320b5adda95a98b770c32a845a2f3c04e5fe +Subproject commit ea116408890c30e4a266f4ae3cf6898836c7626b diff --git a/src/main.cpp b/src/main.cpp index b8ee79b..ec1ee09 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,7 +6,7 @@ #include "pins.h" -#define BLINKRATE 1000 +#define BLINKRATE 500 #define BLE_SERVER_NAME "Software Release" unsigned long lastBlink = 0; @@ -40,14 +40,14 @@ void setup() { pServer = BLEDevice::createServer(); pServer->setCallbacks(new ServerCallbacks()); - BLEota.begin(pServer, "1.0.3"); + BLEota.begin(pServer, "1.0.4"); BLEAdvertising* pAdvertising = BLEDevice::getAdvertising(); pAdvertising->setScanResponse(true); pAdvertising->setMinPreferred(0x06); pAdvertising->setMinPreferred(0x12); BLEDevice::startAdvertising(); - BLEDevice::setMTU(128); + BLEDevice::setMTU(512); delay(1000); Serial.println("Started!"); @@ -55,7 +55,6 @@ void setup() { void loop() { if ((millis() - lastBlink) > BLINKRATE) { - Serial.println(digitalRead(LED)); digitalWrite(LED, !digitalRead(LED)); lastBlink= millis(); }