Rename GnssSvStatus to QtiGnssSvStatus
Change-Id: Ieeeb03af37440214f4762d495d949b4ab59ed237
This commit is contained in:
parent
9e38acda5f
commit
d30694acf6
13 changed files with 17 additions and 17 deletions
|
@ -80,7 +80,7 @@ void LocAdapterBase::
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocAdapterBase::
|
void LocAdapterBase::
|
||||||
reportSv(GnssSvStatus &svStatus,
|
reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt)
|
void* svExt)
|
||||||
DEFAULT_IMPL()
|
DEFAULT_IMPL()
|
||||||
|
|
|
@ -98,7 +98,7 @@ public:
|
||||||
void* locationExt,
|
void* locationExt,
|
||||||
enum loc_sess_status status,
|
enum loc_sess_status status,
|
||||||
LocPosTechMask loc_technology_mask);
|
LocPosTechMask loc_technology_mask);
|
||||||
virtual void reportSv(GnssSvStatus &svStatus,
|
virtual void reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt);
|
void* svExt);
|
||||||
virtual void reportStatus(GpsStatusValue status);
|
virtual void reportStatus(GpsStatusValue status);
|
||||||
|
|
|
@ -253,7 +253,7 @@ void LocApiBase::reportPosition(UlpLocation &location,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocApiBase::reportSv(GnssSvStatus &svStatus,
|
void LocApiBase::reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt)
|
void* svExt)
|
||||||
{
|
{
|
||||||
|
|
|
@ -113,7 +113,7 @@ public:
|
||||||
enum loc_sess_status status,
|
enum loc_sess_status status,
|
||||||
LocPosTechMask loc_technology_mask =
|
LocPosTechMask loc_technology_mask =
|
||||||
LOC_POS_TECH_MASK_DEFAULT);
|
LOC_POS_TECH_MASK_DEFAULT);
|
||||||
void reportSv(GnssSvStatus &svStatus,
|
void reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt);
|
void* svExt);
|
||||||
void reportStatus(GpsStatusValue status);
|
void reportStatus(GpsStatusValue status);
|
||||||
|
|
|
@ -64,7 +64,7 @@ public:
|
||||||
(void)loc_technology_mask;
|
(void)loc_technology_mask;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
inline virtual bool reportSv(GnssSvStatus &svStatus,
|
inline virtual bool reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt) {
|
void* svExt) {
|
||||||
(void)svStatus;
|
(void)svStatus;
|
||||||
|
|
|
@ -268,7 +268,7 @@ typedef struct {
|
||||||
|
|
||||||
/** Represents SV status. */
|
/** Represents SV status. */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/** set to sizeof(GnssSvStatus) */
|
/** set to sizeof(QtiGnssSvStatus) */
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
/** Number of SVs currently visible. */
|
/** Number of SVs currently visible. */
|
||||||
|
@ -305,7 +305,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
uint64_t bds_used_in_fix_mask;
|
uint64_t bds_used_in_fix_mask;
|
||||||
|
|
||||||
} GnssSvStatus;
|
} QtiGnssSvStatus;
|
||||||
|
|
||||||
enum loc_sess_status {
|
enum loc_sess_status {
|
||||||
LOC_SESS_SUCCESS,
|
LOC_SESS_SUCCESS,
|
||||||
|
|
|
@ -797,7 +797,7 @@ void LocApiRpc::reportPosition(const rpc_loc_parsed_position_s_type *location_re
|
||||||
|
|
||||||
void LocApiRpc::reportSv(const rpc_loc_gnss_info_s_type *gnss_report_ptr)
|
void LocApiRpc::reportSv(const rpc_loc_gnss_info_s_type *gnss_report_ptr)
|
||||||
{
|
{
|
||||||
GnssSvStatus SvStatus = {0};
|
QtiGnssSvStatus SvStatus = {0};
|
||||||
GpsLocationExtended locationExtended = {0};
|
GpsLocationExtended locationExtended = {0};
|
||||||
locationExtended.size = sizeof(locationExtended);
|
locationExtended.size = sizeof(locationExtended);
|
||||||
int num_svs_max = 0;
|
int num_svs_max = 0;
|
||||||
|
|
|
@ -375,14 +375,14 @@ void LocEngAdapter::reportPosition(UlpLocation &location,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocInternalAdapter::reportSv(GnssSvStatus &svStatus,
|
void LocInternalAdapter::reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt){
|
void* svExt){
|
||||||
sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus,
|
sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus,
|
||||||
locationExtended, svExt));
|
locationExtended, svExt));
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocEngAdapter::reportSv(GnssSvStatus &svStatus,
|
void LocEngAdapter::reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt)
|
void* svExt)
|
||||||
{
|
{
|
||||||
|
|
|
@ -55,7 +55,7 @@ public:
|
||||||
void* locationExt,
|
void* locationExt,
|
||||||
enum loc_sess_status status,
|
enum loc_sess_status status,
|
||||||
LocPosTechMask loc_technology_mask);
|
LocPosTechMask loc_technology_mask);
|
||||||
virtual void reportSv(GnssSvStatus &svStatus,
|
virtual void reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt);
|
void* svExt);
|
||||||
virtual void reportStatus(GpsStatusValue status);
|
virtual void reportStatus(GpsStatusValue status);
|
||||||
|
@ -269,7 +269,7 @@ public:
|
||||||
void* locationExt,
|
void* locationExt,
|
||||||
enum loc_sess_status status,
|
enum loc_sess_status status,
|
||||||
LocPosTechMask loc_technology_mask);
|
LocPosTechMask loc_technology_mask);
|
||||||
virtual void reportSv(GnssSvStatus &svStatus,
|
virtual void reportSv(QtiGnssSvStatus &svStatus,
|
||||||
GpsLocationExtended &locationExtended,
|
GpsLocationExtended &locationExtended,
|
||||||
void* svExt);
|
void* svExt);
|
||||||
virtual void reportStatus(GpsStatusValue status);
|
virtual void reportStatus(GpsStatusValue status);
|
||||||
|
|
|
@ -828,7 +828,7 @@ void LocEngReportPosition::send() const {
|
||||||
|
|
||||||
// case LOC_ENG_MSG_REPORT_SV:
|
// case LOC_ENG_MSG_REPORT_SV:
|
||||||
LocEngReportSv::LocEngReportSv(LocAdapterBase* adapter,
|
LocEngReportSv::LocEngReportSv(LocAdapterBase* adapter,
|
||||||
GnssSvStatus &sv,
|
QtiGnssSvStatus &sv,
|
||||||
GpsLocationExtended &locExtended,
|
GpsLocationExtended &locExtended,
|
||||||
void* svExt) :
|
void* svExt) :
|
||||||
LocMsg(), mAdapter(adapter), mSvStatus(sv),
|
LocMsg(), mAdapter(adapter), mSvStatus(sv),
|
||||||
|
|
|
@ -105,11 +105,11 @@ struct LocEngReportPosition : public LocMsg {
|
||||||
|
|
||||||
struct LocEngReportSv : public LocMsg {
|
struct LocEngReportSv : public LocMsg {
|
||||||
LocAdapterBase* mAdapter;
|
LocAdapterBase* mAdapter;
|
||||||
const GnssSvStatus mSvStatus;
|
const QtiGnssSvStatus mSvStatus;
|
||||||
const GpsLocationExtended mLocationExtended;
|
const GpsLocationExtended mLocationExtended;
|
||||||
const void* mSvExt;
|
const void* mSvExt;
|
||||||
LocEngReportSv(LocAdapterBase* adapter,
|
LocEngReportSv(LocAdapterBase* adapter,
|
||||||
GnssSvStatus &sv,
|
QtiGnssSvStatus &sv,
|
||||||
GpsLocationExtended &locExtended,
|
GpsLocationExtended &locExtended,
|
||||||
void* svExtended);
|
void* svExtended);
|
||||||
virtual void proc() const;
|
virtual void proc() const;
|
||||||
|
|
|
@ -707,7 +707,7 @@ SIDE EFFECTS
|
||||||
|
|
||||||
===========================================================================*/
|
===========================================================================*/
|
||||||
void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p,
|
void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p,
|
||||||
const GnssSvStatus &svStatus, const GpsLocationExtended &locationExtended)
|
const QtiGnssSvStatus &svStatus, const GpsLocationExtended &locationExtended)
|
||||||
{
|
{
|
||||||
ENTRY_LOG();
|
ENTRY_LOG();
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
void loc_eng_nmea_send(char *pNmea, int length, loc_eng_data_s_type *loc_eng_data_p);
|
void loc_eng_nmea_send(char *pNmea, int length, loc_eng_data_s_type *loc_eng_data_p);
|
||||||
int loc_eng_nmea_put_checksum(char *pNmea, int maxSize);
|
int loc_eng_nmea_put_checksum(char *pNmea, int maxSize);
|
||||||
void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p, const GnssSvStatus &svStatus, const GpsLocationExtended &locationExtended);
|
void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p, const QtiGnssSvStatus &svStatus, const GpsLocationExtended &locationExtended);
|
||||||
void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea);
|
void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea);
|
||||||
|
|
||||||
#endif // LOC_ENG_NMEA_H
|
#endif // LOC_ENG_NMEA_H
|
||||||
|
|
Loading…
Reference in a new issue