bms_error() unsigned char bms_error(); Description Returns the last error code from the previous bms command Returns error code (unsigned char)