You just sent the AT commands as strings via the serial port
How to communicate with GSM modem from c++ code
-
21-06-2023 - |
Domanda
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.
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow