Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gsm module

GSM module

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="gsm"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Event Functions

These event functions are called in each cycle of the module event loop.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • gsm_init_report()
    • Period in seconds: 60.
    • Delay: 3599
      Integer to impose a sequence (between 0 and main_freq/function_freq)
    • Autorun: TRUE
      Periodic function automatically starts after init.
  • gsm_send_report()
    • Period in seconds: 60.
    • Autorun: FALSE
      Periodic function is started by user command.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw gsm.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="gsm">
<doc>
<description>GSM module</description>
</doc>
<header>
<file name="gsm.h"/>
</header>
<init fun="gsm_init()"/>
<periodic fun="gsm_init_report()" period="60." delay="3599" autorun="TRUE"/>
<periodic fun="gsm_send_report()" period="60." autorun="FALSE"/>
<event fun="gsm_event()"/>
<makefile>
<file name="gsm.c"/>
</makefile>
</module>