Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Working with Device Registration Example Code

I am a new Roku developer and am just getting started with BrightScript.

I have the Device Registration example code running on my Roku HD3 and this is talking to a local server running PHP. The process works, but I have noticed that the while loop with the delay doesn't really get executed. I've logged all of the GET/POST calls to the server and it seems that the Roku is making hundreds of requests to the "getRegResult" endpoint - this is within the "checkRegistrationStatus" function.

Can anyone point me in the right direction to getting this example code working properly (eg using the retryInterval/retryDuration variables)

Thanks,
Alex
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!