Skip to content

ESP 32 Unable to expose string variable #32

@andrea-daru

Description

@andrea-daru

Using the following configuration on ESP 32 I see an empty string:

// Config
char nowstring[4] = "Test";
rest.variable("test", &nowstring, true);
//Output
{"variables": {"test": ""}, "id": "1", "name": "esp32", "hardware": "esp32", "connected": true}

Am I missing something?

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