1. 首页
  2. 数据库
  3. 其它
  4. at engine:Arduino库可使用AT协议设置串行通信 源码

at engine:Arduino库可使用AT协议设置串行通信 源码

上传者: 2021-04-30 03:54:01上传 ZIP文件 11.7KB 热度 8次
发动机 Arduino库可使用AT协议设置串行通信 用法示例 定义AT命令处理程序 # include # include // Define command handler class ATPing : public at ::Handler { public: ATPing () : at::Handler( " AT+PING " ){}; void Handle (at::Input input, at::Responder *resp) { if (input. length == 0 ) { resp-> writeLine ( " PONG " ); } else { resp->
下载地址
用户评论