libosmogsm  1.5.1
Osmocom GSM library
gsm0808_lcs.h
Go to the documentation of this file.
1 
9 /*
10  * (C) 2020 by sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
11  * All Rights Reserved
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License along
24  * with this program; if not, write to the Free Software Foundation, Inc.,
25  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26  *
27  */
28 #pragma once
29 
30 #include <osmocom/gsm/gsm0808.h>
31 #include <osmocom/gsm/bssmap_le.h>
32 
35  struct osmo_mobile_identity imsi;
36 
37  bool more_items;
38 };
40 
44 
46 };
48 
49 int gsm0808_enc_lcs_cause(struct msgb *msg, const struct lcs_cause_ie *lcs_cause);
51 
bssmap_le.h
gad_raw
GAD PDU in network-byte-order according to 3GPP TS 23.032 GAD: Universal Geographical Area Descriptio...
Definition: gsm_23_032.h:239
gsm0808_create_perform_location_response
struct msgb * gsm0808_create_perform_location_response(const struct gsm0808_perform_location_response *params)
Definition: gsm0808.c:1367
msg
uint8_t msg[0]
Definition: gsm_08_08.h:525
lcs_cause
lcs_cause
3GPP TS 49.031 10.13 LCS Cause, also in 3GPP TS 48.008 3.2.2.66, which simply refers to the former.
Definition: gsm_49_031.h:38
gsm0808_perform_location_request::more_items
bool more_items
always set this to false
Definition: gsm0808_lcs.h:37
bssmap_le_location_type
Definition: gsm_49_031.h:145
msgb
gsm0808_create_perform_location_abort
struct msgb * gsm0808_create_perform_location_abort(const struct lcs_cause_ie *lcs_cause)
Definition: gsm0808.c:1414
gsm0808_enc_lcs_cause
int gsm0808_enc_lcs_cause(struct msgb *msg, const struct lcs_cause_ie *lcs_cause)
Definition: gsm0808.c:1404
lcs_cause_ie
3GPP TS 49.031 10.13 LCS Cause, also in 3GPP TS 48.008 3.2.2.66, which simply refers to the former.
Definition: gsm_49_031.h:58
gsm0808_perform_location_request::location_type
struct bssmap_le_location_type location_type
Definition: gsm0808_lcs.h:34
gsm0808_perform_location_response::location_estimate
union gad_raw location_estimate
Definition: gsm0808_lcs.h:43
gsm0808.h
gsm0808_perform_location_response
Definition: gsm0808_lcs.h:41
gsm0808_create_perform_location_request
struct msgb * gsm0808_create_perform_location_request(const struct gsm0808_perform_location_request *params)
Definition: gsm0808.c:1333
gsm0808_perform_location_request::imsi
struct osmo_mobile_identity imsi
Definition: gsm0808_lcs.h:35
gsm0808_perform_location_request
Definition: gsm0808_lcs.h:33
gsm0808_perform_location_response::location_estimate_present
bool location_estimate_present
Definition: gsm0808_lcs.h:42