Has anyone successfully sent commands to the UC6580 chip fitted to the Heltec Tracker V1.2?
I am trying to reduce the number of GNSS messages sent to the ESP32, which involves sending configuration messages to turn off the unwanted messages.
The following code snippet requests product information from the UC6580, but the chip fails to respond. I suspect the message is not reaching the chip.
const char* PRODUCT_INFO = “$PDTINFO\r\n”;
void initialiseGPS() {
Serial1.begin(115200, SERIAL_8N1, 33, 34); // start GPS serial port
delay(1000);
// Request Configuration details
Serial.println(“Request GPS Config”);
Serial1.print(PRODUCT_INFO);
}
void setup() {
Serial.begin(115200);
pinMode(Vext, OUTPUT);
digitalWrite(Vext, LOW); // turn on GPS Chip
delay(1000);
initialiseGPS();
}
void loop() {
if (Serial1.available() > 0) {
Serial.write(Serial1.read()); // output raw GNSS strings
};
delay(10);
}
More details
The above code snippet shows the UC6580 continuously outputs multiple messages. I only need the RMC message and am trying to turn off unwanted message strings including GGA, GLL, GSA, GSV and VTG.