This is a simple HTML app to run from a desktop/laptop system which can be used to communicate with a remote Brightsign player via bsn.cloud using REST API to send a UDP message.
Download the index.html file on your desktop/laptop and launch it with the Chrome web browser.
Make sure to enter in the relevant fields:
- Network Name
- Username
- Password
- client_id
- client_secret
- Device Serial number
Then click on the "Authenticate" button to obtain a token to allow communication with the bsn.cloud control server. If successful you should see an access_token displayed in the "Request Status" field.
![image](https://private-user-images.githubusercontent.com/136584791/345150623-f0f45cc0-f084-42b9-b31c-c7269877dcc7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjQ2NDksIm5iZiI6MTczOTYyNDM0OSwicGF0aCI6Ii8xMzY1ODQ3OTEvMzQ1MTUwNjIzLWYwZjQ1Y2MwLWYwODQtNDJiOS1iMzFjLWM3MjY5ODc3ZGNjNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxMjU5MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MzQ3ZGY5N2QyNTYyNjZhYjgwZTNjN2I3MGM4ZjA5MjYzMDQ0MTExNGJmMWU2N2M1ZWZmMjUxOTM5NTE0MDNlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ODt9eIhJ1D2AO-K59l2sypTETw-mQYne3Hfc7IrV9Bo)
After authenticating with the bsn.cloud control server, you can click on one of the Pre-programmed UDP button to send a UDP message (play1, play2 or play3) or enter a UDP command in the "Enter Custom UDP Command below" field then click on the "Send Custom UDP" button to send a UDP message to the target player (specified in Device Serial# field)
![image](https://private-user-images.githubusercontent.com/136584791/345154639-85814146-a15b-4155-8a04-54e912fdca44.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjQ2NDksIm5iZiI6MTczOTYyNDM0OSwicGF0aCI6Ii8xMzY1ODQ3OTEvMzQ1MTU0NjM5LTg1ODE0MTQ2LWExNWItNDE1NS04YTA0LTU0ZTkxMmZkY2E0NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxMjU5MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jN2Y5ODM2NzZhZjg0OTk2YzE5MmJkNjEyNmUzZTM0MWJiZjg2OTg3MWU1MGFlNDc1NDg5ZjQzMWZlYzNiZmRjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.uybfF-QLveEHcrox81sTT1MARAi3QOTgKm0ywXc7TUM)