|
4 | 4 |
|
5 | 5 | Short techie document describing the way a STAC communicates with a Roland device using the Smart Tally protocol.
|
6 | 6 |
|
7 |
| -This is only relevant if you are using a STAC in an emulated environment. That is where the STAC is not communicating with a physical Roland device but is operating in a system that emulates a Roland device, using the Smart Tally protocol. |
| 7 | +This is only relevant if you are using a STAC in an emulated environment. That is, where the STAC is not communicating with a physical Roland device but is operating in a system that emulates a Roland device using the Smart Tally protocol. |
8 | 8 |
|
9 | 9 | ## Initiation
|
10 | 10 |
|
11 |
| -When using a smart device or computer with a full browser implementation, the initial connection sequence to the Roland switch via that devices' web browser will cause the Roland switch to send a web page containing a set of scripts used by the browser allowing the user to select a specific tally channel to monitor and for subsequent status requests to the Roland switch. |
| 11 | +When using a smart device or computer with a full browser implementation, the initial connection sequence to the Roland switch via that devices' web browser will cause the Roland switch to send a web page containing a set of scripts used by the browser allowing the user to select a specific tally channel to monitor and then for subsequent status requests to the Roland switch. |
12 | 12 |
|
13 |
| -The STAC, having no capacity to run the scripts sent by the Roland switch, bypasses that initial initialization sequence. It instead establishes a connection to the Roland switch and them immediately starts to poll the Roland switch for the tally status of the channel selected by the user during setup of the STAC. |
| 13 | +The STAC, having no capacity to run the scripts sent by the Roland switch, bypasses that initial initialization sequence. It instead establishes a connection to the Roland switch and then immediately starts to poll the Roland switch for the tally status of the channel selected by the user during setup of the STAC. |
14 | 14 |
|
15 |
| -## STAC Status Inquiry |
| 15 | +## Status Request |
16 | 16 |
|
17 | 17 | When operating, the STAC continuously polls the Roland switch by sending to it an ASCII character string in the following format:
|
18 | 18 |
|
19 | 19 | `GET /tally/[number]/status`
|
20 | 20 | followed by a `<return>` and a `<newline>` character.
|
21 | 21 |
|
22 |
| -Here, `[number]` is the ASCII integer representation of tally channel number of the Roland device for which status is being requested, `1` to `8`. |
| 22 | +Where: `[number]` is the ASCII integer representation of the tally channel number of the Roland device for which status is being requested; `1` to `8`. |
23 | 23 |
|
24 | 24 | This string is sent to the IP address and port number specified by the user when the STAC is configured via a web browser. Refer to the *STAC Users Guide.md* in this repository.
|
25 | 25 |
|
26 | 26 | ## Expected Response
|
27 | 27 |
|
28 |
| -The STAC is expecting a response to a status inquiry to be an ASCII character string that is exactly one of: |
| 28 | +The STAC is expecting a response to a status request to be an ASCII character string that is exactly one of: |
29 | 29 |
|
30 | 30 | `onair`
|
31 | 31 | `selected`
|
32 | 32 | `unselected`
|
33 | 33 |
|
34 |
| -With no `<return>` or `<newline>` characters added. |
| 34 | +With no `<return>` or `<newline>` characters appended. |
| 35 | + |
| 36 | +Capitalization is significant. |
35 | 37 |
|
36 | 38 | Any other response will cause the STAC to display an error state as described in the *Troubleshooting* section of the *STAC Users Guide.md*.
|
37 | 39 |
|
| 40 | +## Other Considerations |
| 41 | + |
| 42 | +The STAC send no identifiable information directly in the status request. Thus in emulated environments, using the requested tally channel number as a STAC identifier may limit the number of physical STACs that can be used. |
| 43 | + |
| 44 | +Other methods, such as using the MAC address or IP address assigned to a STAC from the router, may be considered. |
| 45 | + |
38 | 46 | ---
|
39 | 47 | ### Revision History
|
| 48 | +**2021-04-08:** Add "Other Considerations" section. Correct typos. |
40 | 49 | **2021-04-05:** First release.
|
41 | 50 |
|
| 51 | + |
0 commit comments