B4R Question [inline-c] how to pass 2 strings into ?

peacemaker

Expert
Licensed User
Longtime User
Hi, All

I'm trying to use ESP32 NVS memory.

B4X:
    /*** String ***/
    // write to flash
    const String st_set = "`simple plain string`";
    res = NVS.setString("st", st_set);
    // read from flash
    String st = NVS.getString("st");

Data is "key=value" pairs, both values should be passed into Inline-C functions.
How to be ?
 

peacemaker

Expert
Licensed User
Longtime User
SOLVED: by Type (struct) creation
 
Upvote 0
Top