使用 AT 命令的 C# 类? [英] A C# Class to work with AT commands?
本文介绍了使用 AT 命令的 C# 类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有用于与设备进行 AT 通信的类?就像一个将AT 命令封装到.NET 接口中的类?
Is there a class for AT communication with devices? Like a class which encapsulates AT commands into a .NET interface?
它还需要能够解析AT响应,例如网络列表.
It needs to be also able to parse AT responses such as Network Lists.
示例:+COPS=? 返回一个运营商列表,实际解析它需要一些非常复杂的正则表达式.我不想编写自己的库,而是想使用预制的库.
Example : +COPS=? returns a list of carriers and it would take some pretty complex regex to actually parse it. Instead of writing my own lib I want to use a premade one.
AT 命令 我正在裁判这些:http://en.wikipedia.org/wiki/Hayes_command_set
推荐答案
试试这个:GSM 通信库.除了内置命令,它还允许您发送任何您需要的命令.
Try this one: GSM Communication Library. Apart from built in commands it allows you to send any command you need.
这篇关于使用 AT 命令的 C# 类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文