-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to BLE OTA Functionality in this code ? #4
Comments
Do you have a GitHub repository? That would be much easier |
|
@fbiego any guidance or anything adding in the Arduino Sketch ? Or the OTA part in your firmware requires Service UUID with Characterstics UUID for Update and Installation or else Service UUID for Service and both CHARACTERSTIC_UUID_RX and CHARACTERISTIC_UUID_TX are the one which perform operation in the characteristic callback function? |
I'm checking it now |
Check the PR on your |
Actually I find the problem in the firmware when I implemented my code with BLE OTA where the firmware update and install function has run in the |
Have you tried out the bare BLE OTA sketch without adding your code? |
It worked but in Serial Monitor and in Application their is error 9 displaying. Actually my point was that the BLE OTA withmy code crashes get occured due to both Wifi part and You make very good code and I am really appreciating your efforts you have done with Arduino Sketch and Android Application. Infact your updated application V1.3 worked really well with any BIN file . It would be very helpful if you provide the Source Code for DIY ESP 32 Clock with BLE OTA at your own choice. Perhaps the last hope may help me to solve my problem. Apologies if any inconvenience caused |
The clock sketch is based on BLE OTA, it has additional functionality for time, LEDs, etc. The BLE OTA sketch should be a good start then add your desired functionality
|
@fbiego Thank You very much for providing the source code. It definitely help a-lot to understand the problem. But their is one error 9 displaying every time Sketch been uploaded. Is the size of the BIN file is set below 1MB in the sketch or we can upload upto 2-3 MB in the |
Which partition scheme are you using? |
Customized Partiton as defined in the article Custom Partition Scheme What are the options you used while uploading the firmware in the tools menu for Arduino IDE like Is it possible to change the code with working of FFAt SPIFF FS in |
Can you define your partitions and sizes? it is up to you to decide where to run the update from, |
I had made different Partition Scheme for the my previous code as mention in this article Custom Partition Scheme . How could I run update section in If I can run two seperate tasks in parallel using FreeRTOS i.e Wifi Running with MQTT and BLE Firmware Update or Disconnect Wifi when OTA Update starts ? |
Which type of Partition Scheme you used while uploading the Firmware sketch via Arduino IDE at which Baud Rate , Flash Size and Core Debug Level ? |
Yes, can you indicate which partition scheme, flash size, baud rate, etc. you are using to build your "firmware.bin" file? I am having issues with this as well. Your "firmware.bin" file transfers perfectly fine, but I cannot get any other lightweight .bin file to transfer over. |
I have tested on two boards using Arduino IDE. Board 1
Board 2
|
Hey @fbiego I am IoT Developement here your recent commenter on your recent Youtube video. Below here is my code in which I want to add BLE OTA part, and I am confused how to add it with the help of your code.Kindly look into it.
Here is the code
The text was updated successfully, but these errors were encountered: