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