Skip to content

Commit c34fc46

Browse files
committed
Add paintGettingCredentials
1 parent e3e0c12 commit c34fc46

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Firmware/RTK_Everywhere/Display.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3010,6 +3010,11 @@ void paintGettingKeys()
30103010
displayMessage("Getting Keys", 2000);
30113011
}
30123012

3013+
void paintGettingCredentials()
3014+
{
3015+
displayMessage("Getting Creds", 2000);
3016+
}
3017+
30133018
void paintEthernetConnected()
30143019
{
30153020
displayMessage("Ethernet Connected", 1000);

Firmware/RTK_Everywhere/menuPP.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,13 +1532,16 @@ void provisioningUpdate()
15321532
else if (networkConsumerIsConnected(NETCONSUMER_POINTPERFECT_KEY_UPDATE))
15331533
{
15341534
if (settings.debugPpCertificate)
1535-
systemPrintln("PointPerfect key update connected to network");
1535+
systemPrintln("PointPerfect key/credentials update connected to network");
15361536

15371537
// Go get latest keys
15381538
ztpResponse = ZTP_NOT_STARTED; // HTTP_Client will update this
15391539
httpClientModeNeeded = true; // This will start the HTTP_Client
15401540
provisioningStartTime_millis = millis(); // Record the start time so we can timeout
1541-
paintGettingKeys();
1541+
if (pointPerfectServiceUsesKeys() == true)
1542+
paintGettingKeys();
1543+
else
1544+
paintGettingCredentials();
15421545
networkUserAdd(NETCONSUMER_POINTPERFECT_KEY_UPDATE, __FILE__, __LINE__);
15431546
provisioningSetState(PROVISIONING_STARTED);
15441547
}

0 commit comments

Comments
 (0)