Telematics SDK - Interface Specification  v1.33.56
telux::data Namespace Reference

Namespaces

 net
 

Data Structures

struct  DataCallEndReason
 
union  DataCallEndReason.__unnamed__
 
struct  DataCallStats
 
class  DataFactory
 DataFactory is the central factory to create all data classes. More...
 
class  DataProfile
 DataProfile class represents single data profile on the modem. More...
 
struct  DataRestrictMode
 
struct  EspInfo
 
struct  FlowDataRate
 
struct  IcmpInfo
 
class  IDataCall
 Represents single established data call on the device. More...
 
class  IDataConnectionListener
 
class  IDataConnectionManager
 IDataConnectionManager is a primary interface for cellular connectivity This interface provides APIs for start and stop data call connections, get data call information and listener for monitoring data calls. It also provides interface to Subsystem Restart events by registering as listener. Notifications will be received when modem is ready/not ready. More...
 
class  IDataCreateProfileCallback
 
class  IDataFilterListener
 Listener class for listening to filtering mode notifications, like Data filtering mode change. Client need to implement these methods. The methods in listener can be invoked from multiple threads. So the client needs to make sure that the implementation is thread-safe. More...
 
class  IDataFilterManager
 IDataFilterManager class provides interface to enable/disable the data restrict filters and register for data restrict filter. The filtering can be done at any time. One such use case is to do it when we want the AP to suspend so that we are not waking up the AP due to spurious incoming messages. Also to make sure the DataRestrict mode is enabled. More...
 
class  IDataProfileCallback
 
class  IDataProfileListCallback
 Interface for getting list of DataProfile using callback. Client needs to implement this interface to get single shot responses for commands like get profile list and query profile. More...
 
class  IDataProfileListener
 Listener class for getting profile change notification. More...
 
class  IDataProfileManager
 
class  IEspFilter
 This class represents a IP Filter for the ESP, get the new instance from telux::data::DataFactory. More...
 
class  IIcmpFilter
 This class represents a IP Filter for the ICMP, get the new instance from telux::data::DataFactory. More...
 
class  IIpFilter
 A IP filter class to add specific filters like what data will be allowed from the modem to the application processor. Only data packets that match the filter will be sent to the apps processor. Also used to configure Firewall rules. More...
 
struct  IpAddrInfo
 
struct  IpFamilyInfo
 
struct  IPv4Info
 
struct  IPv6Info
 
class  IServingSystemListener
 Listener class for data serving system change notification. More...
 
class  IServingSystemManager
 Serving System Manager class provides APIs related to the serving system for data functionality. For example, ability to query or be notified about the state of the platform's WWAN PS data serving information. More...
 
class  ITcpFilter
 This class represents a IP Filter for the TCP, get the new instance from telux::data::DataFactory. More...
 
class  IUdpFilter
 This class represents a IP Filter for the UDP, get the new instance from telux::data::DataFactory. More...
 
struct  PortInfo
 
struct  ProfileParams
 
struct  QosFilterRule
 
struct  QosIPFlowInfo
 
struct  RoamingStatus
 Roaming Status. More...
 
struct  ServiceStatus
 Data Service Status Info. More...
 
struct  TcpInfo
 
struct  TftChangeInfo
 
struct  TrafficFlowTemplate
 
struct  UdpInfo
 
struct  VlanConfig
 

Typedefs

using DataCallResponseCb = std::function< void(const std::shared_ptr< IDataCall > &dataCall, telux::common::ErrorCode error)>
 
using StatisticsResponseCb = std::function< void(const DataCallStats dataStats, telux::common::ErrorCode error)>
 
using DataCallListResponseCb = std::function< void(const std::vector< std::shared_ptr< IDataCall >> &dataCallList, telux::common::ErrorCode error)>
 
using TrafficFlowTemplateCb = std::function< void(const std::vector< std::shared_ptr< TrafficFlowTemplate >> &tft, telux::common::ErrorCode error)>
 
using IpProtocol = uint8_t
 
using QosFlowId = uint32_t
 
using QosIPFlowMask = std::bitset< 16 >
 
using QosFlowMask = std::bitset< 16 >
 
using DataRestrictModeCb = std::function< void(DataRestrictMode mode, telux::common::ErrorCode error)>
 
using TypeOfService = uint8_t
 
using TrafficClass = uint8_t
 
using FlowLabel = uint32_t
 
using RequestServiceStatusResponseCb = std::function< void(ServiceStatus serviceStatus, telux::common::ErrorCode error)>
 
using RequestRoamingStatusResponseCb = std::function< void(RoamingStatus roamingStatus, telux::common::ErrorCode error)>
 

Enumerations

enum  IpFamilyType { IpFamilyType::UNKNOWN = -1, IpFamilyType::IPV4 = 0x04, IpFamilyType::IPV6 = 0x06, IpFamilyType::IPV4V6 = 0x0A }
 
enum  TechPreference { TechPreference::UNKNOWN = -1, TechPreference::TP_3GPP, TechPreference::TP_3GPP2, TechPreference::TP_ANY }
 
enum  AuthProtocolType { AuthProtocolType::AUTH_NONE = 0, AuthProtocolType::AUTH_PAP = 1, AuthProtocolType::AUTH_CHAP = 2, AuthProtocolType::AUTH_PAP_CHAP = 3 }
 
enum  DataRestrictModeType { DataRestrictModeType::UNKNOWN = -1, DataRestrictModeType::DISABLE, DataRestrictModeType::ENABLE }
 
enum  DataCallStatus {
  DataCallStatus::INVALID = 0x00, DataCallStatus::NET_CONNECTED, DataCallStatus::NET_NO_NET, DataCallStatus::NET_IDLE,
  DataCallStatus::NET_CONNECTING, DataCallStatus::NET_DISCONNECTING, DataCallStatus::NET_RECONFIGURED, DataCallStatus::NET_NEWADDR,
  DataCallStatus::NET_DELADDR
}
 
enum  DataBearerTechnology {
  DataBearerTechnology::UNKNOWN, DataBearerTechnology::CDMA_1X, DataBearerTechnology::EVDO_REV0, DataBearerTechnology::EVDO_REVA,
  DataBearerTechnology::EVDO_REVB, DataBearerTechnology::EHRPD, DataBearerTechnology::FMC, DataBearerTechnology::HRPD,
  DataBearerTechnology::BEARER_TECH_3GPP2_WLAN, DataBearerTechnology::WCDMA, DataBearerTechnology::GPRS, DataBearerTechnology::HSDPA,
  DataBearerTechnology::HSUPA, DataBearerTechnology::EDGE, DataBearerTechnology::LTE, DataBearerTechnology::HSDPA_PLUS,
  DataBearerTechnology::DC_HSDPA_PLUS, DataBearerTechnology::HSPA, DataBearerTechnology::BEARER_TECH_64_QAM, DataBearerTechnology::TDSCDMA,
  DataBearerTechnology::GSM, DataBearerTechnology::BEARER_TECH_3GPP_WLAN, DataBearerTechnology::BEARER_TECH_5G
}
 
enum  EndReasonType {
  EndReasonType::CE_UNKNOWN = 0xFF, EndReasonType::CE_MOBILE_IP = 0x01, EndReasonType::CE_INTERNAL = 0x02, EndReasonType::CE_CALL_MANAGER_DEFINED = 0x03,
  EndReasonType::CE_3GPP_SPEC_DEFINED = 0x06, EndReasonType::CE_PPP = 0x07, EndReasonType::CE_EHRPD = 0x08, EndReasonType::CE_IPV6 = 0x09,
  EndReasonType::CE_HANDOFF = 0x0C
}
 
enum  MobileIpReasonCode {
  MobileIpReasonCode::CE_MIP_FA_ERR_REASON_UNSPECIFIED = 64, MobileIpReasonCode::CE_MIP_FA_ERR_ADMINISTRATIVELY_PROHIBITED = 65, MobileIpReasonCode::CE_MIP_FA_ERR_INSUFFICIENT_RESOURCES = 66, MobileIpReasonCode::CE_MIP_FA_ERR_MOBILE_NODE_AUTHENTICATION_FAILURE = 67,
  MobileIpReasonCode::CE_MIP_FA_ERR_HA_AUTHENTICATION_FAILURE = 68, MobileIpReasonCode::CE_MIP_FA_ERR_REQUESTED_LIFETIME_TOO_LONG = 69, MobileIpReasonCode::CE_MIP_FA_ERR_MALFORMED_REQUEST = 70, MobileIpReasonCode::CE_MIP_FA_ERR_MALFORMED_REPLY = 71,
  MobileIpReasonCode::CE_MIP_FA_ERR_ENCAPSULATION_UNAVAILABLE = 72, MobileIpReasonCode::CE_MIP_FA_ERR_VJHC_UNAVAILABLE = 73, MobileIpReasonCode::CE_MIP_FA_ERR_REVERSE_TUNNEL_UNAVAILABLE = 74, MobileIpReasonCode::CE_MIP_FA_ERR_REVERSE_TUNNEL_IS_MANDATORY_AND_T_BIT_NOT_SET = 75,
  MobileIpReasonCode::CE_MIP_FA_ERR_DELIVERY_STYLE_NOT_SUPPORTED = 79, MobileIpReasonCode::CE_MIP_FA_ERR_MISSING_NAI = 97, MobileIpReasonCode::CE_MIP_FA_ERR_MISSING_HA = 98, MobileIpReasonCode::CE_MIP_FA_ERR_MISSING_HOME_ADDR = 99,
  MobileIpReasonCode::CE_MIP_FA_ERR_UNKNOWN_CHALLENGE = 104, MobileIpReasonCode::CE_MIP_FA_ERR_MISSING_CHALLENGE = 105, MobileIpReasonCode::CE_MIP_FA_ERR_STALE_CHALLENGE = 106, MobileIpReasonCode::CE_MIP_HA_ERR_REASON_UNSPECIFIED = 128,
  MobileIpReasonCode::CE_MIP_HA_ERR_ADMINISTRATIVELY_PROHIBITED = 129, MobileIpReasonCode::CE_MIP_HA_ERR_INSUFFICIENT_RESOURCES = 130, MobileIpReasonCode::CE_MIP_HA_ERR_MOBILE_NODE_AUTHENTICATION_FAILURE = 131, MobileIpReasonCode::CE_MIP_HA_ERR_FA_AUTHENTICATION_FAILURE = 132,
  MobileIpReasonCode::CE_MIP_HA_ERR_REGISTRATION_ID_MISMATCH = 133, MobileIpReasonCode::CE_MIP_HA_ERR_MALFORMED_REQUEST = 134, MobileIpReasonCode::CE_MIP_HA_ERR_UNKNOWN_HA_ADDR = 136, MobileIpReasonCode::CE_MIP_HA_ERR_REVERSE_TUNNEL_UNAVAILABLE = 137,
  MobileIpReasonCode::CE_MIP_HA_ERR_REVERSE_TUNNEL_IS_MANDATORY_AND_T_BIT_NOT_SET = 138, MobileIpReasonCode::CE_MIP_HA_ERR_ENCAPSULATION_UNAVAILABLE = 139, MobileIpReasonCode::CE_MIP_ERR_REASON_UNKNOWN = -1
}
 
enum  InternalReasonCode {
  InternalReasonCode::CE_RETRY = 1, InternalReasonCode::CE_INTERNAL_ERROR = 201, InternalReasonCode::CE_CALL_ENDED = 202, InternalReasonCode::CE_INTERNAL_UNKNOWN_CAUSE_CODE = 203,
  InternalReasonCode::CE_UNKNOWN_CAUSE_CODE = 204, InternalReasonCode::CE_CLOSE_IN_PROGRESS = 205, InternalReasonCode::CE_NW_INITIATED_TERMINATION = 206, InternalReasonCode::CE_APP_PREEMPTED = 207,
  InternalReasonCode::CE_ERR_PDN_IPV4_CALL_DISALLOWED = 208, InternalReasonCode::CE_ERR_PDN_IPV4_CALL_THROTTLED = 209, InternalReasonCode::CE_ERR_PDN_IPV6_CALL_DISALLOWED = 210, InternalReasonCode::CE_ERR_PDN_IPV6_CALL_THROTTLED = 211,
  InternalReasonCode::CE_MODEM_RESTART = 212, InternalReasonCode::CE_PDP_PPP_NOT_SUPPORTED = 213, InternalReasonCode::CE_UNPREFERRED_RAT = 214, InternalReasonCode::CE_PHYS_LINK_CLOSE_IN_PROGRESS = 215,
  InternalReasonCode::CE_APN_PENDING_HANDOVER = 216, InternalReasonCode::CE_PROFILE_BEARER_INCOMPATIBLE = 217, InternalReasonCode::CE_MMGSDI_CARD_EVT = 218, InternalReasonCode::CE_LPM_OR_PWR_DOWN = 219,
  InternalReasonCode::CE_APN_DISABLED = 220, InternalReasonCode::CE_MPIT_EXPIRED = 221, InternalReasonCode::CE_IPV6_ADDR_TRANSFER_FAILED = 222, InternalReasonCode::CE_TRAT_SWAP_FAILED = 223,
  InternalReasonCode::CE_EHRPD_TO_HRPD_FALLBACK = 224, InternalReasonCode::CE_MANDATORY_APN_DISABLED = 225, InternalReasonCode::CE_MIP_CONFIG_FAILURE = 226, InternalReasonCode::CE_INTERNAL_PDN_INACTIVITY_TIMER_EXPIRED = 227,
  InternalReasonCode::CE_MAX_V4_CONNECTIONS = 228, InternalReasonCode::CE_MAX_V6_CONNECTIONS = 229, InternalReasonCode::CE_APN_MISMATCH = 230, InternalReasonCode::CE_IP_VERSION_MISMATCH = 231,
  InternalReasonCode::CE_DUN_CALL_DISALLOWED = 232, InternalReasonCode::CE_INVALID_PROFILE = 233, InternalReasonCode::CE_INTERNAL_EPC_NONEPC_TRANSITION = 234, InternalReasonCode::CE_INVALID_PROFILE_ID = 235,
  InternalReasonCode::CE_INTERNAL_CALL_ALREADY_PRESENT = 236, InternalReasonCode::CE_IFACE_IN_USE = 237, InternalReasonCode::CE_IP_PDP_MISMATCH = 238, InternalReasonCode::CE_APN_DISALLOWED_ON_ROAMING = 239,
  InternalReasonCode::CE_APN_PARAM_CHANGE = 240, InternalReasonCode::CE_IFACE_IN_USE_CFG_MATCH = 241, InternalReasonCode::CE_NULL_APN_DISALLOWED = 242, InternalReasonCode::CE_THERMAL_MITIGATION = 243,
  InternalReasonCode::CE_SUBS_ID_MISMATCH = 244, InternalReasonCode::CE_DATA_SETTINGS_DISABLED = 245, InternalReasonCode::CE_DATA_ROAMING_SETTINGS_DISABLED = 246, InternalReasonCode::CE_APN_FORMAT_INVALID = 247,
  InternalReasonCode::CE_DDS_CALL_ABORT = 248, InternalReasonCode::CE_VALIDATION_FAILURE = 249, InternalReasonCode::CE_PROFILES_NOT_COMPATIBLE = 251, InternalReasonCode::CE_NULL_RESOLVED_APN_NO_MATCH = 252,
  InternalReasonCode::CE_INVALID_APN_NAME = 253
}
 
enum  CallManagerReasonCode {
  CallManagerReasonCode::CE_CDMA_LOCK = 500, CallManagerReasonCode::CE_INTERCEPT = 501, CallManagerReasonCode::CE_REORDER = 502, CallManagerReasonCode::CE_REL_SO_REJ = 503,
  CallManagerReasonCode::CE_INCOM_CALL = 504, CallManagerReasonCode::CE_ALERT_STOP = 505, CallManagerReasonCode::CE_ACTIVATION = 506, CallManagerReasonCode::CE_MAX_ACCESS_PROBE = 507,
  CallManagerReasonCode::CE_CCS_NOT_SUPPORTED_BY_BS = 508, CallManagerReasonCode::CE_NO_RESPONSE_FROM_BS = 509, CallManagerReasonCode::CE_REJECTED_BY_BS = 510, CallManagerReasonCode::CE_INCOMPATIBLE = 511,
  CallManagerReasonCode::CE_ALREADY_IN_TC = 512, CallManagerReasonCode::CE_USER_CALL_ORIG_DURING_GPS = 513, CallManagerReasonCode::CE_USER_CALL_ORIG_DURING_SMS = 514, CallManagerReasonCode::CE_NO_CDMA_SRV = 515,
  CallManagerReasonCode::CE_MC_ABORT = 516, CallManagerReasonCode::CE_PSIST_NG = 517, CallManagerReasonCode::CE_UIM_NOT_PRESENT = 518, CallManagerReasonCode::CE_RETRY_ORDER = 519,
  CallManagerReasonCode::CE_ACCESS_BLOCK = 520, CallManagerReasonCode::CEACCESS_BLOCK_ALL = 521, CallManagerReasonCode::CE_IS707B_MAX_ACC = 522, CallManagerReasonCode::CE_THERMAL_EMERGENCY = 523,
  CallManagerReasonCode::CE_CALL_ORIG_THROTTLED = 524, CallManagerReasonCode::CE_USER_CALL_ORIG_DURING_VOICE_CALL = 535, CallManagerReasonCode::CE_CONF_FAILED = 1000, CallManagerReasonCode::CE_INCOM_REJ = 1001,
  CallManagerReasonCode::CE_NEW_NO_GW_SRV = 1002, CallManagerReasonCode::CE_NEW_NO_GPRS_CONTEXT = 1003, CallManagerReasonCode::CE_NEW_ILLEGAL_MS = 1004, CallManagerReasonCode::CE_NEW_ILLEGAL_ME = 1005,
  CallManagerReasonCode::CE_NEW_GPRS_SERVICES_AND_NON_GPRS_SERVICES_NOT_ALLOWED = 1006, CallManagerReasonCode::CE_NEW_GPRS_SERVICES_NOT_ALLOWED = 1007, CallManagerReasonCode::CE_NEW_MS_IDENTITY_CANNOT_BE_DERIVED_BY_THE_NETWORK = 1008, CallManagerReasonCode::CE_NEW_IMPLICITLY_DETACHED = 1009,
  CallManagerReasonCode::CE_NEW_PLMN_NOT_ALLOWED = 1010, CallManagerReasonCode::CE_NEW_LA_NOT_ALLOWED = 1011, CallManagerReasonCode::CE_NEW_GPRS_SERVICES_NOT_ALLOWED_IN_THIS_PLMN = 1012, CallManagerReasonCode::CE_NEW_PDP_DUPLICATE = 1013,
  CallManagerReasonCode::CE_NEW_UE_RAT_CHANGE = 1014, CallManagerReasonCode::CE_NEW_CONGESTION = 1015, CallManagerReasonCode::CE_NEW_NO_PDP_CONTEXT_ACTIVATED = 1016, CallManagerReasonCode::CE_NEW_ACCESS_CLASS_DSAC_REJECTION = 1017,
  CallManagerReasonCode::CE_PDP_ACTIVATE_MAX_RETRY_FAILED = 1018, CallManagerReasonCode::CE_RAB_FAILURE = 1019, CallManagerReasonCode::CE_ESM_UNKNOWN_EPS_BEARER_CONTEXT = 1025, CallManagerReasonCode::CE_DRB_RELEASED_AT_RRC = 1026,
  CallManagerReasonCode::CE_NAS_SIG_CONN_RELEASED = 1027, CallManagerReasonCode::CE_REASON_EMM_DETACHED = 1028, CallManagerReasonCode::CE_EMM_ATTACH_FAILED = 1029, CallManagerReasonCode::CE_EMM_ATTACH_STARTED = 1030,
  CallManagerReasonCode::CE_LTE_NAS_SERVICE_REQ_FAILED = 1031, CallManagerReasonCode::CE_ESM_ACTIVE_DEDICATED_BEARER_REACTIVATED_BY_NW = 1032, CallManagerReasonCode::CE_ESM_LOWER_LAYER_FAILURE = 1033, CallManagerReasonCode::CE_ESM_SYNC_UP_WITH_NW = 1034,
  CallManagerReasonCode::CE_ESM_NW_ACTIVATED_DED_BEARER_WITH_ID_OF_DEF_BEARER = 1035, CallManagerReasonCode::CE_ESM_BAD_OTA_MESSAGE = 1036, CallManagerReasonCode::CE_ESM_DS_REJECTED_THE_CALL = 1037, CallManagerReasonCode::CE_ESM_CONTEXT_TRANSFERED_DUE_TO_IRAT = 1038,
  CallManagerReasonCode::CE_DS_EXPLICIT_DEACT = 1039, CallManagerReasonCode::CE_ESM_LOCAL_CAUSE_NONE = 1040, CallManagerReasonCode::CE_LTE_NAS_SERVICE_REQ_FAILED_NO_THROTTLE = 1041, CallManagerReasonCode::CE_ACL_FAILURE = 1042,
  CallManagerReasonCode::CE_LTE_NAS_SERVICE_REQ_FAILED_DS_DISALLOW = 1043, CallManagerReasonCode::CE_EMM_T3417_EXPIRED = 1044, CallManagerReasonCode::CE_EMM_T3417_EXT_EXPIRED = 1045, CallManagerReasonCode::CE_LRRC_UL_DATA_CNF_FAILURE_TXN = 1046,
  CallManagerReasonCode::CE_LRRC_UL_DATA_CNF_FAILURE_HO = 1047, CallManagerReasonCode::CE_LRRC_UL_DATA_CNF_FAILURE_CONN_REL = 1048, CallManagerReasonCode::CE_LRRC_UL_DATA_CNF_FAILURE_RLF = 1049, CallManagerReasonCode::CE_LRRC_UL_DATA_CNF_FAILURE_CTRL_NOT_CONN = 1050,
  CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE = 1051, CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_ABORTED = 1052, CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_ACCESS_BARRED = 1053, CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_CELL_RESEL = 1054,
  CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_CONFIG_FAILURE = 1055, CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_TIMER_EXPIRED = 1056, CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_LINK_FAILURE = 1057, CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_NOT_CAMPED = 1058,
  CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_SI_FAILURE = 1059, CallManagerReasonCode::CE_LRRC_CONN_EST_FAILURE_CONN_REJECT = 1060, CallManagerReasonCode::CE_LRRC_CONN_REL_NORMAL = 1061, CallManagerReasonCode::CE_LRRC_CONN_REL_RLF = 1062,
  CallManagerReasonCode::CE_LRRC_CONN_REL_CRE_FAILURE = 1063, CallManagerReasonCode::CE_LRRC_CONN_REL_OOS_DURING_CRE = 1064, CallManagerReasonCode::CE_LRRC_CONN_REL_ABORTED = 1065, CallManagerReasonCode::CE_LRRC_CONN_REL_SIB_READ_ERROR = 1066,
  CallManagerReasonCode::CE_DETACH_WITH_REATTACH_LTE_NW_DETACH = 1067, CallManagerReasonCode::CE_DETACH_WITH_OUT_REATTACH_LTE_NW_DETACH = 1068, CallManagerReasonCode::CE_ESM_PROC_TIME_OUT = 1069, CallManagerReasonCode::CE_INVALID_CONNECTION_ID = 1070,
  CallManagerReasonCode::CE_INVALID_NSAPI = 1071, CallManagerReasonCode::CE_INVALID_PRI_NSAPI = 1072, CallManagerReasonCode::CE_INVALID_FIELD = 1073, CallManagerReasonCode::CE_RAB_SETUP_FAILURE = 1074,
  CallManagerReasonCode::CE_PDP_ESTABLISH_MAX_TIMEOUT = 1075, CallManagerReasonCode::CE_PDP_MODIFY_MAX_TIMEOUT = 1076, CallManagerReasonCode::CE_PDP_INACTIVE_MAX_TIMEOUT = 1077, CallManagerReasonCode::CE_PDP_LOWERLAYER_ERROR = 1078,
  CallManagerReasonCode::CE_PPD_UNKNOWN_REASON = 1079, CallManagerReasonCode::CE_PDP_MODIFY_COLLISION = 1080, CallManagerReasonCode::CE_PDP_MBMS_REQUEST_COLLISION = 1081, CallManagerReasonCode::CE_MBMS_DUPLICATE = 1082,
  CallManagerReasonCode::CE_SM_PS_DETACHED = 1083, CallManagerReasonCode::CE_SM_NO_RADIO_AVAILABLE = 1084, CallManagerReasonCode::CE_SM_ABORT_SERVICE_NOT_AVAILABLE = 1085, CallManagerReasonCode::CE_MESSAGE_EXCEED_MAX_L2_LIMIT = 1086,
  CallManagerReasonCode::CE_SM_NAS_SRV_REQ_FAILURE = 1087, CallManagerReasonCode::CE_RRC_CONN_EST_FAILURE_REQ_ERROR = 1088, CallManagerReasonCode::CE_RRC_CONN_EST_FAILURE_TAI_CHANGE = 1089, CallManagerReasonCode::CE_RRC_CONN_EST_FAILURE_RF_UNAVAILABLE = 1090,
  CallManagerReasonCode::CE_RRC_CONN_REL_ABORTED_IRAT_SUCCESS = 1091, CallManagerReasonCode::CE_RRC_CONN_REL_RLF_SEC_NOT_ACTIVE = 1092, CallManagerReasonCode::CE_RRC_CONN_REL_IRAT_TO_LTE_ABORTED = 1093, CallManagerReasonCode::CE_RRC_CONN_REL_IRAT_FROM_LTE_TO_G_CCO_SUCCESS = 1094,
  CallManagerReasonCode::CE_RRC_CONN_REL_IRAT_FROM_LTE_TO_G_CCO_ABORTED = 1095, CallManagerReasonCode::CE_IMSI_UNKNOWN_IN_HSS = 1096, CallManagerReasonCode::CE_IMEI_NOT_ACCEPTED = 1097, CallManagerReasonCode::CE_EPS_SERVICES_AND_NON_EPS_SERVICES_NOT_ALLOWED = 1098,
  CallManagerReasonCode::CE_EPS_SERVICES_NOT_ALLOWED_IN_PLMN = 1099, CallManagerReasonCode::CE_MSC_TEMPORARILY_NOT_REACHABLE = 1100, CallManagerReasonCode::CE_CS_DOMAIN_NOT_AVAILABLE = 1101, CallManagerReasonCode::CE_ESM_FAILURE = 1102,
  CallManagerReasonCode::CE_MAC_FAILURE = 1103, CallManagerReasonCode::CE_SYNCH_FAILURE = 1104, CallManagerReasonCode::CE_UE_SECURITY_CAPABILITIES_MISMATCH = 1105, CallManagerReasonCode::CE_SECURITY_MODE_REJ_UNSPECIFIED = 1106,
  CallManagerReasonCode::CE_NON_EPS_AUTH_UNACCEPTABLE = 1107, CallManagerReasonCode::CE_CS_FALLBACK_CALL_EST_NOT_ALLOWED = 1108, CallManagerReasonCode::CE_NO_EPS_BEARER_CONTEXT_ACTIVATED = 1109, CallManagerReasonCode::CE_EMM_INVALID_STATE = 1110,
  CallManagerReasonCode::CE_NAS_LAYER_FAILURE = 1111, CallManagerReasonCode::CE_MULTI_PDN_NOT_ALLOWED = 1112, CallManagerReasonCode::CE_EMBMS_NOT_ENABLED = 1113, CallManagerReasonCode::CE_PENDING_REDIAL_CALL_CLEANUP = 1114,
  CallManagerReasonCode::CE_EMBMS_REGULAR_DEACTIVATION = 1115, CallManagerReasonCode::CE_TLB_REGULAR_DEACTIVATION = 1116, CallManagerReasonCode::CE_LOWER_LAYER_REGISTRATION_FAILURE = 1117, CallManagerReasonCode::CE_DETACH_EPS_SERVICES_NOT_ALLOWED = 1118,
  CallManagerReasonCode::CE_SM_INTERNAL_PDP_DEACTIVATION = 1119, CallManagerReasonCode::CE_UNSUPPORTED_1X_PREV = 1515, CallManagerReasonCode::CE_CD_GEN_OR_BUSY = 1500, CallManagerReasonCode::CE_CD_BILL_OR_AUTH = 1501,
  CallManagerReasonCode::CE_CHG_HDR = 1502, CallManagerReasonCode::CE_EXIT_HDR = 1503, CallManagerReasonCode::CE_HDR_NO_SESSION = 1504, CallManagerReasonCode::CE_HDR_ORIG_DURING_GPS_FIX = 1505,
  CallManagerReasonCode::CE_HDR_CS_TIMEOUT = 1506, CallManagerReasonCode::CE_HDR_RELEASED_BY_CM = 1507, CallManagerReasonCode::CE_COLLOC_ACQ_FAIL = 1508, CallManagerReasonCode::CE_OTASP_COMMIT_IN_PROG = 1509,
  CallManagerReasonCode::CE_NO_HYBR_HDR_SRV = 1510, CallManagerReasonCode::CE_HDR_NO_LOCK_GRANTED = 1511, CallManagerReasonCode::CE_HOLD_OTHER_IN_PROG = 1512, CallManagerReasonCode::CE_HDR_FADE = 1513,
  CallManagerReasonCode::CE_HDR_ACC_FAIL = 1514, CallManagerReasonCode::CE_CLIENT_END = 2000, CallManagerReasonCode::CE_NO_SRV = 2001, CallManagerReasonCode::CE_FADE = 2002,
  CallManagerReasonCode::CE_REL_NORMAL = 2003, CallManagerReasonCode::CE_ACC_IN_PROG = 2004, CallManagerReasonCode::CE_ACC_FAIL = 2005, CallManagerReasonCode::CE_REDIR_OR_HANDOFF = 2006,
  CallManagerReasonCode::CE_CM_UNKNOWN_ERROR = 2007, CallManagerReasonCode::CE_OFFLINE = 2500, CallManagerReasonCode::CE_EMERGENCY_MODE = 2501, CallManagerReasonCode::CE_PHONE_IN_USE = 2502,
  CallManagerReasonCode::CE_INVALID_MODE = 2503, CallManagerReasonCode::CE_INVALID_SIM_STATE = 2504, CallManagerReasonCode::CE_NO_COLLOC_HDR = 2505, CallManagerReasonCode::CE_CALL_CONTROL_REJECTED = 2506,
  CallManagerReasonCode::CE_UNKNOWN = -1
}
 
enum  SpecReasonCode {
  SpecReasonCode::CE_OPERATOR_DETERMINED_BARRING = 8, SpecReasonCode::CE_NAS_SIGNALLING_ERROR = 14, SpecReasonCode::CE_LLC_SNDCP_FAILURE = 25, SpecReasonCode::CE_INSUFFICIENT_RESOURCES = 26,
  SpecReasonCode::CE_UNKNOWN_APN = 27, SpecReasonCode::CE_UNKNOWN_PDP = 28, SpecReasonCode::CE_AUTH_FAILED = 29, SpecReasonCode::CE_GGSN_REJECT = 30,
  SpecReasonCode::CE_ACTIVATION_REJECT = 31, SpecReasonCode::CE_OPTION_NOT_SUPPORTED = 32, SpecReasonCode::CE_OPTION_UNSUBSCRIBED = 33, SpecReasonCode::CE_OPTION_TEMP_OOO = 34,
  SpecReasonCode::CE_NSAPI_ALREADY_USED = 35, SpecReasonCode::CE_REGULAR_DEACTIVATION = 36, SpecReasonCode::CE_QOS_NOT_ACCEPTED = 37, SpecReasonCode::CE_NETWORK_FAILURE = 38,
  SpecReasonCode::CE_UMTS_REACTIVATION_REQ = 39, SpecReasonCode::CE_FEATURE_NOT_SUPPORTED = 40, SpecReasonCode::CE_TFT_SEMANTIC_ERROR = 41, SpecReasonCode::CE_TFT_SYNTAX_ERROR = 42,
  SpecReasonCode::CE_UNKNOWN_PDP_CONTEXT = 43, SpecReasonCode::CE_FILTER_SEMANTIC_ERROR = 44, SpecReasonCode::CE_FILTER_SYNTAX_ERROR = 45, SpecReasonCode::CE_PDP_WITHOUT_ACTIVE_TFT = 46,
  SpecReasonCode::CE_IP_V4_ONLY_ALLOWED = 50, SpecReasonCode::CE_IP_V6_ONLY_ALLOWED = 51, SpecReasonCode::CE_SINGLE_ADDR_BEARER_ONLY = 52, SpecReasonCode::CE_ESM_INFO_NOT_RECEIVED = 53,
  SpecReasonCode::CE_PDN_CONN_DOES_NOT_EXIST = 54, SpecReasonCode::CE_MULTI_CONN_TO_SAME_PDN_NOT_ALLOWED = 55, SpecReasonCode::CE_MAX_ACTIVE_PDP_CONTEXT_REACHED = 65, SpecReasonCode::CE_UNSUPPORTED_APN_IN_CURRENT_PLMN = 66,
  SpecReasonCode::CE_INVALID_TRANSACTION_ID = 81, SpecReasonCode::CE_MESSAGE_INCORRECT_SEMANTIC = 95, SpecReasonCode::CE_INVALID_MANDATORY_INFO = 96, SpecReasonCode::CE_MESSAGE_TYPE_UNSUPPORTED = 97,
  SpecReasonCode::CE_MSG_TYPE_NONCOMPATIBLE_STATE = 98, SpecReasonCode::CE_UNKNOWN_INFO_ELEMENT = 99, SpecReasonCode::CE_CONDITIONAL_IE_ERROR = 100, SpecReasonCode::CE_MSG_AND_PROTOCOL_STATE_UNCOMPATIBLE = 101,
  SpecReasonCode::CE_PROTOCOL_ERROR = 111, SpecReasonCode::CE_APN_TYPE_CONFLICT = 112, SpecReasonCode::CE_INVALID_PCSCF_ADDRESS = 113, SpecReasonCode::CE_INTERNAL_CALL_PREEMPT_BY_HIGH_PRIO_APN = 114,
  SpecReasonCode::CE_EMM_ACCESS_BARRED = 115, SpecReasonCode::CE_EMERGENCY_IFACE_ONLY = 116, SpecReasonCode::CE_IFACE_MISMATCH = 117, SpecReasonCode::CE_COMPANION_IFACE_IN_USE = 118,
  SpecReasonCode::CE_IP_ADDRESS_MISMATCH = 119, SpecReasonCode::CE_IFACE_AND_POL_FAMILY_MISMATCH = 120, SpecReasonCode::CE_EMM_ACCESS_BARRED_INFINITE_RETRY = 121, SpecReasonCode::CE_AUTH_FAILURE_ON_EMERGENCY_CALL = 122,
  SpecReasonCode::CE_INVALID_DNS_ADDR = 123, SpecReasonCode::CE_INVALID_PCSCF_DNS_ADDR = 124, SpecReasonCode::CE_TEST_LOOPBACK_MODE_A_OR_B_ENABLED = 125, SpecReasonCode::CE_UNKNOWN = -1
}
 
enum  PPPReasonCode {
  PPPReasonCode::CE_PPP_TIMEOUT = 1, PPPReasonCode::CE_PPP_AUTH_FAILURE = 2, PPPReasonCode::CE_PPP_OPTION_MISMATCH = 3, PPPReasonCode::CE_PPP_PAP_FAILURE = 31,
  PPPReasonCode::CE_PPP_CHAP_FAILURE = 32, PPPReasonCode::CE_PPP_CLOSE_IN_PROGRESS = 33, PPPReasonCode::CE_PPP_NV_REFRESH_IN_PROGRESS = 34, PPPReasonCode::CE_PPP_UNKNOWN = -1
}
 
enum  EHRPDReasonCode {
  EHRPDReasonCode::CE_EHRPD_SUBS_LIMITED_TO_V4 = 1, EHRPDReasonCode::CE_EHRPD_SUBS_LIMITED_TO_V6 = 2, EHRPDReasonCode::CE_EHRPD_VSNCP_TIMEOUT = 4, EHRPDReasonCode::CE_EHRPD_VSNCP_FAILURE = 5,
  EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_GEN_ERROR = 6, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_UNAUTH_APN = 7, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_PDN_LIMIT_EXCEED = 8, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_NO_PDN_GW = 9,
  EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_PDN_GW_UNREACH = 10, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_PDN_GW_REJ = 11, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_INSUFF_PARAM = 12, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_RESOURCE_UNAVAIL = 13,
  EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_ADMIN_PROHIBIT = 14, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_PDN_ID_IN_USE = 15, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_SUBSCR_LIMITATION = 16, EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_PDN_EXISTS_FOR_THIS_APN = 17,
  EHRPDReasonCode::CE_EHRPD_VSNCP_3GPP2I_RECONNECT_NOT_ALLOWED = 19, EHRPDReasonCode::CE_EHRPD_UNKNOWN = -1
}
 
enum  Ipv6ReasonCode { Ipv6ReasonCode::CE_PREFIX_UNAVAILABLE = 1, Ipv6ReasonCode::CE_IPV6_ERR_HRPD_IPV6_DISABLED = 2, Ipv6ReasonCode::CE_IPV6_DISABLED = 3 }
 
enum  HandoffReasonCode { HandoffReasonCode::CE_VCER_HANDOFF_PREF_SYS_BACK_TO_SRAT = 1 }
 
enum  ProfileChangeEvent { ProfileChangeEvent::CREATE_PROFILE_EVENT = 1, ProfileChangeEvent::DELETE_PROFILE_EVENT, ProfileChangeEvent::MODIFY_PROFILE_EVENT }
 
enum  OperationType { OperationType::DATA_LOCAL = 0, OperationType::DATA_REMOTE }
 
enum  Direction { Direction::UPLINK = 1, Direction::DOWNLINK = 2 }
 
enum  InterfaceType {
  InterfaceType::UNKNOWN = 0, InterfaceType::WLAN = 1, InterfaceType::ETH = 2, InterfaceType::ECM = 3,
  InterfaceType::RNDIS = 4, InterfaceType::MHI = 5
}
 
enum  ServiceState { ServiceState::INACTIVE = 0, ServiceState::ACTIVE = 1 }
 
enum  QosFlowStateChangeEvent { QosFlowStateChangeEvent::UNKNOWN = -1, QosFlowStateChangeEvent::ACTIVATED = 0, QosFlowStateChangeEvent::MODIFIED = 1, QosFlowStateChangeEvent::DELETED = 2 }
 
enum  IpTrafficClassType {
  IpTrafficClassType::UNKNOWN = -1, IpTrafficClassType::CONVERSATIONAL = 0, IpTrafficClassType::STREAMING = 1, IpTrafficClassType::INTERACTIVE = 2,
  IpTrafficClassType::BACKGROUND = 3
}
 
enum  QosIPFlowMaskType { MASK_IP_FLOW_NONE = 0, MASK_IP_FLOW_TRF_CLASS = 1, MASK_IP_FLOW_DATA_RATE_MIN_MAX = 2 }
 
enum  QosFlowMaskType {
  MASK_FLOW_NONE = 0, MASK_FLOW_TX_GRANTED = 1, MASK_FLOW_RX_GRANTED = 2, MASK_FLOW_TX_FILTERS = 3,
  MASK_FLOW_RX_FILTERS = 4
}
 
enum  RoamingType { RoamingType::UNKNOWN, RoamingType::DOMESTIC, RoamingType::INTERNATIONAL }
 Roaming Type. More...
 
enum  DataServiceState { DataServiceState::UNKNOWN, DataServiceState::IN_SERVICE, DataServiceState::OUT_OF_SERVICE }
 Data Service State. Indicates whether data service is ready to setup a data call or not. More...
 
enum  NetworkRat {
  NetworkRat::UNKNOWN, NetworkRat::CDMA_1X, NetworkRat::CDMA_EVDO, NetworkRat::GSM,
  NetworkRat::WCDMA, NetworkRat::LTE, NetworkRat::TDSCDMA, NetworkRat::NR5G
}
 Data Network RATs. More...
 

Data Structure Documentation

struct telux::data::EspInfo

Encapsulating Security Payload

Data Fields
uint32_t spi

Security Parameters Index

struct telux::data::IcmpInfo

Internet Control Message Protocol (ICMP)

Data Fields
uint8_t type

ICMP message type - RFC2780

uint8_t code

ICMP message code - RFC2780

struct telux::data::IpFamilyInfo

IP Family related Info

Data Fields
DataCallStatus status
IpAddrInfo addr
struct telux::data::IPv4Info

IPv4 header info

Data Fields
string srcAddr

address of the device that sends the packet.

string srcSubnetMask
string destAddr

address of receiving end

string destSubnetMask
TypeOfService value

level of throughput, reliability, and delay

TypeOfService mask
IpProtocol nextProtoId

Protocol ID (i.e TCP, UDP or ICMP )

struct telux::data::IPv6Info

IPv6 header info

Data Fields
string srcAddr

address of the device that sends the packet.

string destAddr

address of receiving end

IpProtocol nextProtoId

Protocol ID (i.e TCP, UDP or ICMP )

TrafficClass val

indicates the class or priority of the IPv6 packet, enables the ability to track specific traffic flows at the network layer.

TrafficClass mask
FlowLabel flowLabel

Indicates that this packet belongs to a specific sequence of packets between a source and destination, requiring special handling by intermediate IPv6 routers.

uint8_t natEnabled
struct telux::data::QosFilterRule

Encapsulate the Qos Filter rule

Data Fields
vector< shared_ptr< IIpFilter > > filter

IIpFilter

uint16_t filterId

Unique identifier for each filter.

uint16_t filterPrecedence

Specifies the order in which filters are applied. A lower numerical value has a higher precedence.

struct telux::data::TcpInfo

TCP header info

Data Fields
PortInfo src

Source port and range

PortInfo dest

Destination port and range

struct telux::data::TftChangeInfo

QOS TFT flow change info

Data Fields
shared_ptr< TrafficFlowTemplate > tft

TFT flow info TrafficFlowTemplate

QosFlowStateChangeEvent stateChange

Flow state change event

struct telux::data::TrafficFlowTemplate

QOS TFT Flow info

Data Fields
QosFlowId qosId

Mandatory defines current flow id

QosFlowStateChangeEvent stateChange

Flow state change event

QosFlowMask mask

bitmask to denote which of the optional fields in TrafficFlowTemplate are valid

QosIPFlowInfo txGrantedFlow

Optional

QosIPFlowInfo rxGrantedFlow
uint32_t txFiltersLength
QosFilterRule txFilters[MAX_QOS_FILTERS]
uint32_t rxFiltersLength
QosFilterRule rxFilters[MAX_QOS_FILTERS]
struct telux::data::UdpInfo

UDP header info

Data Fields
PortInfo src

Source port and range

PortInfo dest

Destination port and range

Typedef Documentation

using telux::data::DataCallResponseCb = typedef std::function<void( const std::shared_ptr<IDataCall> &dataCall, telux::common::ErrorCode error)>

This function is called with the response to startDataCall / stopDataCall API.

The callback can be invoked from multiple different threads. The implementation should be thread safe.

When callback is used with startDataCall, expected behavior is as following:

  • If this is first client to start datacall in the system and no error is detected, state of data call will be NET_CONNECTING and onDataCallInfoChanged will be called once data call is brought up successfully or failed.
  • If client tries to start data call that is already up and no error is detected, state of data call will NET_CONNECTED and onDataCallInfoChanged will not get called.
  • If any client that start data call and error is detected, error argument will contain error code and onDataCallInfoChanged will not get called.

When callback is used with stopDataCall, expected behavior is as following:

  • First/Last client that attempts to stop data call and no error is detected, state of data call will be NET_DISCONNECTING and onDataCallInfoChanged will be called once data call is down.
  • If a client starts a data call and then tries to stop it while there are other clients in the system who also started the same data call, and no error is detected, data call status will be NET_CONNECTED and onDataCallInfoChanged will not get called.
  • If any client attemp to stop data call and error detected, error argument will contain error code and onDataCallInfoChanged will not get called.
Parameters
[in]dataCallPointer to IDataCall
[in]errorReturn code for whether the operation succeeded or failed
using telux::data::StatisticsResponseCb = typedef std::function<void(const DataCallStats dataStats, telux::common::ErrorCode error)>

This function is called with the response to requestDataCallStatistics API.

The callback can be invoked from multiple different threads. The implementation should be thread safe.

Parameters
[in]dataStatsData Call statistics
[in]errorReturn code for whether the operation succeeded or failed
using telux::data::DataCallListResponseCb = typedef std::function<void( const std::vector<std::shared_ptr<IDataCall>> &dataCallList, telux::common::ErrorCode error)>

This function is called with the response to requestDataCallList API.

The callback can be invoked from multiple different threads. The implementation should be thread safe.

Parameters
[in]dataCallvector of of IDataCall list
[in]errorReturn code for whether the operation succeeded or failed
using telux::data::TrafficFlowTemplateCb = typedef std::function<void(const std::vector<std::shared_ptr<TrafficFlowTemplate>> &tft, telux::common::ErrorCode error)>

This function is called in the response to requestTrafficFlowTemplate().

Parameters
[in]tftVector of TFT flow info. TrafficFlowTemplate
[in]errorCode which indicates whether the operation succeeded or not. ErrorCode.
using telux::data::DataRestrictModeCb = typedef std::function<void(DataRestrictMode mode, telux::common::ErrorCode error)>

This function is called in the response to requestDataRestrictMode().

Parameters
[in]modeReturn current data restrict mode.
[in]errorReturn code which indicates whether the operation succeeded or not. ErrorCode.
using telux::data::TypeOfService = typedef uint8_t
using telux::data::TrafficClass = typedef uint8_t
using telux::data::FlowLabel = typedef uint32_t