@@ -329,10 +329,17 @@ bool pointperfectProvisionDevice()
329329 snprintf (hardwareID, sizeof (hardwareID), " %02X%02X%02X%02X%02X%02X%02X" , btMACAddress[0 ], btMACAddress[1 ],
330330 btMACAddress[2 ], btMACAddress[3 ], btMACAddress[4 ], btMACAddress[5 ], productVariant);
331331
332+ char landingPageUrl[200 ] = " " ;
333+ if (productVariant == RTK_TORCH)
334+ snprintf (landingPageUrl, sizeof (landingPageUrl),
335+ " or goto https://www.sparkfun.com/rtk_torch_registration " );
336+ else
337+ systemPrintln (" pointperfectProvisionDevice() Platform missing landing page" );
338+
332339 systemPrintf (" This device has been deactivated. Please contact "
333- " support@sparkfun.com or goto https://www.sparkfun.com/pointperfect to renew the PointPerfect "
340+ " support@sparkfun.com %sto renew the PointPerfect "
334341 " subscription. Please reference device ID: %s\r\n " ,
335- hardwareID);
342+ landingPageUrl, hardwareID);
336343
337344 displayAccountExpired (5000 );
338345 }
@@ -342,10 +349,17 @@ bool pointperfectProvisionDevice()
342349 snprintf (hardwareID, sizeof (hardwareID), " %02X%02X%02X%02X%02X%02X%02X" , btMACAddress[0 ], btMACAddress[1 ],
343350 btMACAddress[2 ], btMACAddress[3 ], btMACAddress[4 ], btMACAddress[5 ], productVariant);
344351
352+ char landingPageUrl[200 ] = " " ;
353+ if (productVariant == RTK_TORCH)
354+ snprintf (landingPageUrl, sizeof (landingPageUrl),
355+ " or goto https://www.sparkfun.com/rtk_torch_registration " );
356+ else
357+ systemPrintln (" pointperfectProvisionDevice() Platform missing landing page" );
358+
345359 systemPrintf (" This device is not whitelisted. Please contact "
346- " support@sparkfun.com or goto https://www.sparkfun.com/pointperfect to get your subscription "
360+ " support@sparkfun.com %sto get the subscription "
347361 " activated. Please reference device ID: %s\r\n " ,
348- hardwareID);
362+ landingPageUrl, hardwareID);
349363
350364 displayNotListed (5000 );
351365 }
0 commit comments