Telemetry using PPRZ protocol over SuperbitRF module
No detailed description...
Example for airframe file
Add to your firmware section:
1 <module name="telemetry_superbitrf"/>
Auto-loaded modules
The following modules are automatically loaded (just as if you had added them in the airframe file)
- module__telemetrynps
- module__telemetrysim
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.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw telemetry_superbitrf.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="telemetry_superbitrf" dir="datalink" task="datalink">
<doc>
<description>
Telemetry using PPRZ protocol over SuperbitRF module
</description>
</doc>
<autoload name="telemetry" type="nps"/>
<autoload name="telemetry" type="sim"/>
<header>
<file name="superbitrf.h" dir="subsystems/datalink"/>
</header>
<init fun="superbitrf_dl_init()"/>
<event fun="superbitrf_dl_event()"/>
<makefile target="!fbw|sim|nps">
<define name="DOWNLINK"/>
<define name="PERIODIC_TELEMETRY"/>
<define name="DOWNLINK_DEVICE" value="superbitrf"/>
<define name="DOWNLINK_TRANSPORT" value="pprz_srf_tp"/>
<define name="DATALINK" value="SUPERBITRF"/>
<file name="superbitrf.c" dir="subsystems/datalink"/>
<file name="downlink.c" dir="subsystems/datalink"/>
<file name="datalink.c" dir="subsystems/datalink"/>
<file name="telemetry.c" dir="subsystems/datalink"/>
<file name="pprz_transport.c" dir="pprzlink/src"/>
<file name="cyrf6936.c" dir="peripherals"/>
</makefile>
<makefile target="ap" firmware="fixedwing">
<file name="fixedwing_datalink.c" dir="$(SRC_FIRMWARE)"/>
<file name="ap_downlink.c" dir="$(SRC_FIRMWARE)"/>
</makefile>
<makefile target="ap|fbw" firmware="fixedwing">
<file name="fbw_downlink.c" dir="$(SRC_FIRMWARE)"/>
</makefile>
<makefile target="ap" firmware="rotorcraft">
<file name="rotorcraft_datalink.c" dir="$(SRC_FIRMWARE)"/>
<file name="rotorcraft_telemetry.c" dir="$(SRC_FIRMWARE)"/>
</makefile>
</module>