Telematics SDK - Interface Specification
v1.46.54
|
Data Structures | |
struct | telux::tel::ServingSystemInfo |
struct | telux::tel::DcStatus |
class | telux::tel::IServingSystemManager |
Serving System Manager class provides the API to request and set service domain preference and RAT preference. More... | |
class | telux::tel::IServingSystemListener |
Listener class for getting radio access technology mode preference change notification. More... | |
Typedefs | |
using | telux::tel::RatPreference = std::bitset< 16 > |
using | telux::tel::RatPreferenceCallback = std::function< void(RatPreference preference, telux::common::ErrorCode error)> |
using | telux::tel::ServiceDomainPreferenceCallback = std::function< void(ServiceDomainPreference preference, telux::common::ErrorCode error)> |
Serving System Manager class provides the interface to request and set service domain preference and radio access technology mode preference for searching and registering (CS/PS domain, RAT and operation mode)
struct telux::tel::ServingSystemInfo |
Defines current serving system information
Data Fields | ||
---|---|---|
RadioTechnology | rat |
Current serving RAT |
ServiceDomain | domain |
Current service domain registered on system for the serving RAT |
struct telux::tel::DcStatus |
Defines Dual Connectivity status
Data Fields | ||
---|---|---|
EndcAvailability | endcAvailability |
ENDC availability |
DcnrRestriction | dcnrRestriction |
DCNR restriction |
class telux::tel::IServingSystemManager |
Serving System Manager class provides the API to request and set service domain preference and RAT preference.
Public Member Functions | |
virtual bool | isSubsystemReady ()=0 |
virtual std::future< bool > | onSubsystemReady ()=0 |
virtual telux::common::ServiceStatus | getServiceStatus ()=0 |
virtual telux::common::Status | setRatPreference (RatPreference ratPref, common::ResponseCallback callback=nullptr)=0 |
virtual telux::common::Status | requestRatPreference (RatPreferenceCallback callback)=0 |
virtual telux::common::Status | setServiceDomainPreference (ServiceDomainPreference serviceDomain, common::ResponseCallback callback=nullptr)=0 |
virtual telux::common::Status | requestServiceDomainPreference (ServiceDomainPreferenceCallback callback)=0 |
virtual telux::common::Status | getSystemInfo (ServingSystemInfo &sysInfo)=0 |
virtual telux::tel::DcStatus | getDcStatus ()=0 |
virtual telux::common::Status | registerListener (std::weak_ptr< IServingSystemListener > listener)=0 |
virtual telux::common::Status | deregisterListener (std::weak_ptr< IServingSystemListener > listener)=0 |
virtual | ~IServingSystemManager () |
|
virtual |
Destructor of IServingSystemManager
|
pure virtual |
Checks the status of serving subsystem and returns the result.
|
pure virtual |
Wait for serving subsystem to be ready.
|
pure virtual |
This status indicates whether the IServingSystemManager object is in a usable state.
|
pure virtual |
Set the preferred radio access technology mode that the device should use to acquire service.
[in] | ratPref | Radio access technology mode preference. |
[in] | callback | Callback function to get the response of set RAT mode preference. |
|
pure virtual |
Request for preferred radio access technology mode.
[in] | callback | Callback function to get the response of request preferred RAT mode. |
|
pure virtual |
Initiate service domain preference like CS, PS or CS_PS and receive the response asynchronously.
[in] | serviceDomain | ServiceDomainPreference. |
[in] | callback | Callback function to get the response of set service domain preference request. |
|
pure virtual |
Request for Service Domain Preference asynchronously.
[in] | callback | Callback function to get the response of request service domain preference. |
|
pure virtual |
Get the Serving system information. Supports only 3GPP RATs.
[out] | sysInfo | Serving system information ServingSystemInfo |
|
pure virtual |
Request for Dual Connectivity status on 5G NR.
|
pure virtual |
Register a listener for specific updates from serving system.
[in] | listener | Pointer of IServingSystemListener object that processes the notification |
|
pure virtual |
Deregister the previously added listener.
[in] | listener | Previously registered IServingSystemListener that needs to be removed |
class telux::tel::IServingSystemListener |
Listener class for getting radio access technology mode preference change notification.
The listener method can be invoked from multiple different threads. Client needs to make sure that implementation is thread-safe.
Public Member Functions | |
virtual void | onRatPreferenceChanged (RatPreference preference) |
virtual void | onServiceDomainPreferenceChanged (ServiceDomainPreference preference) |
virtual void | onSystemInfoChanged (ServingSystemInfo sysInfo) |
virtual void | onDcStatusChanged (DcStatus dcStatus) |
virtual | ~IServingSystemListener () |
![]() | |
virtual void | onServiceStatusChange (ServiceStatus status) |
virtual | ~IServiceStatusListener () |
|
virtual |
Destructor of IServingSystemListener
|
virtual |
This function is called whenever RAT mode preference is changed.
[in] | preference | RatPreference |
|
virtual |
This function is called whenever service domain preference is changed.
[in] | preference | ServiceDomainPreference |
|
virtual |
This function is called whenever the Serving System information is changed. Supports only 3GPP RATs.
[in] | sysInfo | ServingSystemInfo |
using telux::tel::RatPreference = typedef std::bitset<16> |
16 bit mask that denotes which of the radio access technology mode preference defined in RatPrefType enum are used to set or get RAT preference.
using telux::tel::RatPreferenceCallback = typedef std::function<void(RatPreference preference, telux::common::ErrorCode error)> |
This function is called with the response to requestRatPreference API.
The callback can be invoked from multiple different threads. The implementation should be thread safe.
[in] | preference | RatPreference |
[in] | error | Return code which indicates whether the operation succeeded or not ErrorCode |
using telux::tel::ServiceDomainPreferenceCallback = typedef std::function<void(ServiceDomainPreference preference, telux::common::ErrorCode error)> |
This function is called with the response to requestServiceDomainPreference API.
The callback can be invoked from multiple different threads. The implementation should be thread safe.
[in] | preference | ServiceDomainPreference |
[in] | error | Return code which indicates whether the operation succeeded or not ErrorCode |
|
strong |
|
strong |
|
strong |
|
strong |