libosmogsm  1.4.0.160-7619
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

◆ alt

uint8_t alt

◆ confidence

uint8_t confidence

◆ ell_arc

struct gad_raw_ell_arc ell_arc

◆ ell_point

struct gad_raw_ell_point ell_point

◆ ell_point_alt

struct gad_raw_ell_point_alt ell_point_alt

◆ ell_point_alt_unc_ell

struct gad_raw_ell_point_alt_unc_ell ell_point_alt_unc_ell

◆ ell_point_unc_circle

struct gad_raw_ell_point_unc_circle ell_point_unc_circle

◆ ell_point_unc_ellipse

struct gad_raw_ell_point_unc_ellipse ell_point_unc_ellipse

◆ h

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 gsm48_chan_desc::__attribute__(), lapd_acknowledge(), lapd_send_i(), lapd_send_resend(), lapd_t200_cb(), osmo_bssap_le_dec(), and osmo_cbsp_decode().

◆ h_confidence

uint8_t h_confidence

◆ ha_ell_point_alt_unc_ell

struct gad_raw_ha_ell_point_alt_unc_ell ha_ell_point_alt_unc_ell

◆ ha_ell_point_unc_ell

struct gad_raw_ha_ell_point_unc_ell ha_ell_point_unc_ell

◆ incl_angle

uint8_t incl_angle

◆ inner_r

uint8_t inner_r[2]

◆ lat

uint8_t lat

Referenced by osmo_gad_dec_lat().

◆ lon

uint8_t lon

Referenced by osmo_gad_dec_lon().

◆ major_ori

uint8_t major_ori

◆ num_points

uint8_t num_points

◆ ofs_angle

uint8_t ofs_angle

◆ 

struct { ... } point[15]

◆ polygon

struct gad_raw_polygon polygon

◆ spare

uint8_t spare

◆ spare1

uint8_t spare1

◆ spare2

uint8_t spare2

◆ spare3

uint8_t spare3

◆ spare4

uint8_t spare4

◆ type

uint8_t type

type = GAD_TYPE_POLYGON

◆ unc

uint8_t unc

◆ unc_alt

uint8_t unc_alt

◆ unc_r

uint8_t unc_r

◆ unc_semi_major

uint8_t unc_semi_major

◆ unc_semi_minor

uint8_t unc_semi_minor

◆ v_confidence

uint8_t v_confidence