Exactly like this: What is the best way of manipulating strings and using them as void*? - #3 by wubaojun
std::string message = "Hello";
std::string_view buff(message);
bluetooth.write(buff.begin(), buff.size());
The problem occurs in the first line. It doesn’t even let me define strings.