libosmogsm  1.4.0.171-b3b83
Osmocom GSM library
#include <stdint.h>
#include <osmocom/core/endian.h>

Go to the source code of this file.

Data Structures

struct  gad_raw_head
 
struct  gad_raw_ell_point
 
struct  gad_raw_ell_point_unc_circle
 
struct  gad_raw_ell_point_unc_ellipse
 
struct  gad_raw_polygon
 
struct  gad_raw_ell_point_alt
 
struct  gad_raw_ell_point_alt_unc_ell
 
struct  gad_raw_ell_arc
 
struct  gad_raw_ha_ell_point_unc_ell
 
struct  gad_raw_ha_ell_point_alt_unc_ell
 
union  gad_raw
 GAD PDU in network-byte-order according to 3GPP TS 23.032 GAD: Universal Geographical Area Description. More...
 

Enumerations

enum  gad_type {
  GAD_TYPE_ELL_POINT = 0,
  GAD_TYPE_ELL_POINT_UNC_CIRCLE = 1,
  GAD_TYPE_ELL_POINT_UNC_ELLIPSE = 3,
  GAD_TYPE_POLYGON = 5,
  GAD_TYPE_ELL_POINT_ALT = 8,
  GAD_TYPE_ELL_POINT_ALT_UNC_ELL = 9,
  GAD_TYPE_ELL_ARC = 10,
  GAD_TYPE_HA_ELL_POINT_UNC_ELLIPSE = 11,
  GAD_TYPE_HA_ELL_POINT_ALT_UNC_ELL = 12
}
 

Functions

struct gad_raw_head __attribute__ ((packed))
 

Variables

uint8_t spare
 
uint8_t type
 type = GAD_TYPE_POLYGON More...
 
struct gad_raw_head h
 type = GAD_TYPE_ELL_POINT More...
 
uint8_t lat [3]
 
uint8_t lon [3]
 
uint8_t unc
 
uint8_t spare2
 
uint8_t unc_semi_major
 
uint8_t spare1
 
uint8_t unc_semi_minor
 
uint8_t major_ori
 
uint8_t confidence
 
uint8_t spare3
 
struct {
   uint8_t   lat [3]
 
   uint8_t   lon [3]
 
point [15]
 
uint8_t alt [2]
 
uint8_t unc_alt
 
uint8_t spare4
 
uint8_t inner_r [2]
 
uint8_t unc_r
 
uint8_t ofs_angle
 
uint8_t incl_angle
 
uint8_t h_confidence
 
uint8_t v_confidence
 
struct gad_raw_ell_point ell_point
 
struct gad_raw_ell_point_unc_circle ell_point_unc_circle
 
struct gad_raw_ell_point_unc_ellipse ell_point_unc_ellipse
 
struct gad_raw_polygon polygon
 
struct gad_raw_ell_point_alt ell_point_alt
 
struct gad_raw_ell_point_alt_unc_ell ell_point_alt_unc_ell
 
struct gad_raw_ell_arc ell_arc
 
struct gad_raw_ha_ell_point_unc_ell ha_ell_point_unc_ell
 
struct gad_raw_ha_ell_point_alt_unc_ell ha_ell_point_alt_unc_ell
 

Variable Documentation

uint8_t alt
uint8_t confidence
struct gad_raw_ell_arc ell_arc
struct gad_raw_ell_point ell_point
struct gad_raw_ell_point_alt ell_point_alt
struct gad_raw_ell_point_alt_unc_ell ell_point_alt_unc_ell
struct gad_raw_ell_point_unc_circle ell_point_unc_circle
struct gad_raw_ell_point_unc_ellipse ell_point_unc_ellipse
struct gad_raw_head h

type = GAD_TYPE_ELL_POINT

type = GAD_TYPE_HA_ELL_POINT_ALT_UNC_ELL

type = GAD_TYPE_HA_ELL_POINT_UNC_ELLIPSE

type = GAD_TYPE_ELL_ARC

type = GAD_TYPE_ELL_POINT_ALT_UNC_ELL

type = GAD_TYPE_ELL_POINT_ALT

type = GAD_TYPE_ELL_POINT_UNC_ELLIPSE

type = GAD_TYPE_ELL_POINT_UNC_CIRCLE

Referenced by lapd_acknowledge(), lapd_send_i(), lapd_send_resend(), lapd_t200_cb(), osmo_bssap_le_dec(), osmo_bssmap_le_msgt(), osmo_cbsp_decode(), and osmo_cbsp_decoded_alloc().

uint8_t h_confidence
struct gad_raw_ha_ell_point_alt_unc_ell ha_ell_point_alt_unc_ell
struct gad_raw_ha_ell_point_unc_ell ha_ell_point_unc_ell
uint8_t incl_angle
uint8_t inner_r[2]
uint8_t lat

Referenced by osmo_gad_dec_lat().

uint8_t lon

Referenced by osmo_gad_dec_lon().

uint8_t major_ori
uint8_t num_points
uint8_t ofs_angle
struct { ... } point[15]
struct gad_raw_polygon polygon
uint8_t spare
uint8_t spare1
uint8_t spare2
uint8_t spare3
uint8_t spare4
uint8_t type

type = GAD_TYPE_POLYGON

uint8_t unc
uint8_t unc_alt
uint8_t unc_r
uint8_t unc_semi_major
uint8_t unc_semi_minor
uint8_t v_confidence