سؤال

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.

هل كانت مفيدة؟

المحلول

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).

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top