blob: 7c72ac8421ce854d56a28f9d7dc2d7e27ed3c5c6 [file] [log] [blame]
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02001/*! \file smpp34_osmocom.h
2 * Osmocom SMPP extensions. */
3
Sylvain Munaut12ba7782014-06-16 10:13:40 +02004#pragma once
Harald Welte533f63f2013-03-13 15:15:50 +01005
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 */