MLink - CHARACTERISTIC_FORMAT_STRING

andreasb
Posts: 2
Joined: Tue Feb 16, 2021 7:16 am

MLink - CHARACTERISTIC_FORMAT_STRING

Postby andreasb » Mon Mar 22, 2021 10:26 pm

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?

Who is online

Users browsing this forum: Google [Bot] and 113 guests