Use this
Or not. There is no reason to have a String in the first place. Use a char array!
char *myData = "MD111111111111111111111111111111111#(40)";
Then, where you need to use data, use (uint8_t *)myData instead.
Edit: Get the cast right!
Use this
Or not. There is no reason to have a String in the first place. Use a char array!
char *myData = "MD111111111111111111111111111111111#(40)";
Then, where you need to use data, use (uint8_t *)myData instead.
Edit: Get the cast right!