I do convert a string to an unity8_t var called p, by:
Code: Select all
String test = "message received : Ben je er al?";
const uint8_t* p = reinterpret_cast<const uint8_t*>(test.c_str());Code: Select all
if ( payload == p) {How is this possible?
What am I doing wrong?