Skip to content

WiFiStorage read/write operations ignore return value from WiFiDrv #242

Open
@mikaelj

Description

@mikaelj

....making it impossible to know if the operation was successful or not.

e.g. WifiStorage.write():

static bool write(const char *filename, uint32_t offset, uint8_t* buffer, uint32_t buffer_len) {

What's the recommended way of catching write errors?

Also, return type is int8_t while buffer_len is uint32_t.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions