Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge v3.10 changes #726

Merged
merged 102 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
dc218cc
init settings, problem with web config
Sep 6, 2023
2edaf3e
web config debug
Sep 7, 2023
3e3c069
fix web config pvt enabe
Sep 7, 2023
5b5a6d1
add pvtUdpServer
Sep 8, 2023
9a19d13
default debugPvtUdpServer to false
Sep 8, 2023
bc7010f
remove console logs
DavidBerschauer Sep 9, 2023
8a40547
Merge remote-tracking branch 'origin/release_candidate' into nmea-ove…
DavidBerschauer Sep 12, 2023
96c81ae
Merge remote-tracking branch 'origin/release_candidate' into nmea-ove…
DavidBerschauer Sep 12, 2023
43f5516
fix discardPvtUdpServerBytes
DavidBerschauer Sep 12, 2023
f1bdc5a
init NetworkUDP.h
DavidBerschauer Sep 12, 2023
c279f98
Increase version
nseidle Sep 27, 2023
4c79488
menuPP: Print compiler & runtime warning when using the DEVELOPER_TOKEN
LeeLeahy2 Sep 28, 2023
2217b38
Merge pull request #683 from LeeLeahy2/pp-warning
nseidle Sep 28, 2023
459966b
Add WIFI_STOP macro to display wifiStop caller when debugWiFiState=true
LeeLeahy2 Sep 28, 2023
7cc094b
Merge pull request #684 from LeeLeahy2/wifi-stop
nseidle Sep 28, 2023
21bb996
menuPP: Add menu item to clear the keys
LeeLeahy2 Sep 28, 2023
0f23e26
Merge pull request #685 from LeeLeahy2/clear-keys
nseidle Sep 28, 2023
2bf3091
menuFirmware: Switch log_d to systemPrintln to announce firmware status
LeeLeahy2 Sep 28, 2023
091ddd7
Merge pull request #686 from LeeLeahy2/system-print
nseidle Sep 28, 2023
28c6a92
Adjust variables and functions for compile guards
nseidle Sep 29, 2023
577cadc
Erase GNSS receiver position during factory reset.
nseidle Sep 29, 2023
755f3e8
Merge remote-tracking branch 'origin/release_candidate' into nmea-ove…
Sep 29, 2023
d70069c
Add initial test comment
Sep 29, 2023
5166ae1
Merge pull request #644 from DavidBerschauer/nmea-over-udp
nseidle Sep 29, 2023
354f5b7
Typo fix
nseidle Sep 29, 2023
1e96630
Merge branch 'release_candidate' of https://github.com/sparkfun/Spark…
nseidle Oct 2, 2023
fe0148a
Add discardPvtUdpServerBytes to developer.ino to enable WiFi guard
nseidle Oct 2, 2023
75541f8
WiFi: Simplify wifiIsNeeded
LeeLeahy2 Sep 28, 2023
dd55086
Merge pull request #694 from LeeLeahy2/wifi-needed
nseidle Oct 13, 2023
6f01cde
Typo fix
nseidle Oct 17, 2023
b99cfda
menuFirmware: Add otaDisplayPercentage to force percentage display
LeeLeahy2 Oct 15, 2023
468e864
Add SSLClientESP32 support to the network layer
LeeLeahy2 Oct 6, 2023
b7650ff
Fix compiles with and without COMPILE_ETHERNET and COMPILE_WIFI
LeeLeahy2 Oct 17, 2023
8d2de03
Network: Delay reconnection attempts only when connection is successful
LeeLeahy2 Oct 17, 2023
8ba57bf
Add settings for auto firmware update
LeeLeahy2 Sep 27, 2023
bb77e61
Call the OTA update routine
LeeLeahy2 Oct 6, 2023
3a56085
OTA: Start and stop the network
LeeLeahy2 Oct 6, 2023
61a2ddd
OTA: Connect to the GitHub server
LeeLeahy2 Oct 6, 2023
26f11a1
OTA: SSL client reading JSON file
LeeLeahy2 Oct 11, 2023
28fd120
OtaClient: Automatic firmware download over WiFi
LeeLeahy2 Oct 11, 2023
b4f224e
Merge pull request #703 from LeeLeahy2/display-percent
nseidle Oct 17, 2023
7f955a4
Merge pull request #711 from LeeLeahy2/ssl-client
nseidle Oct 17, 2023
160f634
Merge pull request #696 from LeeLeahy2/no-wifi-ethernet
nseidle Oct 17, 2023
e67d099
Merge pull request #710 from LeeLeahy2/wifi-timeout
nseidle Oct 17, 2023
2d0dc32
Merge pull request #695 from LeeLeahy2/ota-auto-update
nseidle Oct 17, 2023
4ed8564
Add debugLBand setting
nseidle Oct 18, 2023
809a5b0
Handle free pointer in pointperfectProvisionDevice
nseidle Oct 18, 2023
5f1cc8c
Use debugLBand setting for prints
nseidle Oct 18, 2023
dfcef2b
Change updateLBand to check systemState
nseidle Oct 18, 2023
ec4432c
Whitespace changes
nseidle Oct 18, 2023
3831607
Fix 'Valid from WNO' GPS week calculation
nseidle Oct 19, 2023
9a82d18
Remove duration from thingstreamEpochToGPSEpoch
nseidle Oct 19, 2023
3a1888e
Rename unixEpochToWeekToW
nseidle Oct 19, 2023
68575cf
Add debug/print helper functions
nseidle Oct 19, 2023
4d16268
Use helper functions to print
nseidle Oct 19, 2023
566e61d
If a user manually enters keys/exp set duration to 28 days
nseidle Oct 19, 2023
51986cf
Set next duration to 28 days.
nseidle Oct 19, 2023
5e786cd
Remove old variable
nseidle Oct 19, 2023
d04ddb1
Get keys once primary key has expired
nseidle Oct 19, 2023
053566c
Add SSLClient library to workflow
nseidle Oct 19, 2023
e7cbc7a
Update form.h via Python
github-actions[bot] Oct 19, 2023
7ff65e7
Add L-Band direct to AP Config control
nseidle Oct 19, 2023
623e933
Update form.h via Python
github-actions[bot] Oct 19, 2023
d135d44
Limit device name length during BLE.
nseidle Oct 19, 2023
a0cb989
Update form.h via Python
github-actions[bot] Oct 19, 2023
d652aec
Debug Point Perfect certificate management
LeeLeahy2 Oct 19, 2023
5b806ad
Merge pull request #715 from LeeLeahy2/dbg-cert
nseidle Oct 20, 2023
376c5ea
menuPP: Properly validate the private key
LeeLeahy2 Oct 19, 2023
3a03972
L-Band: Always validate the private key
LeeLeahy2 Oct 19, 2023
599bf4c
Network clients start and stop depending upon operating modes
LeeLeahy2 Oct 20, 2023
df81036
Base: Increase maximum accuracy from 5 to 10 meters
LeeLeahy2 Oct 21, 2023
d607e05
Break out the GPS message parser
LeeLeahy2 Oct 22, 2023
6aa121d
Fix typo in ADC voltage ID value
LeeLeahy2 Oct 22, 2023
5e13aab
Merge pull request #721 from LeeLeahy2/adc-id
nseidle Oct 24, 2023
36422e7
Merge pull request #719 from LeeLeahy2/accuracy-10m
nseidle Oct 24, 2023
6f5c2ad
Merge pull request #720 from LeeLeahy2/parser
nseidle Oct 24, 2023
d2e8715
Merge pull request #718 from LeeLeahy2/modes
nseidle Oct 24, 2023
ab31b15
Enumerate the I2C bus
LeeLeahy2 Oct 26, 2023
b96e8a8
Better document the resistor divider and the ADC ID value
LeeLeahy2 Oct 26, 2023
088d54a
Display: Add productDisplayNames table and display product name
LeeLeahy2 Oct 26, 2023
c1a76e9
Facet L-Band Direct: Change display name from FACET LB to Facet LD
LeeLeahy2 Oct 26, 2023
e522f43
Update form.h via Python
github-actions[bot] Oct 26, 2023
6141445
Add debugLBand to NVM
nseidle Oct 26, 2023
78ca62c
Bring back next key L-Band
nseidle Oct 26, 2023
9e74213
Correctly print key date and duration
nseidle Oct 26, 2023
4c18e36
Correctly print date from Epoch
nseidle Oct 27, 2023
68d1119
Add enableCaptivePortal setting. Set to on as default.
nseidle Oct 27, 2023
d1e3919
Fix typo
nseidle Oct 27, 2023
e1d04c1
Add missing developer function
nseidle Oct 27, 2023
c5c1788
Add prefix to profile names
nseidle Oct 27, 2023
0acaeac
Docs: Clarify L-Band performance during serial config
nseidle Oct 27, 2023
4607bc5
Merge pull request #722 from LeeLeahy2/i2c
nseidle Oct 27, 2023
b27a2b5
Merge pull request #723 from LeeLeahy2/adc-id
nseidle Oct 27, 2023
d96768e
Merge pull request #724 from LeeLeahy2/display-product
nseidle Oct 27, 2023
309eb04
Merge pull request #725 from LeeLeahy2/facet-ld
nseidle Oct 27, 2023
d7f2d02
Docs: Update OTA image
nseidle Oct 27, 2023
e3db373
Merge branch 'release_candidate' of https://github.com/sparkfun/Spark…
nseidle Oct 27, 2023
bfd9ee4
Enable SPARTN over USB
nseidle Oct 27, 2023
5f11b8c
Update form.h via Python
github-actions[bot] Oct 27, 2023
3f29926
Fix passing of platformPrefix into stringRecord.
nseidle Oct 27, 2023
2cb834a
Merge branch 'release_candidate' of https://github.com/sparkfun/Spark…
nseidle Oct 27, 2023
f1d009a
Fix typo
nseidle Oct 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/compile-rtk-firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
env:
FILENAME_PREFIX: RTK_Surveyor_Firmware
FIRMWARE_VERSION_MAJOR: 3
FIRMWARE_VERSION_MINOR: 9
FIRMWARE_VERSION_MINOR: 10
POINTPERFECT_TOKEN: ${{ secrets.POINTPERFECT_TOKEN }}

jobs:
Expand Down Expand Up @@ -77,6 +77,7 @@ jobs:
"SparkFun MAX1704x Fuel Gauge Arduino Library"@1.0.4
"SparkFun u-blox GNSS v3"@3.0.14
[email protected]
[email protected]

- name: Enable external libs
run: arduino-cli config set library.enable_unsafe_install true
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ NMEA_Client
Read_Map_File
RTK_Reset
Split_Messages
X.509_crt_bundle_bin_to_c
6 changes: 6 additions & 0 deletions Firmware/RTKFirmware.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x640000,
app1, app, ota_1, 0x650000,0x640000,
spiffs, data, spiffs, 0xc90000,0x370000,
45 changes: 36 additions & 9 deletions Firmware/RTK_Surveyor/AP-Config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1274,41 +1274,68 @@
</div>

<div class="form-check mt-3">
<label class="form-check-label" for="enableTcpClient">TCP Client</label>
<input class="form-check-input" type="checkbox" value="" id="enableTcpClient"
<label class="form-check-label" for="enablePvtClient">TCP Client</label>
<input class="form-check-input" type="checkbox" value="" id="enablePvtClient"
onClick="tcpBoxes()">
<span class="tt" data-bs-placement="right"
title="If enabled, device will connect to WiFi and push NMEA over the given TCP port.">
<span class="icon-info-circle text-primary ms-2"></span>
</span>
</div>
<div class="form-group row">
<p id="enableTcpClientError" class="inlineError"></p>
<p id="enablePvtClientError" class="inlineError"></p>
</div>

<div class="form-check mt-3">
<label class="form-check-label" for="enableTcpServer">TCP Server</label>
<input class="form-check-input" type="checkbox" value="" id="enableTcpServer"
<label class="form-check-label" for="enablePvtServer">TCP Server</label>
<input class="form-check-input" type="checkbox" value="" id="enablePvtServer"
onClick="tcpBoxes()">
<span class="tt" data-bs-placement="right"
title="If enabled, device will allow inbound TCP connections and push NMEA when a client is connected.">
<span class="icon-info-circle text-primary ms-2"></span>
</span>
</div>
<div class="form-group row">
<p id="enableTcpServerError" class="inlineError"></p>
<p id="enablePvtServerError" class="inlineError"></p>
</div>

<div id="tcpSettingsConfig">
<div class="form-group row">
<label for="wifiTcpPort" class="box-margin20 col-sm-3 col-4 col-form-label">Port:
<label for="pvtServerPort" class="box-margin20 col-sm-3 col-4 col-form-label">Port:
<span class="tt" data-bs-placement="right" title="TCP port to use. Default: 2947">
<span class="icon-info-circle text-primary ms-2"></span>
</span>
</label>
<div class="col-sm-8 col-7">
<input type="text" class="form-control" id="wifiTcpPort">
<p id="wifiTcpPortError" class="inlineError"></p>
<input type="text" class="form-control" id="pvtServerPort">
<p id="pvtServerPortError" class="inlineError"></p>
</div>
</div>
</div>

<div class="form-check mt-3">
<label class="form-check-label" for="enablePvtUdpServer">UDP Server</label>
<input class="form-check-input" type="checkbox" value="" id="enablePvtUdpServer"
onClick="udpBoxes()">
<span class="tt" data-bs-placement="right"
title="If enabled, device will broadcast NMEA sentences over UPD">
<span class="icon-info-circle text-primary ms-2"></span>
</span>
</div>
<div class="form-group row">
<p id="enablePvtUdpServerError" class="inlineError"></p>
</div>

<div id="udpSettingsConfig">
<div class="form-group row">
<label for="pvtUdpServerPort" class="box-margin20 col-sm-3 col-4 col-form-label">Port:
<span class="tt" data-bs-placement="right" title="UDP port to use. Default: 10110">
<span class="icon-info-circle text-primary ms-2"></span>
</span>
</label>
<div class="col-sm-8 col-7">
<input type="text" class="form-control" id="pvtUdpServerPort">
<p id="pvtUdpServerPortError" class="inlineError"></p>
</div>
</div>
</div>
Expand Down
30 changes: 22 additions & 8 deletions Firmware/RTK_Surveyor/AP-Config/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function parseIncoming(msg) {

ge("muxChannel2").innerHTML = "Wheel/Dir Encoder";
}
else if (platformPrefix == "Facet L-Band") {
else if (platformPrefix == "Facet L-Band" || platformPrefix == "Facet L-Band Direct") {
show("baseConfig");
hide("sensorConfig");
show("ppConfig");
Expand Down Expand Up @@ -353,6 +353,7 @@ function parseIncoming(msg) {
updateECEFList();
updateGeodeticList();
tcpBoxes();
udpBoxes();
tcpBoxesEthernet();
dhcpEthernet();
updateLatLong();
Expand Down Expand Up @@ -562,7 +563,7 @@ function validateFields() {
}

//PointPerfect Config
if (platformPrefix == "Facet L-Band") {
if (platformPrefix == "Facet L-Band" || platformPrefix == "Facet L-Band Direct") {
if (ge("enablePointPerfectCorrections").checked == true) {
value = ge("pointPerfectDeviceProfileToken").value;
if (value.length > 0)
Expand Down Expand Up @@ -592,10 +593,13 @@ function validateFields() {
checkElementString("wifiNetwork2Password", 0, 50, "Must be 0 to 50 characters", "collapseWiFiConfig");
checkElementString("wifiNetwork3SSID", 0, 50, "Must be 0 to 50 characters", "collapseWiFiConfig");
checkElementString("wifiNetwork3Password", 0, 50, "Must be 0 to 50 characters", "collapseWiFiConfig");
if (ge("enableTcpClient").checked || ge("enableTcpServer").checked) {
checkElementString("wifiTcpPort", 1, 65535, "Must be 1 to 65535", "collapseWiFiConfig");
if (ge("enablePvtClient").checked || ge("enablePvtServer").checked) {
checkElementString("pvtServerPort", 1, 65535, "Must be 1 to 65535", "collapseWiFiConfig");
}
checkCheckboxMutex("enableTcpClient", "enableTcpServer", "TCP Client and Server can not be enabled at the same time", "collapseWiFiConfig");
if (ge("enablePvtUdpServer").checked) {
checkElementString("pvtUdpServerPort", 1, 65535, "Must be 1 to 65535", "collapseWiFiConfig");
}
checkCheckboxMutex("enablePvtClient", "enablePvtServer", "TCP Client and Server can not be enabled at the same time", "collapseWiFiConfig");

//System Config
if (ge("enableLogging").checked) {
Expand Down Expand Up @@ -1062,7 +1066,7 @@ document.addEventListener("DOMContentLoaded", (event) => {
if (platformPrefix == "Facet") {
ge("antennaReferencePoint").value = 61.4;
}
else if (platformPrefix == "Facet L-Band") {
else if (platformPrefix == "Facet L-Band" || platformPrefix == "Facet L-Band Direct") {
ge("antennaReferencePoint").value = 69.0;
}
else {
Expand Down Expand Up @@ -1567,12 +1571,22 @@ function abortHandler(event) {
}

function tcpBoxes() {
if (ge("enableTcpClient").checked || ge("enableTcpServer").checked) {
if (ge("enablePvtServer").checked || ge("enablePvtClient").checked) {
show("tcpSettingsConfig");
}
else {
hide("tcpSettingsConfig");
ge("wifiTcpPort").value = 2947;
ge("pvtServerPort").value = 2947;
}
}

function udpBoxes() {
if (ge("enablePvtUdpServer").checked) {
show("udpSettingsConfig");
}
else {
hide("udpSettingsConfig");
ge("pvtUdpServerPort").value = 10110;
}
}

Expand Down
Loading