Compare commits

..

No commits in common. "2287b8e45b9ecc6cff0c8cbd3b775fc660dd4beb" and "318da97a7751b1447720d7d72fa5182cf87e3b46" have entirely different histories.

3 changed files with 10 additions and 11 deletions

View File

@ -128,10 +128,11 @@ void GsmWithGnssInit(
ControllableSwitch_Init(&env->useInternalAntennaSwitch, env, GsmWithGnss_InvalidateGnssUserExternalAntenna);
ControllableSwitch_Init(&env->enableNetworkSwitch, env, GsmWithGnss_InvalidateNetworkEnable);
#ifdef UVEOS_ADD_TELEMATICA
env->gnssRmcGga.rmcAccess = osMutexNew(NULL);
env->isRtcACP = false;
#endif
}

View File

@ -64,11 +64,8 @@ typedef struct {
bool isBusy;
bool isNav;
#ifdef UVEOS_ADD_TELEMATICA
tLoggerToSerialPort *slog;
struct {
@ -77,14 +74,19 @@ typedef struct {
tNmeaRmc currentRmc;
} gnssRmcGga;
// uint8_t bufLog[2048];
// char bufLogHexString[260];
bool isNav;
#ifdef UVEOS_ADD_TELEMATICA
bool isDisconnect;
uint8_t codeResultOpen;
tSocketGsm socketGsm;
#endif
bool isRtcACP;
#endif
} tGsmWithGnss;
//Common

View File

@ -68,7 +68,6 @@ void AtGsm_Gsnss_NavData_Processing(tGsmWithGnss *env) {
}
#ifdef UVEOS_ADD_TELEMATICA
void Gnss_GetFullNavData(tGsmWithGnss *env, tNmeaRmc *nmeaRmc) {
if (osMutexAcquire(env->gnssRmcGga.rmcAccess, 2000) == osOK) {
@ -81,9 +80,6 @@ void Gnss_GetFullNavData(tGsmWithGnss *env, tNmeaRmc *nmeaRmc) {
}
}
#endif
void GsmWithGnss_GetNevData(tGsmWithGnss *env, uint32_t timeout) {