Paparazzi UAS  v5.17_devel-24-g2ae834f
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
e_identification_fr module

Format and send via UART tracking data according to French regulation.

No detailed description...

Example for airframe file

Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!

1 <module name="e_identification_fr">
2  <configure name="E_ID_PORT" value="UARTx" />
3  <configure name="E_ID_BAUD" value="B115200" />
4 </module>

Module configuration options

Configure Options

  • name: E_ID_PORT value: UARTx
    Description: UART where the e-id device is connected to (UART1, UART2, etc
  • name: E_ID_BAUD value: B115200
    Description: UART baud rate

Module functions

Init Functions

These initialization functions are called once on startup.

Periodic Functions

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

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw e_identification_fr.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="e_identification_fr">
<doc>
<description>Format and send via UART tracking data according to French regulation.</description>
<configure name="E_ID_PORT" value="UARTx" description="UART where the e-id device is connected to (UART1, UART2, etc"/>
<configure name="E_ID_BAUD" value="B115200" description="UART baud rate"/>
</doc>
<header>
<file name="e_identification_fr.h"/>
</header>
<init fun="e_identification_fr_init()"/>
<periodic fun="e_identification_fr_periodic()" freq="4" autorun="FALSE"/>
<makefile target="ap">
<configure name="E_ID_PORT" case="upper|lower"/>
<configure name="E_ID_BAUD" default="B115200"/>
<define name="USE_$(E_ID_PORT_UPPER)"/>
<define name="E_ID_DEV" value="$(E_ID_PORT_LOWER)"/>
<define name="$(E_ID_PORT_UPPER)_BAUD" value="$(E_ID_BAUD)"/>
<define name="USE_$(E_ID_PORT_UPPER)_RX" value="FALSE"/>
<file name="e_identification_fr.c"/>
</makefile>
</module>