Giter VIP home page Giter VIP logo

Comments (7)

shogunxam avatar shogunxam commented on July 1, 2024

from esp32_bletracker.

leonel85 avatar leonel85 commented on July 1, 2024

Hi
Thanks
I have develop another things that I have to mix together. If it’s possible I’d like to use official framework because I have already use it and it could be a little bit better for future releases

I don’t real need to debug everything. I think that this is a good project for me and maybe it already works with the new platform
It could be a good help understand how to debug and fix it

from esp32_bletracker.

shogunxam avatar shogunxam commented on July 1, 2024

from esp32_bletracker.

leonel85 avatar leonel85 commented on July 1, 2024

Hi
I see that that function is used by OTA so first I disable OTA but I had another error
I debug and find that the problem was the White list
BLE_KNOWN_DEVICES_LIST
I just remove it from initialisation
Now it works but after a while it crashes
It find a lot of devices
I have to debug a little bit
Sorry I’m writing from mobile. I will give you more details later
Thanks for help

from esp32_bletracker.

shogunxam avatar shogunxam commented on July 1, 2024

Are you sure you have changed only the platform?
Changing only the platform the build fails

from esp32_bletracker.

shogunxam avatar shogunxam commented on July 1, 2024

Looking to the memory used by the toolchain I suspect the problem is there:
With the original tool chain we have
RAM: [== ] 18.0% (used 59064 bytes from 327680 bytes)
Flash: [======== ] 78.6% (used 1545945 bytes from 1966080 bytes)

with the latest expressif32
RAM: [== ] 20.1% (used 65860 bytes from 327680 bytes)
Flash: [======== ] 84.7% (used 1665821 bytes from 1966080 bytes)

I fear there is no more enough space for the dynamic allocation

from esp32_bletracker.

shogunxam avatar shogunxam commented on July 1, 2024

I'm amazed at how it's worked so far.
I forgot the return in the assignment function
Settings::KnownDevice &Settings::KnownDevice::operator=(const KnownDevice &dev) { readBattery = dev.readBattery; memcpy(address, dev.address, ADDRESS_STRING_SIZE); memcpy(description, dev.description, DESCRIPTION_STRING_SIZE); return *this; }

Adding it has resolved the crash.
I'll do a PR to fix it

from esp32_bletracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.