Skip to content

Commit 583a1f0

Browse files
committed
Add ZED-F9P Example20 (L-Band keys via MQTT)
1 parent 7fa1319 commit 583a1f0

File tree

5 files changed

+434
-10
lines changed

5 files changed

+434
-10
lines changed

examples/ZED-F9P/Example18_PointPerfectClient/secrets.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const char password[] = "<YOUR PASSWORD>";
55
// Below infomation you can set after signing up with u-blox Thingstream portal
66
// and after add a new New PointPerfect Thing
77
// https://portal.thingstream.io/app/location-services/things
8-
// in the new PointPerfect Thing you go to the credentials page and copy past the values and certificate into this.
8+
// in the new PointPerfect Thing you go to the credentials page and copy paste the values and certificate into this.
99

1010
// <Your PointPerfect Thing> -> Credentials -> Hostname
1111
const char AWS_IOT_ENDPOINT[] = "pp.services.u-blox.com";

examples/ZED-F9P/Example19_LBand_Corrections_with_NEO-D9S/Example19_LBand_Corrections_with_NEO-D9S.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
This is a proof of concept to show how the UBX-RXM-PMP corrections control the accuracy.
1212
13-
You will need a Thingstream PointPerfect account to be able to access the SPARTN Credentials (IP Dynamic Keys).
13+
You will need a Thingstream PointPerfect account to be able to access the SPARTN Credentials (L-Band or L-Band + IP Dynamic Keys).
1414
Copy and paste the Current Key and Next Key into secrets.h.
1515
1616
Feel like supporting open source hardware?
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
// You can set the information below after signing up with the u-blox Thingstream portal
2-
// and adding a new New PointPerfect Thing
2+
// and adding a new New PointPerfect Thing (L-Band or L-Band + IP)
33
// https://portal.thingstream.io/app/location-services/things
44
// In the new PointPerfect Thing, you go to the credentials tab and copy and paste the IP Dynamic Keys here.
55
//
66
// The keys are valid from a particular GPS Week Number and Time of Week.
77
// Looking at the credentials tab, the current key expires 23:59 Feb 11th 2022.
88
// This means the next key is valid _from_ Midnight Feb 12th 2022.
9-
// That is GPS Week 2196. The GPS Time of Week in seconds is 518418.
9+
// That is GPS Week 2196. The GPS Time of Week in seconds is 518400.
1010
// Working backwards, the current key became valid exactly 4 weeks earlier (Midnight Jan 15th 2022).
1111
//
1212
// See: https://www.labsat.co.uk/index.php/en/gps-time-calculator
1313
//
1414
// The keys are given as: 32 hexadecimal digits = 128 bits = 16 Bytes
15+
//
16+
// The next example shows how to retrieve the keys using ESP32 WiFi and MQTT.
17+
// You can cut and paste the keys and GPS week/time-of-week from that example into here.
1518

1619
const uint8_t currentKeyLengthBytes = 16;
17-
const char currentDynamicKey[] = "f742bd6b7248043177dd649141d8fb0b";
18-
const uint16_t currentKeyGPSWeek = 2192;
19-
const uint32_t currentKeyGPSToW = 518418;
20+
const char currentDynamicKey[] = "<ADD YOUR L-Band or L-Band + IP DYNAMIC KEY HERE>";
21+
const uint16_t currentKeyGPSWeek = 2192; // Update this when you add new keys
22+
const uint32_t currentKeyGPSToW = 518400;
2023

2124
const uint8_t nextKeyLengthBytes = 16;
22-
const char nextDynamicKey[] = "8206........................29f4";
23-
const uint16_t nextKeyGPSWeek = 2196;
24-
const uint32_t nextKeyGPSToW = 518418;
25+
const char nextDynamicKey[] = "<ADD YOUR L-Band or L-Band + IP DYNAMIC KEY HERE>";
26+
const uint16_t nextKeyGPSWeek = 2196; // Update this when you add new keys
27+
const uint32_t nextKeyGPSToW = 518400;

0 commit comments

Comments
 (0)