Chat command line / communicating with Telit GSM modem / sending instructions
I have a Compulab EM-270X device, running Angstrom Linux 2.6.26. The device has a Telit chip which takes a SIM card and I want to send some AT instructions.
I need to send the instruction: AT#BND=3
to the modem to make it change its settings from Europe to U.S. in order for my AT&T sim card to connect to the network.
From poking around in /etc/ppp I found various files like gprs-connect and gprs-options that use the "chat" command to communicate with the modem which I believe it's the /dev/ttyS1.
How do I use "chat" or any other tool to send those instructions to the modem?
I have never used the "chat" command line and the man pages sort of confused me.
Here's my gprs-connect:
ABORT 'NO CARRIER'
And my gprs-options:
connect "/usr/sbin/chat -v -f /etc/ppp/gprs-connect"
disconnect "/usr/sbin/chat -v -f /etc/ppp/gprs-disconnect"