Page 1 of 1

MLink - CHARACTERISTIC_FORMAT_STRING

Posted: Mon Mar 22, 2021 10:26 pm
by andreasb
Hello,

I use ESP-MDF in combination with MLink, to read and write data from my C# Application to the ESP32. Now I want to read and write a string (char*) to and from ESP32.

If I use the follwing code, I get only the first 8 signs of the string, not the complete one.

Code: Select all

char thingname[30];
        readStringFromNVS("iotclientid", thingname);

        *((char **)arg) = thingname;

Can someone help me, with the problem?