AT command script processor
Last week we wrote some software for a GSM (cellular) mode module. The GSM modem is controlled by AT commands, like an old landline modem. Debugging is usually done by typing AT commands into Hyperterminal or the Bus Pirate. This can also be used to create scripts for Bus Pirate.
We got tired of tapping out tons of AT commands by hand, so we created an AT Command Script Processor in C# (Visual C# 2010 Express Edition). We're releasing it so people can share AT command scripts that demonstrate how various devices are configured.
Download it here, the current version as of this writing is 00.08.03 Alpha Release.
This tool can also be used on Bus Pirate.
There are two files included in the download: the application and a sample script file.
- AT Command| Get Response (bool)| Delay| Comment
The script file formatting is like this. The AT command is first, followed by a Boolean (TRUE/FALSE) value that tells the program if it needs to get a response. Finally, tell it how long to delay before retrieving data from the modem. The last field is an optional comment that is ignored.
- AT|TRUE|1000|Send AT then delay for 1 sec then get data
This example waits 1 second and then gets a reply from the GSM modem.
- AT|FALSE| 1000|Send AT then delay for 1 sec
This example doesn't get a reply from the GSM modem
This utility helped us test a series of AT commands during development. We're releasing it so people can share AT command scripts that demonstrate how various devices are configured.