In a wireless communications device, methods and systems for processing a
plurality of AT commands are disclosed. Aspects of the method may
comprise generating AT command codes for the plurality of AT commands.
The generated AT command codes for the plurality of AT commands may be
compiled and linked with operating code. The linked AT commands and
operating code may be executed. At least one command definition
corresponding to at least one of the plurality of AT commands may be
generated. The plurality of AT commands may be arranged according to the
generated command definition. At least one pattern within at least a
portion of the arranged plurality of AT commands may be selected and at
least one command expression may be matched with the selected at least
one pattern. The AT command codes for the plurality of AT commands may be
generated utilizing the matched at least one command expression. At least
one AT command execution information corresponding to the at least one of
the plurality of AT commands may be generated.