Telematics SDK - API Reference  v1.59.0
telux::cv2x::ICv2xListener Class Reference

Cv2x Radio Manager listeners implement this interface. More...

Public Member Functions

virtual void onStatusChanged (Cv2xStatus status)
 
virtual void onStatusChanged (Cv2xStatusEx status)
 
virtual void onSlssRxInfoChanged (const SlssRxInfo &slssInfo)
 
virtual void onUtcUpdateFromSlss (const UtcTimeInfo &utcInfo)
 
virtual ~ICv2xListener ()
 
- Public Member Functions inherited from telux::common::IServiceStatusListener
virtual void onServiceStatusChange (ServiceStatus status)
 
virtual ~IServiceStatusListener ()
 

Detailed Description

Cv2x Radio Manager listeners implement this interface.

Constructor & Destructor Documentation

virtual telux::cv2x::ICv2xListener::~ICv2xListener ( )
virtual

Destructor for ICv2xListener

Member Function Documentation

virtual void telux::cv2x::ICv2xListener::onStatusChanged ( Cv2xStatus  status)
virtual

Called when the status of the CV2X radio has changed.

Parameters
[in]status- CV2X radio status.
Deprecated
use onStatusChanged(Cv2xStatusEx status)
virtual void telux::cv2x::ICv2xListener::onStatusChanged ( Cv2xStatusEx  status)
virtual

Called when the status of the CV2X radio has changed.

Parameters
[in]status- CV2X radio status.
virtual void telux::cv2x::ICv2xListener::onSlssRxInfoChanged ( const SlssRxInfo slssInfo)
virtual

Called when CV2X SLSS Rx is enabled and any of below events has occurred:

  • A new SLSS synce reference UE is detected, lost, or selected as the timing source, report the present sync reference UEs.
  • UE timing source switches from SLSS to GNSS, report 0 sync reference UE.
  • SLSS Rx is disabled, report 0 sync reference UE.
  • Cv2x is stopped, report 0 sync reference UE.
    Parameters
    [in]slssInfo- CV2X SLSS Rx information.
virtual void telux::cv2x::ICv2xListener::onUtcUpdateFromSlss ( const UtcTimeInfo utcInfo)
virtual

Called every one second for notifying UTC time when UE is synchronized to SLSS. Coarse UTC time has to be injected at least once by calling ICv2xRadioManager::injectCoarseUtcTime() after UE is synchronized to SLSS. The UTC time is valid only when the time source is SLSS, it is invalid when UE switches to other time sources.

Parameters
[in]utcInfo- UTC time information.