Expand | ||
---|---|---|
| ||
...
The BrightSign shell which allows you to start scripts and some other device management tasks (see https://brightsign.atlassian.net/wiki/spaces/DOC/pages/1988100153/BrightSign + Shell +and+BrightScript+Debugger#Shell- Commands)
The BrightScript debugger which is used to examine and manipulate a running BrightScript process
...
If the serial console has been enabled (either temporarily or persistently), a
Starting BrightSign Application...
message will appear after the player reboots (which can take up to 30 seconds). Press and hold the SVC button until the BrightSign prompt displays.Put an
autorun.brs
that only containsend
on the storage device. A single line ofend
is sufficient. The script will execute and when it ends as instructed you’ll be left at the BrightSign shell prompt.If you have removable storage such as a microSD card, eject it. Reboot the player and press the SVC button. If you are accessing the player through Telnet, you will have to restart the Telnet connection after the player reboots using the
telnet {{your player IP address}} 23
command.
BrightScript Console
The BrightScript console should only be used in development environments when writing software or debugging your player’s application software. It should be disabled for production deployments.
When the BrightScript debug console is enabled, if a runtime error is encountered from a BrightScript script, the BrightSign OS breaks on the line of the runtime error, allowing you to step through the file.
...
The console scope is set to the function that was running when the BrightScript debugger is invoked, either by choice or automatically. While in the console, you can type in any BrightScript statement; it will then be compiled and executed in the current context. If the interpreter has exited the running script, you can instead use the BrightSign shell command set.
...