发送Ctrl + Z到串行端口 [英] Sending Ctrl+Z to a serial port

查看:95
本文介绍了发送Ctrl + Z到串行端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过串行端口将AT-Command发送到gsm调制解调器.

I'm sending AT-Command to gsm modem through serial port.

在AT-Command的末尾,我必须使用 Ctrl + z

At the end of the AT-Command I have to terminate the command with Ctrl+z

我该如何在串行端口中做到这一点?

How would I do that in serial port?

推荐答案

尝试一下

(char)26

char-z的ascii详细信息

这篇关于发送Ctrl + Z到串行端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆