Add send_str function

Signed-off-by: yuzhongqiang <jy8yzq@163.com>