Examples
========

All these examples are also available in docs/examples/
directory in Gammu sources.

Getting phone information
-------------------------

.. literalinclude:: ../../examples/phone-info.c
   :language: c

Reading SMS message
-------------------

.. literalinclude:: ../../examples/sms-read.c
   :language: c

Sending SMS message
-------------------

.. literalinclude:: ../../examples/sms-send.c
   :language: c

Sending Long SMS message
------------------------

.. literalinclude:: ../../examples/long-sms.c
   :language: c

SMSD example
------------

.. literalinclude:: ../../examples/smsd.c
   :language: c

Custom configuration
--------------------

.. literalinclude:: ../../examples/custom-config.c
   :language: c

