Skip to content

Commit a0897e4

Browse files
committedMar 17, 2022
Add AssistNow topic to Example18
1 parent e9d512b commit a0897e4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎examples/ZED-F9P/Example18_PointPerfectClient/Example18_PointPerfectClient.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ void beginClient()
294294
mqttClient.onMessage(mqttMessageHandler);
295295
mqttClient.subscribe(MQTT_TOPIC_KEY);
296296
mqttClient.subscribe(MQTT_TOPIC_SPARTN);
297+
mqttClient.subscribe(MQTT_TOPIC_ASSISTNOW);
297298
lastReceived_ms = millis();
298299
} //End attempt to connect
299300
} //End connected == false

‎examples/ZED-F9P/Example18_PointPerfectClient/secrets.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ const char MQTT_TOPIC_KEY[] = "/pp/ubx/0236/ip"; // This topic provides t
1616
// <Your PointPerfect Thing> -> Credentials -> IP correction topic for EU/US region
1717
const char MQTT_TOPIC_SPARTN[] = "/pp/ip/us"; // This topic provides the SPARTN corrections for IP only: choice of {eu, us}
1818
//const char MQTT_TOPIC_SPARTN[] = "/pp/Lb/us"; // This topic provides the SPARTN corrections for L-Band and L-Band + IP: choice of {eu, us}
19+
// <Your PointPerfect Thing> -> Credentials -> AssistNow (MGA) topic
20+
const char MQTT_TOPIC_ASSISTNOW[] = "/pp/ubx/mga";
1921

2022
// <Your PointPerfect Thing> -> Credentials -> Client Id
2123
static const char MQTT_CLIENT_ID[] = "<ADD YOUR CLIENT ID HERE>";

0 commit comments

Comments
 (0)