Question

I have root my Android mobile (Spice MI 270). I want to run AT commands. But whenever I try to run any AT command form shell, it is giving messages as 'AT not found'. My whole purpose of routing is to give AT commands to modem.

How should I proceed?

Thanks.

Was it helpful?

Solution

You can use the program atinout which will allow you to easily send AT commands from the commands line. Example to hang up a call:

$ echo ATH | atinout - /dev/ttyACM0 -
ATH
OK
$

You need to find the name of the serial device for android (on desktop linux it is typically /dev/ttyACM0 but Android use something different as far as I remember).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top