dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
HoTT Telemetry Module

Files

file  uavohottbridge.h
 sends telemery data on HoTT request
 
file  uavohottbridge.c
 sends telemery data on HoTT request
 

Data Structures

struct  uword_t
 
struct  telemetrydata
 
struct  hott_vario_message
 
struct  hott_gps_message
 
struct  hott_gam_message
 
struct  hott_eam_message
 
struct  hott_esc_message
 
struct  hott_text_message
 

Macros

#define IDLE_TIME   10
 
#define DATA_TIME   3
 
#define climbratesize   50
 
#define statussize   21
 
#define HOTT_MAX_MESSAGE_LENGTH   200
 
#define M_TO_CM   100
 
#define MS_TO_KMH   3.6f
 
#define DEG_TO_UINT   0.5f
 
#define OFFSET_ALTITUDE   500
 
#define OFFSET_CLIMBRATE   30000
 
#define OFFSET_CLIMBRATE3S   120
 
#define OFFSET_TEMPERATURE   20
 
#define VARIO_INVERT_ALT   (1<<0)
 
#define VARIO_INVERT_MAX   (1<<1)
 
#define VARIO_INVERT_MIN   (1<<2)
 
#define VARIO_INVERT_CR1S   (1<<3)
 
#define VARIO_INVERT_CR3S   (1<<4)
 
#define VARIO_INVERT_CR10S   (1<<5)
 
#define GPS_INVERT_HDIST   (1<<0)
 
#define GPS_INVERT_SPEED   (1<<1)
 
#define GPS_INVERT_ALT   (1<<2)
 
#define GPS_INVERT_CR1S   (1<<3)
 
#define GPS_INVERT_CR3S   (1<<4)
 
#define GPS_INVERT2_POS   (1<<0)
 
#define GAM_INVERT_CELL   (1<<0)
 
#define GAM_INVERT_BATT1   (1<<1)
 
#define GAM_INVERT_BATT2   (1<<2)
 
#define GAM_INVERT_TEMP1   (1<<3)
 
#define GAM_INVERT_TEMP2   (1<<4)
 
#define GAM_INVERT_FUEL   (1<<5)
 
#define GAM_INVERT2_CURRENT   (1<<0)
 
#define GAM_INVERT2_VOLTAGE   (1<<1)
 
#define GAM_INVERT2_ALT   (1<<2)
 
#define GAM_INVERT2_CR1S   (1<<3)
 
#define GAM_INVERT2_CR3S   (1<<4)
 
#define EAM_INVERT_CAPACITY   (1<<0)
 
#define EAM_INVERT_BATT1   (1<<1)
 
#define EAM_INVERT_BATT2   (1<<2)
 
#define EAM_INVERT_TEMP1   (1<<3)
 
#define EAM_INVERT_TEMP2   (1<<4)
 
#define EAM_INVERT_ALT   (1<<5)
 
#define EAM_INVERT_CURRENT   (1<<6)
 
#define EAM_INVERT_VOLTAGE   (1<<7)
 
#define EAM_INVERT2_ALT   (1<<2)
 
#define EAM_INVERT2_CR1S   (1<<3)
 
#define EAM_INVERT2_CR3S   (1<<4)
 
#define ESC_INVERT_VOLTAGE   (1<<0)
 
#define ESC_INVERT_TEMP1   (1<<1)
 
#define ESC_INVERT_TEMP2   (1<<2)
 
#define ESC_INVERT_CURRENT   (1<<3)
 
#define ESC_INVERT_RPM   (1<<4)
 
#define ESC_INVERT_CAPACITY   (1<<5)
 
#define ESC_INVERT_MAXCURRENT   (1<<6)
 
#define HOTT_TEXT_ID   0x7f
 
#define HOTT_BINARY_ID   0x80
 
#define HOTT_VARIO_ID   0x89
 
#define HOTT_VARIO_TEXT_ID   0x90
 
#define HOTT_GPS_ID   0x8a
 
#define HOTT_GPS_TEXT_ID   0xa0
 
#define HOTT_ESC_ID   0x8c
 
#define HOTT_ESC_TEXT_ID   0xc0
 
#define HOTT_GAM_ID   0x8d
 
#define HOTT_GAM_TEXT_ID   0xd0
 
#define HOTT_EAM_ID   0x8e
 
#define HOTT_EAM_TEXT_ID   0xe0
 
#define HOTT_TEXT_START   0x7b
 
#define HOTT_START   0x7c
 
#define HOTT_STOP   0x7d
 
#define HOTT_BUTTON_DEC   0xEB
 
#define HOTT_BUTTON_INC   0xED
 
#define HOTT_BUTTON_SET   0xE9
 
#define HOTT_BUTTON_NIL   0x0F
 
#define HOTT_BUTTON_NEXT   0xEE
 
#define HOTT_BUTTON_PREV   0xE7
 
#define HOTT_TONE_A   1
 
#define HOTT_TONE_B   2
 
#define HOTT_TONE_C   3
 
#define HOTT_TONE_D   4
 
#define HOTT_TONE_E   5
 
#define HOTT_TONE_F   6
 
#define HOTT_TONE_G   7
 
#define HOTT_TONE_H   8
 
#define HOTT_TONE_I   9
 
#define HOTT_TONE_J   10
 
#define HOTT_TONE_K   11
 
#define HOTT_TONE_L   12
 
#define HOTT_TONE_M   13
 
#define HOTT_TONE_N   14
 
#define HOTT_TONE_O   15
 
#define HOTT_TONE_P   16
 
#define HOTT_TONE_Q   17
 
#define HOTT_TONE_R   18
 
#define HOTT_TONE_S   19
 
#define HOTT_TONE_T   20
 
#define HOTT_TONE_U   21
 
#define HOTT_TONE_V   22
 
#define HOTT_TONE_W   23
 
#define HOTT_TONE_X   24
 
#define HOTT_TONE_Y   25
 
#define HOTT_TONE_Z   26
 
#define HOTT_TONE_20M   37
 
#define HOTT_TONE_40M   38
 
#define HOTT_TONE_60M   39
 
#define HOTT_TONE_80M   40
 
#define HOTT_TONE_100M   41
 
#define HOTT_TONE_42   42
 
#define HOTT_TONE_43   43
 
#define HOTT_TONE_200M   46
 
#define HOTT_TONE_400M   47
 
#define HOTT_TONE_600M   48
 
#define HOTT_TONE_800M   49
 
#define HOTT_TONE_1000M   50
 
#define HOTT_TONE_51   51
 
#define HOTT_TONE_52   52
 

Detailed Description

Macro Definition Documentation

#define climbratesize   50

Definition at line 49 of file uavohottbridge.h.

#define DATA_TIME   3

Definition at line 46 of file uavohottbridge.h.

#define DEG_TO_UINT   0.5f

Definition at line 56 of file uavohottbridge.h.

#define EAM_INVERT2_ALT   (1<<2)

Definition at line 99 of file uavohottbridge.h.

#define EAM_INVERT2_CR1S   (1<<3)

Definition at line 100 of file uavohottbridge.h.

#define EAM_INVERT2_CR3S   (1<<4)

Definition at line 101 of file uavohottbridge.h.

#define EAM_INVERT_ALT   (1<<5)

Definition at line 96 of file uavohottbridge.h.

#define EAM_INVERT_BATT1   (1<<1)

Definition at line 92 of file uavohottbridge.h.

#define EAM_INVERT_BATT2   (1<<2)

Definition at line 93 of file uavohottbridge.h.

#define EAM_INVERT_CAPACITY   (1<<0)

Definition at line 91 of file uavohottbridge.h.

#define EAM_INVERT_CURRENT   (1<<6)

Definition at line 97 of file uavohottbridge.h.

#define EAM_INVERT_TEMP1   (1<<3)

Definition at line 94 of file uavohottbridge.h.

#define EAM_INVERT_TEMP2   (1<<4)

Definition at line 95 of file uavohottbridge.h.

#define EAM_INVERT_VOLTAGE   (1<<7)

Definition at line 98 of file uavohottbridge.h.

#define ESC_INVERT_CAPACITY   (1<<5)

Definition at line 108 of file uavohottbridge.h.

#define ESC_INVERT_CURRENT   (1<<3)

Definition at line 106 of file uavohottbridge.h.

#define ESC_INVERT_MAXCURRENT   (1<<6)

Definition at line 109 of file uavohottbridge.h.

#define ESC_INVERT_RPM   (1<<4)

Definition at line 107 of file uavohottbridge.h.

#define ESC_INVERT_TEMP1   (1<<1)

Definition at line 104 of file uavohottbridge.h.

#define ESC_INVERT_TEMP2   (1<<2)

Definition at line 105 of file uavohottbridge.h.

#define ESC_INVERT_VOLTAGE   (1<<0)

Definition at line 103 of file uavohottbridge.h.

#define GAM_INVERT2_ALT   (1<<2)

Definition at line 87 of file uavohottbridge.h.

#define GAM_INVERT2_CR1S   (1<<3)

Definition at line 88 of file uavohottbridge.h.

#define GAM_INVERT2_CR3S   (1<<4)

Definition at line 89 of file uavohottbridge.h.

#define GAM_INVERT2_CURRENT   (1<<0)

Definition at line 85 of file uavohottbridge.h.

#define GAM_INVERT2_VOLTAGE   (1<<1)

Definition at line 86 of file uavohottbridge.h.

#define GAM_INVERT_BATT1   (1<<1)

Definition at line 80 of file uavohottbridge.h.

#define GAM_INVERT_BATT2   (1<<2)

Definition at line 81 of file uavohottbridge.h.

#define GAM_INVERT_CELL   (1<<0)

Definition at line 79 of file uavohottbridge.h.

#define GAM_INVERT_FUEL   (1<<5)

Definition at line 84 of file uavohottbridge.h.

#define GAM_INVERT_TEMP1   (1<<3)

Definition at line 82 of file uavohottbridge.h.

#define GAM_INVERT_TEMP2   (1<<4)

Definition at line 83 of file uavohottbridge.h.

#define GPS_INVERT2_POS   (1<<0)

Definition at line 77 of file uavohottbridge.h.

#define GPS_INVERT_ALT   (1<<2)

Definition at line 74 of file uavohottbridge.h.

#define GPS_INVERT_CR1S   (1<<3)

Definition at line 75 of file uavohottbridge.h.

#define GPS_INVERT_CR3S   (1<<4)

Definition at line 76 of file uavohottbridge.h.

#define GPS_INVERT_HDIST   (1<<0)

Definition at line 72 of file uavohottbridge.h.

#define GPS_INVERT_SPEED   (1<<1)

Definition at line 73 of file uavohottbridge.h.

#define HOTT_BINARY_ID   0x80

Definition at line 113 of file uavohottbridge.h.

#define HOTT_BUTTON_DEC   0xEB

Definition at line 127 of file uavohottbridge.h.

#define HOTT_BUTTON_INC   0xED

Definition at line 128 of file uavohottbridge.h.

#define HOTT_BUTTON_NEXT   0xEE

Definition at line 131 of file uavohottbridge.h.

#define HOTT_BUTTON_NIL   0x0F

Definition at line 130 of file uavohottbridge.h.

#define HOTT_BUTTON_PREV   0xE7

Definition at line 132 of file uavohottbridge.h.

#define HOTT_BUTTON_SET   0xE9

Definition at line 129 of file uavohottbridge.h.

#define HOTT_EAM_ID   0x8e

Definition at line 122 of file uavohottbridge.h.

#define HOTT_EAM_TEXT_ID   0xe0

Definition at line 123 of file uavohottbridge.h.

#define HOTT_ESC_ID   0x8c

Definition at line 118 of file uavohottbridge.h.

#define HOTT_ESC_TEXT_ID   0xc0

Definition at line 119 of file uavohottbridge.h.

#define HOTT_GAM_ID   0x8d

Definition at line 120 of file uavohottbridge.h.

#define HOTT_GAM_TEXT_ID   0xd0

Definition at line 121 of file uavohottbridge.h.

#define HOTT_GPS_ID   0x8a

Definition at line 116 of file uavohottbridge.h.

#define HOTT_GPS_TEXT_ID   0xa0

Definition at line 117 of file uavohottbridge.h.

#define HOTT_MAX_MESSAGE_LENGTH   200

Definition at line 51 of file uavohottbridge.h.

#define HOTT_START   0x7c

Definition at line 125 of file uavohottbridge.h.

#define HOTT_STOP   0x7d

Definition at line 126 of file uavohottbridge.h.

#define HOTT_TEXT_ID   0x7f

Definition at line 112 of file uavohottbridge.h.

#define HOTT_TEXT_START   0x7b

Definition at line 124 of file uavohottbridge.h.

#define HOTT_TONE_1000M   50

Definition at line 172 of file uavohottbridge.h.

#define HOTT_TONE_100M   41

Definition at line 165 of file uavohottbridge.h.

#define HOTT_TONE_200M   46

Definition at line 168 of file uavohottbridge.h.

#define HOTT_TONE_20M   37

Definition at line 161 of file uavohottbridge.h.

#define HOTT_TONE_400M   47

Definition at line 169 of file uavohottbridge.h.

#define HOTT_TONE_40M   38

Definition at line 162 of file uavohottbridge.h.

#define HOTT_TONE_42   42

Definition at line 166 of file uavohottbridge.h.

#define HOTT_TONE_43   43

Definition at line 167 of file uavohottbridge.h.

#define HOTT_TONE_51   51

Definition at line 173 of file uavohottbridge.h.

#define HOTT_TONE_52   52

Definition at line 174 of file uavohottbridge.h.

#define HOTT_TONE_600M   48

Definition at line 170 of file uavohottbridge.h.

#define HOTT_TONE_60M   39

Definition at line 163 of file uavohottbridge.h.

#define HOTT_TONE_800M   49

Definition at line 171 of file uavohottbridge.h.

#define HOTT_TONE_80M   40

Definition at line 164 of file uavohottbridge.h.

#define HOTT_TONE_A   1

Definition at line 135 of file uavohottbridge.h.

#define HOTT_TONE_B   2

Definition at line 136 of file uavohottbridge.h.

#define HOTT_TONE_C   3

Definition at line 137 of file uavohottbridge.h.

#define HOTT_TONE_D   4

Definition at line 138 of file uavohottbridge.h.

#define HOTT_TONE_E   5

Definition at line 139 of file uavohottbridge.h.

#define HOTT_TONE_F   6

Definition at line 140 of file uavohottbridge.h.

#define HOTT_TONE_G   7

Definition at line 141 of file uavohottbridge.h.

#define HOTT_TONE_H   8

Definition at line 142 of file uavohottbridge.h.

#define HOTT_TONE_I   9

Definition at line 143 of file uavohottbridge.h.

#define HOTT_TONE_J   10

Definition at line 144 of file uavohottbridge.h.

#define HOTT_TONE_K   11

Definition at line 145 of file uavohottbridge.h.

#define HOTT_TONE_L   12

Definition at line 146 of file uavohottbridge.h.

#define HOTT_TONE_M   13

Definition at line 147 of file uavohottbridge.h.

#define HOTT_TONE_N   14

Definition at line 148 of file uavohottbridge.h.

#define HOTT_TONE_O   15

Definition at line 149 of file uavohottbridge.h.

#define HOTT_TONE_P   16

Definition at line 150 of file uavohottbridge.h.

#define HOTT_TONE_Q   17

Definition at line 151 of file uavohottbridge.h.

#define HOTT_TONE_R   18

Definition at line 152 of file uavohottbridge.h.

#define HOTT_TONE_S   19

Definition at line 153 of file uavohottbridge.h.

#define HOTT_TONE_T   20

Definition at line 154 of file uavohottbridge.h.

#define HOTT_TONE_U   21

Definition at line 155 of file uavohottbridge.h.

#define HOTT_TONE_V   22

Definition at line 156 of file uavohottbridge.h.

#define HOTT_TONE_W   23

Definition at line 157 of file uavohottbridge.h.

#define HOTT_TONE_X   24

Definition at line 158 of file uavohottbridge.h.

#define HOTT_TONE_Y   25

Definition at line 159 of file uavohottbridge.h.

#define HOTT_TONE_Z   26

Definition at line 160 of file uavohottbridge.h.

#define HOTT_VARIO_ID   0x89

Definition at line 114 of file uavohottbridge.h.

#define HOTT_VARIO_TEXT_ID   0x90

Definition at line 115 of file uavohottbridge.h.

#define IDLE_TIME   10

Definition at line 45 of file uavohottbridge.h.

#define M_TO_CM   100

Definition at line 54 of file uavohottbridge.h.

#define MS_TO_KMH   3.6f

Definition at line 55 of file uavohottbridge.h.

#define OFFSET_ALTITUDE   500

Definition at line 59 of file uavohottbridge.h.

#define OFFSET_CLIMBRATE   30000

Definition at line 60 of file uavohottbridge.h.

#define OFFSET_CLIMBRATE3S   120

Definition at line 61 of file uavohottbridge.h.

#define OFFSET_TEMPERATURE   20

Definition at line 62 of file uavohottbridge.h.

#define statussize   21

Definition at line 50 of file uavohottbridge.h.

#define VARIO_INVERT_ALT   (1<<0)

Definition at line 65 of file uavohottbridge.h.

#define VARIO_INVERT_CR10S   (1<<5)

Definition at line 70 of file uavohottbridge.h.

#define VARIO_INVERT_CR1S   (1<<3)

Definition at line 68 of file uavohottbridge.h.

#define VARIO_INVERT_CR3S   (1<<4)

Definition at line 69 of file uavohottbridge.h.

#define VARIO_INVERT_MAX   (1<<1)

Definition at line 66 of file uavohottbridge.h.

#define VARIO_INVERT_MIN   (1<<2)

Definition at line 67 of file uavohottbridge.h.