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

Module XML file: gsm.xml

No detailed description...

Example for airframe file

1 <modules>
2  <load name="gsm.xml"/>
3 </modules>

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>