libosmogsm 1.9.0.196-9975
Osmocom GSM library
smpp34_osmocom.h
Go to the documentation of this file.
1
4#pragma once
5
6/* Osmocom specific new TLV definitions */
7
8/* ARFCN in 16-bit encoding, highest bit: PCS(1) / DCS(0) */
9#define TLVID_osmo_arfcn 0x2300
10/* Timing advance as uint8_t */
11#define TLVID_osmo_ta 0x2301
12/* Receive signal level (uplink) as int16_t in dBm */
13#define TLVID_osmo_rxlev_ul 0x2302
14/* Receive signal quality (uplink) as uint8_t */
15#define TLVID_osmo_rxqual_ul 0x2303
16/* Receive signal level (downlink) as int16_t in dBm */
17#define TLVID_osmo_rxlev_dl 0x2304
18/* Receive signal quality (downlink) as uint8_t */
19#define TLVID_osmo_rxqual_dl 0x2305
20/* IMEI of the subscriber, if known */
21#define TLVID_osmo_imei 0x2306
22/* MS Layer 1 Transmit Power */
23#define TLVID_osmo_ms_l1_txpwr 0x2307
24/* BTS Layer 1 Transmit Power */
25#define TLVID_osmo_bts_l1_txpwr 0x2308
26
27
28/* DELIVER_SM can contain the following optional Osmocom TLVs:
29 * TLVID_osmo_arfcn
30 * TLVID_osmo_ta
31 * TLVID_osmo_rxlev_ul
32 * TLVID_osmo_rxqual_ul
33 * TLVID_osmo_rxlev_dl
34 * TLVID_osmo_rxqual_dl
35 * TLVID_osmo_imei
36 */
37
38/* SUBMIT_SM_RESP (transaction mode) can contain the following optional
39 * Osmocom TLVs:
40 * TLVID_osmo_arfcn
41 * TLVID_osmo_ta
42 * TLVID_osmo_rxlev_ul
43 * TLVID_osmo_rxqual_ul
44 * TLVID_osmo_rxlev_dl
45 * TLVID_osmo_rxqual_dl
46 * TLVID_osmo_imei
47 */