53#if OSMO_IS_LITTLE_ENDIAN
56#elif OSMO_IS_BIG_ENDIAN
58 uint8_t
type:4, spare:4;
69#if OSMO_IS_LITTLE_ENDIAN
75#elif OSMO_IS_BIG_ENDIAN
80 uint8_t spare2:1, unc:7;
85#if OSMO_IS_LITTLE_ENDIAN
89 uint8_t unc_semi_major:7,
91 uint8_t unc_semi_minor:7,
96#elif OSMO_IS_BIG_ENDIAN
101 uint8_t spare1:1, unc_semi_major:7;
102 uint8_t spare2:1, unc_semi_minor:7;
104 uint8_t spare3:1, confidence:7;
110#if OSMO_IS_LITTLE_ENDIAN
111 uint8_t num_points:4;
113#elif OSMO_IS_BIG_ENDIAN
115 uint8_t
type:4, num_points:4;
132#if OSMO_IS_LITTLE_ENDIAN
137 uint8_t unc_semi_major:7,
139 uint8_t unc_semi_minor:7,
144 uint8_t confidence:7,
146#elif OSMO_IS_BIG_ENDIAN
152 uint8_t spare1:1, unc_semi_major:7;
153 uint8_t spare2:1, unc_semi_minor:7;
155 uint8_t spare3:1, unc_alt:7;
156 uint8_t spare4:1, confidence:7;
161#if OSMO_IS_LITTLE_ENDIAN
170 uint8_t confidence:7,
172#elif OSMO_IS_BIG_ENDIAN
178 uint8_t spare1:1, unc_r:7;
181 uint8_t spare2:1, confidence:7;
186#if OSMO_IS_LITTLE_ENDIAN
191 uint8_t unc_semi_major;
192 uint8_t unc_semi_minor;
194 uint8_t confidence:7,
196#elif OSMO_IS_BIG_ENDIAN
202 uint8_t unc_semi_major;
203 uint8_t unc_semi_minor;
205 uint8_t spare1:1, confidence:7;
210#if OSMO_IS_LITTLE_ENDIAN
215 uint8_t unc_semi_major;
216 uint8_t unc_semi_minor;
218 uint8_t h_confidence:7,
221 uint8_t v_confidence:7,
223#elif OSMO_IS_BIG_ENDIAN
229 uint8_t unc_semi_major;
230 uint8_t unc_semi_minor;
232 uint8_t spare1:1, h_confidence:7;
234 uint8_t spare2:1, v_confidence:7;
gad_type
Definition: gsm_23_032.h:32
struct gad_raw_head __attribute__((packed))
@ GAD_TYPE_POLYGON
Definition: gsm_23_032.h:39
@ GAD_TYPE_ELL_POINT_ALT
Ellipsoid point with altitude.
Definition: gsm_23_032.h:41
@ GAD_TYPE_HA_ELL_POINT_UNC_ELLIPSE
High accuracy ellipsoid point with uncertainty ellipse.
Definition: gsm_23_032.h:47
@ GAD_TYPE_ELL_POINT
Ellipsoid point.
Definition: gsm_23_032.h:34
@ GAD_TYPE_ELL_POINT_ALT_UNC_ELL
Ellipsoid point with altitude and uncertainty ellipsoid.
Definition: gsm_23_032.h:43
@ GAD_TYPE_ELL_POINT_UNC_CIRCLE
Ellipsoid point with uncertainty circle.
Definition: gsm_23_032.h:36
@ GAD_TYPE_HA_ELL_POINT_ALT_UNC_ELL
High accuracy ellipsoid point with altitude and uncertainty ellipsoid.
Definition: gsm_23_032.h:49
@ GAD_TYPE_ELL_POINT_UNC_ELLIPSE
Ellipsoid point with uncertainty ellipse.
Definition: gsm_23_032.h:38
@ GAD_TYPE_ELL_ARC
Ellipsoid arc.
Definition: gsm_23_032.h:45
uint8_t type
Definition: gsm_04_08_gprs.h:7
uint8_t lon[3]
Definition: gsm_23_032.h:2
uint8_t lat[3]
Definition: gsm_23_032.h:1
struct gad_raw_head h
type = GAD_TYPE_ELL_POINT
Definition: gsm_23_032.h:0
uint8_t alt[2]
Definition: gsm_23_032.h:3
Definition: gsm_23_032.h:160
Definition: gsm_23_032.h:131
Definition: gsm_23_032.h:124
uint8_t lon[3]
Definition: gsm_23_032.h:127
uint8_t alt[2]
Definition: gsm_23_032.h:128
uint8_t lat[3]
Definition: gsm_23_032.h:126
struct gad_raw_head h
type = GAD_TYPE_ELL_POINT_ALT
Definition: gsm_23_032.h:125
Definition: gsm_23_032.h:68
Definition: gsm_23_032.h:84
Definition: gsm_23_032.h:62
uint8_t lat[3]
Definition: gsm_23_032.h:64
struct gad_raw_head h
type = GAD_TYPE_ELL_POINT
Definition: gsm_23_032.h:63
uint8_t lon[3]
Definition: gsm_23_032.h:65
Definition: gsm_23_032.h:209
Definition: gsm_23_032.h:185
Definition: gsm_23_032.h:52
Definition: gsm_23_032.h:108
struct gad_raw_polygon::@111 h
struct gad_raw_polygon::@112 point[15]
uint8_t lat[3]
Definition: gsm_23_032.h:119
uint8_t lon[3]
Definition: gsm_23_032.h:120
GAD PDU in network-byte-order according to 3GPP TS 23.032 GAD: Universal Geographical Area Descriptio...
Definition: gsm_23_032.h:239
struct gad_raw_ha_ell_point_unc_ell ha_ell_point_unc_ell
Definition: gsm_23_032.h:248
struct gad_raw_ell_point_alt_unc_ell ell_point_alt_unc_ell
Definition: gsm_23_032.h:246
struct gad_raw_ell_point_unc_ellipse ell_point_unc_ellipse
Definition: gsm_23_032.h:243
struct gad_raw_polygon polygon
Definition: gsm_23_032.h:244
struct gad_raw_ell_point ell_point
Definition: gsm_23_032.h:241
struct gad_raw_ell_arc ell_arc
Definition: gsm_23_032.h:247
struct gad_raw_ell_point_unc_circle ell_point_unc_circle
Definition: gsm_23_032.h:242
struct gad_raw_ell_point_alt ell_point_alt
Definition: gsm_23_032.h:245
struct gad_raw_head h
Definition: gsm_23_032.h:240
struct gad_raw_ha_ell_point_alt_unc_ell ha_ell_point_alt_unc_ell
Definition: gsm_23_032.h:249