OK, I have a variable of type unsignedchar; this variable contains a once word string. So I want to convert this variable from the type unsignedchar to std::string please see the example below.
unsignedchar myVar[10] = "abcdefg"
I want to convert the variable above to type std::string.
could it have anything to do with the fact that the variable i am trying to convert to string is actually of type uint8_t. I did not disclose this because as far as I know uint8_t is simply a typedef for unsignedchar.