Passing char arrays to a function - best practice

sendMsg needs to take a const char* argument.