@@ -140,15 +140,15 @@ int pin_beeper = PIN_UNDEFINED;
140
140
141
141
// I2C for GNSS, battery gauge, display
142
142
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
143
- #include < Wire.h>
143
+ #include < Wire.h> // Built-in
144
144
TwoWire *i2c_0 = &Wire;
145
145
TwoWire *i2c_1;
146
146
TwoWire *i2cDisplay;
147
147
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
148
148
149
149
// LittleFS for storing settings for different user profiles
150
150
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
151
- #include < LittleFS.h>
151
+ #include < LittleFS.h> // Built-in
152
152
153
153
#define MAX_PROFILE_COUNT 8
154
154
uint8_t activeProfiles; // Bit vector indicating which profiles are active
@@ -172,7 +172,7 @@ unsigned long syncRTCInterval = 1000; // To begin, sync RTC every second. Interv
172
172
173
173
// microSD Interface
174
174
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
175
- #include < SPI.h>
175
+ #include < SPI.h> // Built-in
176
176
177
177
#include " SdFat.h" // http://librarymanager/All#sdfat_exfat by Bill Greiman. Currently uses v2.1.1
178
178
SdFat *sd;
@@ -270,7 +270,7 @@ unsigned int binBytesSent; // Tracks firmware bytes sent over WiFi OT
270
270
#include < DNSServer.h> // Built-in.
271
271
#include < ESPmDNS.h> // Built-in.
272
272
#include < HTTPClient.h> // Built-in. Needed for ThingStream API for ZTP
273
- #include < MqttClient.h> // http://librarymanager/All#ArduinoMqttClient
273
+ #include < MqttClient.h> // http://librarymanager/All#ArduinoMqttClient by Arduino v0.1.8
274
274
#include < PubSubClient.h> // http://librarymanager/All#PubSubClient_MQTT_Lightweight by Nick O'Leary v2.8.0 Used for MQTT obtaining of keys
275
275
#include < WiFi.h> // Built-in.
276
276
#include < WiFiClientSecure.h> // Built-in.
@@ -390,9 +390,9 @@ unsigned long rtcmLastPacketReceived;
390
390
// GNSS configuration - UM980
391
391
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
392
392
#ifdef COMPILE_UM980
393
- #include < SparkFun_Unicore_GNSS_Arduino_Library.h> // http://librarymanager/All#SparkFun_Unicore_GNSS
393
+ #include < SparkFun_Unicore_GNSS_Arduino_Library.h> // http://librarymanager/All#SparkFun_Unicore_GNSS v1.0.2
394
394
#else
395
- #include < SparkFun_Extensible_Message_Parser.h> // http://librarymanager/All#SparkFun_Extensible_Message_Parser
395
+ #include < SparkFun_Extensible_Message_Parser.h> // http://librarymanager/All#SparkFun_Extensible_Message_Parser v1.0.0
396
396
#endif // COMPILE_UM980
397
397
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
398
398
@@ -403,11 +403,11 @@ GnssPlatform gnssPlatform = PLATFORM_ZED;
403
403
404
404
// Battery fuel gauge and PWM LEDs
405
405
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
406
- #include < SparkFun_MAX1704x_Fuel_Gauge_Arduino_Library.h> // Click here to get the library: http://librarymanager/All#SparkFun_MAX1704x_Fuel_Gauge_Arduino_Library
406
+ #include < SparkFun_MAX1704x_Fuel_Gauge_Arduino_Library.h> // Click here to get the library: http://librarymanager/All#SparkFun_MAX1704x_Fuel_Gauge_Arduino_Library v1.0.4
407
407
SFE_MAX1704X lipo (MAX1704X_MAX17048);
408
408
409
409
#ifdef COMPILE_BQ40Z50
410
- #include " SparkFun_BQ40Z50_Battery_Manager_Arduino_Library.h" // Click here to get the library: http://librarymanager/All#SparkFun_BQ40Z50
410
+ #include " SparkFun_BQ40Z50_Battery_Manager_Arduino_Library.h" // Click here to get the library: http://librarymanager/All#SparkFun_BQ40Z50 v1.0.0
411
411
BQ40Z50 *bq40z50Battery;
412
412
#endif // COMPILE_BQ40Z50
413
413
@@ -474,13 +474,13 @@ bool runCommandMode; // Goes true when user or remote app enters ---------- comm
474
474
475
475
// External Display
476
476
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
477
- #include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
477
+ #include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED v1.0.10
478
478
unsigned long minSplashFor = 100 ; // Display SparkFun Logo for at least 1/10 of a second
479
479
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
480
480
481
481
// Firmware binaries loaded from SD
482
482
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
483
- #include < Update.h>
483
+ #include < Update.h> // Built-in
484
484
int binCount;
485
485
const int maxBinFiles = 10 ;
486
486
char binFileNames[maxBinFiles][50 ];
@@ -491,7 +491,7 @@ int binBytesLastUpdate; // Allows websocket notification to be
491
491
492
492
// Low frequency tasks
493
493
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
494
- #include < Ticker.h>
494
+ #include < Ticker.h> // Built-in
495
495
496
496
Ticker bluetoothLedTask;
497
497
float bluetoothLedTaskPace2Hz = 0.5 ;
@@ -556,7 +556,7 @@ float lBandEBNO; // Used on system status menu
556
556
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
557
557
#ifdef COMPILE_ESPNOW
558
558
559
- #include < esp_now.h>
559
+ #include < esp_now.h> // Built-in
560
560
561
561
uint8_t espnowOutgoing[250 ]; // ESP NOW has max of 250 characters
562
562
unsigned long espnowLastAdd; // Tracks how long since the last byte was added to the outgoing buffer
@@ -575,7 +575,7 @@ const uint8_t ESPNOW_MAX_PEERS = 5; // Maximum of 5 rovers
575
575
// Ethernet
576
576
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
577
577
#ifdef COMPILE_ETHERNET
578
- #include < Ethernet.h> // http://librarymanager/All#Arduino_Ethernet
578
+ #include < Ethernet.h> // http://librarymanager/All#Arduino_Ethernet by Arduino v2.0.2
579
579
IPAddress ethernetIPAddress;
580
580
IPAddress ethernetDNS;
581
581
IPAddress ethernetGateway;
@@ -601,7 +601,7 @@ unsigned long lastEthernetCheck; // Prevents cable checking from continually hap
601
601
// IM19 Tilt Compensation
602
602
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
603
603
#ifdef COMPILE_IM19_IMU
604
- #include < SparkFun_IM19_IMU_Arduino_Library.h> // http://librarymanager/All#SparkFun_IM19_IMU
604
+ #include < SparkFun_IM19_IMU_Arduino_Library.h> // http://librarymanager/All#SparkFun_IM19_IMU v1.0.0
605
605
IM19 *tiltSensor;
606
606
HardwareSerial *SerialForTilt; // Don't instantiate until we know the tilt sensor exists
607
607
unsigned long lastTiltCheck; // Limits polling on IM19 to 1Hz
@@ -613,7 +613,7 @@ unsigned long lastTiltBeepMs; // Emit a beep every 10s if tilt is active
613
613
// PointPerfect Library (PPL)
614
614
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
615
615
#ifdef COMPILE_POINTPERFECT_LIBRARY
616
- #include " PPL_PublicInterface.h" // The PPL
616
+ #include " PPL_PublicInterface.h" // Private repo v1.11.4
617
617
#include " PPL_Version.h"
618
618
619
619
TaskHandle_t updatePplTaskHandle; // Store handles so that we can delete the task once the size is found
@@ -633,8 +633,8 @@ long pplKeyExpirationMs; // Milliseconds until the current PPL key expires
633
633
634
634
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
635
635
636
- #include " NetworkClient.h" // Supports both WiFiClient and EthernetClient
637
- #include " NetworkUDP.h" // Supports both WiFiUdp and EthernetUdp
636
+ #include " NetworkClient.h" // Built-in - Supports both WiFiClient and EthernetClient
637
+ #include " NetworkUDP.h" // Built-in - Supports both WiFiUdp and EthernetUdp
638
638
639
639
// Global variables
640
640
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
0 commit comments