28#if HOTT_SIM_GAM_SENSOR
31#if HOTT_SIM_EAM_SENSOR
34#if HOTT_SIM_GPS_SENSOR
35#include "hott/hott_gps.h"
37#if HOTT_SIM_VARIO_SENSOR
38#include "hott/hott_vario.h"
44#define HOTT_TEXT_MODE_REQUEST_ID 0x7f
45#define HOTT_BINARY_MODE_REQUEST_ID 0x80
49#define HOTT_TELEMETRY_GPS_SENSOR_ID 0x8A
51#define HOTT_TELEMETRY_VARIO_SENSOR_ID 0x89
57#if HOTT_SIM_GPS_SENSOR
60#if HOTT_SIM_EAM_SENSOR
63#if HOTT_SIM_VARIO_SENSOR
66#if HOTT_SIM_GAM_SENSOR
75#if HOTT_SIM_GAM_SENSOR
78#if HOTT_SIM_EAM_SENSOR
81#if HOTT_SIM_GPS_SENSOR
84#if HOTT_SIM_VARIO_SENSOR
94#if HOTT_SIM_EAM_SENSOR
97#if HOTT_SIM_GAM_SENSOR
100#if HOTT_SIM_GPS_SENSOR
103#if HOTT_SIM_VARIO_SENSOR
131#if HOTT_SIM_EAM_SENSOR
138#if HOTT_SIM_GAM_SENSOR
145#if HOTT_SIM_GPS_SENSOR
152#if HOTT_SIM_VARIO_SENSOR
232#if HOTT_SIM_EAM_SENSOR
239#if HOTT_SIM_GAM_SENSOR
246#if HOTT_SIM_GPS_SENSOR
253#if HOTT_SIM_VARIO_SENSOR
bool autopilot_get_motors_on(void)
get motors status
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
static uint32_t hott_event_timer
static int8_t * hott_msg_ptr
static bool hott_telemetry_is_sending
#define HOTT_BINARY_MODE_REQUEST_ID
static void hott_enable_receiver(void)
static void hott_send_telemetry_data(void)
#define HOTT_TEXT_MODE_REQUEST_ID
static void hott_send_msg(int8_t *buffer, int16_t len)
static void hott_enable_transmitter(void)
static void hott_periodic_event(uint32_t tnow)
#define HOTT_TELEMETRY_VARIO_SENSOR_ID
static void hott_msgs_init(void)
Initializes a HoTT GPS message (Receiver answer type !Not Smartbox)
void hott_init(void)
RC init function.
static int16_t hott_msg_len
static void hott_check_serial_data(uint32_t tnow)
#define HOTT_TELEMETRY_GPS_SENSOR_ID
static uint16_t hott_telemetry_sendig_msgs_id
void hott_event(void)
RC event function.
Graupner HOTT telemetry control module.
Graupner HOTT electric air module description.
static void hott_update_eam_msg(struct HOTT_EAM_MSG *hott_eam_msg)
static void hott_init_eam_msg(struct HOTT_EAM_MSG *hott_eam_msg)
#define HOTT_TELEMETRY_EAM_SENSOR_ID
#define HOTT_TELEMETRY_GAM_SENSOR_ID
static void hott_init_gam_msg(struct HOTT_GAM_MSG *hott_gam_msg)
static void hott_update_gam_msg(struct HOTT_GAM_MSG *hott_gam_msg)
void uart_put_byte(struct uart_periph *periph, long fd, uint8_t data)
int uart_char_available(struct uart_periph *p)
Check UART for available chars in receive buffer.
uint8_t uart_getch(struct uart_periph *p)
void uart_periph_set_mode(struct uart_periph *p, bool tx_enabled, bool rx_enabled, bool hw_flow_control)
Architecture independent timing functions.
#define SysTimeTimerStart(_t)
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
short int16_t
Typedef defining 16 bit short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
signed char int8_t
Typedef defining 8 bit char type.