libosmogsm  0.9.3
Osmocom GSM library
include/osmocom/gsm/protocol/smpp34_osmocom.h
00001 #pragma once
00002 /* Osmocom SMPP extensions */
00003 
00004 /* Osmocom specific new TLV definitions */
00005 
00006 /* ARFCN in 16-bit encoding, highest bit: PCS(1) / DCS(0) */
00007 #define TLVID_osmo_arfcn        0x2300
00008 /* Timing advance as uint8_t */
00009 #define TLVID_osmo_ta           0x2301
00010 /* Receive signal level (uplink) as int16_t in dBm */
00011 #define TLVID_osmo_rxlev_ul     0x2302
00012 /* Receive signal quality (uplink) as uint8_t */
00013 #define TLVID_osmo_rxqual_ul    0x2303
00014 /* Receive signal level (downlink) as int16_t in dBm */
00015 #define TLVID_osmo_rxlev_dl     0x2304
00016 /* Receive signal quality (downlink) as uint8_t */
00017 #define TLVID_osmo_rxqual_dl    0x2305
00018 /* IMEI of the subscriber, if known */
00019 #define TLVID_osmo_imei         0x2306
00020 /* MS Layer 1 Transmit Power */
00021 #define TLVID_osmo_ms_l1_txpwr  0x2307
00022 /* BTS Layer 1 Transmit Power */
00023 #define TLVID_osmo_bts_l1_txpwr 0x2308
00024 
00025 
00026 /* DELIVER_SM can contain the following optional Osmocom TLVs:
00027  *      TLVID_osmo_arfcn
00028  *      TLVID_osmo_ta
00029  *      TLVID_osmo_rxlev_ul
00030  *      TLVID_osmo_rxqual_ul
00031  *      TLVID_osmo_rxlev_dl
00032  *      TLVID_osmo_rxqual_dl
00033  *      TLVID_osmo_imei
00034  */
00035 
00036 /* SUBMIT_SM_RESP (transaction mode) can contain the following optional
00037  * Osmocom TLVs:
00038  *      TLVID_osmo_arfcn
00039  *      TLVID_osmo_ta
00040  *      TLVID_osmo_rxlev_ul
00041  *      TLVID_osmo_rxqual_ul
00042  *      TLVID_osmo_rxlev_dl
00043  *      TLVID_osmo_rxqual_dl
00044  *      TLVID_osmo_imei
00045  */