How to communicate with GSM modem from c++ code

橙三吉。 提交于 2019-12-11 10:21:46

问题


I have huawei GSM modem and I wish to read and send SMS from my c++ application. Does anybody know how to establish communication from code (what are communication protocols, I know how to connect to serial port and read and write data there).

I have read something about AT commands but don't know how to apply it.


回答1:


You just sent the AT commands as strings via the serial port



来源:https://stackoverflow.com/questions/22662436/how-to-communicate-with-gsm-modem-from-c-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!