Welcome, Guest
Username: Password: Remember me
Components and Libraries for Networking Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

How do I get AT command responses from synaser? 11 years 1 week ago #3667

  • Maximiliano
  • Maximiliano's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 3
How do I get AT command responses from synaser?

ATResult but only returns TRUE even when the command fails.
Need to read the result of a 3G modem.
If I use a terminal like hyperterminal to send this command
AT + CMGS = text here + CTRL-Z
returns +CMGS = phone number

gsm.SendString ('AT + CMGS = "' + GSMaddress + '"' + # $ 0D) / / in lazarus



Como recibir respuestas de comandos AT desde synaser?

ATResult solo devuelve TRUE pero incluso cuando falla el comando.
Nnecesito leer el resultado de un modem 3G.
Si utilizo una terminal como hyperterminal al enviar este comando
AT+CMGS= text here +CTRL-Z

devuelve +CMGS= numero de telefono

Please Log in or Create an account to join the conversation.

  • Page:
  • 1