// Set QString str to the buffer of serial data accepted.
// ASCII character stream buffer must be used
QString str = buffer;
// A1+C9+03+01 process program yourself
////////////
str.remove(0, 4); // remove first "A1+C9+03+01"
int lenthName = str.at(0).toInt(); // Get lenth of name
QString name = str.mid(1, lenthName); // Get name content
return name;