Comments (9)
check this implementation of your code
from esp32_ble_ota_arduino.
actually, I'm developing and testing a python script to enable uploads from a computer. I will post it when done
from esp32_ble_ota_arduino.
Looks like you have not created SERVICE_UUID2
on the pServer
or if you are adding all characteristic to one service, the changes won't show until you refresh. I use the nRF connect app to refresh the services
from esp32_ble_ota_arduino.
Yeah, no real luck with or without that 2nd one ... .
I can see both service_UUID's (for a while at least, then it just disappears again untill a reboot of the ESP).
But I can't connect with the phone to upload a .bin file.
In case you're interested to have a look, I believe to have a minimal example. It sends a value to some characteristics and still implements your OTA method: main.zip
(using platformio but in arduino style ... so you can normally just leave out the #include <Arduino.h>, and save it as an .ino)
thanks!
from esp32_ble_ota_arduino.
Great stuff, thanks.
Getting it connected with the app and phone was a bit finicky, but at least it works once I got it connected 👍
By the way did you always do this flashing by phone or were there any ways to upload from computer?
from esp32_ble_ota_arduino.
I've tried again to integrate this example in my own code.
The best I get is a few % in the upload process in the app, afterwards the ESP just reboots. I'm using the .bin file from your repo as test upload.
TX AA 00
.TX F1 00 01
TX F1 00 02
TX F1 00 03
E (124461) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (124461) task_wdt: - IDLE0 (CPU 0)
E (124461) task_wdt: Tasks currently running:
E (124461) task_wdt: CPU 0: btController
E (124461) task_wdt: CPU 1: loopTask
E (124461) task_wdt: Aborting.
abort() was called at PC 0x4015d13c on core 0
ELF file SHA256: 0000000000000000
Backtrace: 0x4008ef34:0x3ffbf6d0 0x4008f1b1:0x3ffbf6f0 0x4015d13c:0x3ffbf710 0x4008be59:0x3ffbf730 0x40161689:0x3ffd3cf0 0x40161c4d:0x3ffd3d10 0x40090216:0x3ffd3d40
Is there any debug information that is useful for this?
I'm about to give up on BLE-OTA.
from esp32_ble_ota_arduino.
did you modify the main-ota
code?
from esp32_ble_ota_arduino.
did you modify the main-ota code?
not the BLE parts: I've compared it a few times, I only changed the order of the function declaration. Latest code is here:
https://github.com/goosst/hoverboard-firmware-hack-FOC/blob/master/ESP32/src/main.cpp
from esp32_ble_ota_arduino.
you may want to call your Receive() function in the NORMAL_MODE
from esp32_ble_ota_arduino.
Related Issues (20)
- esp32_ble_ota getting Incomplete while ota
- FFat seems to be slower than SPIFFS HOT 9
- Core panic'ed
- Create simple ArduinoBleOTA library HOT 6
- Gradle fail HOT 1
- How to add ota function
- Is there a way to use classic BT instead of BLE to receive the file? HOT 2
- React native
- I use in esp32 is work but in esp32-s3 in updater retun fail message
- Can't connect to the ESP32 HOT 12
- Error#9 HOT 4
- Hexadecimal meaning HOT 1
- NimBLE OTA and Android app connect and instantly disconnect HOT 4
- Incorrect firmware size
- Re-flashing the firmware does not work! HOT 7
- ESP32 not detecting in Android, Poco M2 Pro HOT 1
- E (106953) esp_image: invalid segment length 0x76727000 HOT 2
- Firmware uploaded but performUpdate fails while partitionEraseRange... HOT 1
- TAG missing in esp32_ble_ota_compact
- Problem with initial flashing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32_ble_ota_arduino.