Skip to content

knx.readMemory(); needs a function to clear in case of corrupt data. #320

@cuex99

Description

@cuex99

Hi! (hope its okay to send a ticket)
i'm using stack 1.5.0, and using IP with Kaenx Creator tool, however i can build application, i can programm the KNX Address and upload the config.
This runs fine! (Thank you!!!)

When i change the Application by editing the Kaenx and making a new SW for my ESP32 ... this works. .. i can pload it to my ESP32 ... but
when uploaded the new APP it directly crashed in an endless loop.

Why?
There is still data in the Memory, but that data doesnt fit to the application. It crashed with different exceptions/Resets calls... whatever.. that doesnt matter.

What I miss here (or SORRY i did not find in an Example or documentation) is :
If that code doesnt fit or is invalid by calling the function
knx.readMemory();
it shall not CRASH, REBOOT or HANGUP.... it shall return an "invalid" after reading and there should be an function to
knx.clearMemory();

I saw in documentation some grayed function there but can't use that.

Thank you for your HELP!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions