File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -622,13 +622,15 @@ void httpClientUpdate()
622
622
else if (pointPerfectNtripNeeded () == true )
623
623
{
624
624
// We received a JSON blob containing NTRIP credentials
625
+ // Note: this prints the userName and password, which should probably be kept secret?
626
+ // TODO: comment this
625
627
systemPrintf (" PointPerfect response: %s\r\n " , response.c_str ());
626
628
627
629
// Check if the JSON blob contains rtcmCredentials
628
630
// If this is the first time this device has connected to ThingStream, rtcmCredentials
629
- // will not be present and we need to retry
631
+ // endpoint will not be present and we need to retry
630
632
// httpClientConnectLimitReached will prevent excessive retries
631
- if ((const char *)((*jsonZtp)[" rtcmCredentials" ]) == nullptr )
633
+ if ((const char *)((*jsonZtp)[" rtcmCredentials" ][ " endpoint " ] ) == nullptr )
632
634
{
633
635
systemPrintln (" ERROR - rtcmCredentials not found!\r\n " );
634
636
httpClientRestart (); // Try again - allow time for ThingStream to finish activating the device on plan
You can’t perform that action at this time.
0 commit comments