Random String to character array in C++
Working with C++ (.cpp files) in IoT some knowledge for conversion between formats is needed. For seeding random ID strings this snippet might be useful: String clientId = “MyClient-” + String(random(0xffff), HEX); char clientIdAsChars* = clientId.c_str(); Useful for connecting your IoT device…