State Machine
The state machine is core of libGammu operations. It gets the data from the
phone and dispatches them through protocol layer to phone drivers.
To see how it operates, following figure shows example of what happens when
GSM_GetModel()
is called from the program: