Telematics SDK - Interface Specification
v1.33.66
|
Data Structures | |
struct | telux::tel::DcStatus |
class | telux::tel::IServingSystemManager |
class | telux::tel::IServingSystemListener |
Listener class for getting radio access technology mode preference change notification. More... | |
Typedefs | |
using | telux::tel::NetworkTimeResponseCallback = std::function< void(NetworkTimeInfo info, telux::common::ErrorCode error)> |
Serving System Manager class provides the API to request and set service domain preference and RAT preference. More... | |
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::DcStatus |
Defines Dual Connectivity status
Data Fields | ||
---|---|---|
EndcAvailability | endcAvailability |
ENDC availability |
DcnrRestriction | dcnrRestriction |
DCNR restriction |
class telux::tel::IServingSystemManager |
Public Member Functions | |
virtual bool | isSubsystemReady ()=0 |
virtual std::future< bool > | onSubsystemReady ()=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::tel::DcStatus | getDcStatus ()=0 |
virtual telux::common::Status | requestNetworkTime (NetworkTimeResponseCallback callback)=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 |
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 |
Request for Dual Connectivity status on 5G NR.
|
pure virtual |
Get network time information asynchronously.
[in] | callback | Callback function to get the response of get network time information request. |
|
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 | onDcStatusChanged (DcStatus dcStatus) |
virtual void | onNetworkTimeChanged (NetworkTimeInfo info) |
virtual | ~IServingSystemListener () |
Public Member Functions inherited from telux::common::IServiceStatusListener | |
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 Dual Connnectivity status is changed on 5G NR.
[in] | dcStatus | DcStatus |
|
virtual |
This function is called whenever network time information is changed.
[in] | info | Network time information NetworkTimeInfo |
using telux::tel::NetworkTimeResponseCallback = typedef std::function<void(NetworkTimeInfo info, telux::common::ErrorCode error)> |
Serving System Manager class provides the API to request and set service domain preference and RAT preference.
This function is called with the response to requestNetworkTime API.
The callback can be invoked from multiple different threads. The implementation should be thread safe.
[in] | info | NetworkTimeInfo |
[in] | error | Return code which indicates whether the operation succeeded or not ErrorCode |
|
strong |
|
strong |
|
strong |