refactoring ntripClient

This commit is contained in:
2024-07-12 22:57:37 +02:00
parent c866bc0d60
commit 87743c8e67
7 changed files with 96 additions and 41 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ SensorData::~SensorData()
void SensorData::enableNtrip(String host, uint16_t port, String mountPoint, String user, String password)
{
this->ntripClient = new NTRIPClient(this->gnss, host.c_str(), port, mountPoint.c_str(), user.c_str(), password.c_str());
this->ntripClient->gpsConfiguration();
this->ntripClient->gnssConfiguration();
this->ntripClient->loop();
this->ntripClient->setActivated(false);
this->isNtripInit = true;