Service for getting GNSS data and configuring GNSS service More...

Inheritance diagram for GnssService:

Public Member Functions

 GnssService (GnssDeepsyClientDealerConfiguration dealer, GnssDeepsyClientSubscriberConfiguration subscriber)
 
IGnssPosition GetCurrentPosition ()
 Get the position at this instant More...
 
IGnssPosition GetLastPosition ()
 Queries the last position that has been obtained by the module More...
 
void SetPowerStatus (PowerStatus.Status gnssPowerStatus)
 Set the a specific power state for the gnss module More...
 
PowerStatus.Status GetPowerStatus ()
 Used to obtain the power state in which the gnss module is working More...
 
string GetModuleInfo (GnssInfo.Info gnssInfo)
 Obtain different types of information from the Gnss module More...
 
void PerformSoftwareReset (SwResetType.Type gnssSwResetType)
 Allows to perform different software reset types of the gnss module. The type of reset determines the valid information the receiver will preserve at the time of the restart More...
 
void PerformHardwareReset ()
 Allows to perform a hardware reset of the gnss module. More...
 
IGnssStatus GetStatus ()
 Obtain status information of the Gnss module. More...
 
System.DateTime GetInstant ()
 Queries the stored date and timed that are stored in the Gnss module More...
 
override void Dispose ()
 

Protected Member Functions

override void Dispose (bool disposing)
 

Properties

EventHandler< IGnssPositionGnssPosition
 
EventHandler< QualityIndicator.Quality > GnssQualityChanged
 

Additional Inherited Members

- Public Attributes inherited from DeepsyDisposable
bool IsDiposed => Disposed
 
- Protected Attributes inherited from DeepsyDisposable
bool Disposed = false
 
- Events inherited from IGnssNotifier
EventHandler< IGnssPositionGnssPosition
 New position event More...
 
EventHandler< QualityIndicator.Quality > GnssQualityChanged
 Position changed its quality More...
 

Detailed Description

Member Function Documentation

IGnssPosition GetCurrentPosition ( )
Returns
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IBasicGnssManager.

System.DateTime GetInstant ( )
Returns
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IGnssManager.

IGnssPosition GetLastPosition ( )
Returns
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IBasicGnssManager.

string GetModuleInfo ( GnssInfo.Info  gnssInfo)
Parameters
gnssInfoGnss information
Returns
Module Information
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IGnssManager.

PowerStatus.Status GetPowerStatus ( )
Returns
Gnss Power status
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IGnssManager.

Returns
Gnss status
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IGnssManager.

void PerformHardwareReset ( )
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IGnssManager.

void PerformSoftwareReset ( SwResetType.Type  gnssSwResetType)
Parameters
gnssSwResetTypeindicates gnss software reset type
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IGnssManager.

void SetPowerStatus ( PowerStatus.Status  gnssPowerStatus)
Parameters
gnssPowerStatusGnss Power status
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IGnssManager.