@@ -329,10 +329,17 @@ bool pointperfectProvisionDevice()
329
329
snprintf (hardwareID, sizeof (hardwareID), " %02X%02X%02X%02X%02X%02X%02X" , btMACAddress[0 ], btMACAddress[1 ],
330
330
btMACAddress[2 ], btMACAddress[3 ], btMACAddress[4 ], btMACAddress[5 ], productVariant);
331
331
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
+
332
339
systemPrintf (" This device has been deactivated. Please contact "
333
- " [email protected] or goto https://www.sparkfun.com/pointperfect to renew the PointPerfect "
340
+ " [email protected] %sto renew the PointPerfect "
334
341
" subscription. Please reference device ID: %s\r\n " ,
335
- hardwareID);
342
+ landingPageUrl, hardwareID);
336
343
337
344
displayAccountExpired (5000 );
338
345
}
@@ -342,10 +349,17 @@ bool pointperfectProvisionDevice()
342
349
snprintf (hardwareID, sizeof (hardwareID), " %02X%02X%02X%02X%02X%02X%02X" , btMACAddress[0 ], btMACAddress[1 ],
343
350
btMACAddress[2 ], btMACAddress[3 ], btMACAddress[4 ], btMACAddress[5 ], productVariant);
344
351
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
+
345
359
systemPrintf (" This device is not whitelisted. Please contact "
346
- " [email protected] or goto https://www.sparkfun.com/pointperfect to get your subscription "
360
+ " [email protected] %sto get the subscription "
347
361
" activated. Please reference device ID: %s\r\n " ,
348
- hardwareID);
362
+ landingPageUrl, hardwareID);
349
363
350
364
displayNotListed (5000 );
351
365
}
0 commit comments