Skip to content

Commit 040b6aa

Browse files
Merge pull request #14 from AMWA-TV/publish-reset-status-messages
Update models to extend reset to status messages
2 parents fd60eba + d13a7a0 commit 040b6aa

File tree

5 files changed

+28
-8
lines changed

5 files changed

+28
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This repository holds the source for this Specification, part of the family of [
2727
To quickly start your journey an implementation guide is available for [NMOS Control](https://specs.amwa.tv/info-006/).
2828
An open source media node framework is available in the form of [nmos-cpp](https://github.com/sony/nmos-cpp).
2929
An example mock application is available in the form of the [NMOS Device Control Mock Application](https://github.com/AMWA-TV/nmos-device-control-mock).
30-
A testing tool is available in the form of the [NMOS API Testing Tool](https://github.com/AMWA-TV/nmos-testing).
30+
A testing tool is available in the form of the [NMOS API Testing Tool](https://specs.amwa.tv/nmos-testing).
3131

3232
This specification relies on familiarity with the following existing specifications:
3333

docs/Overview.md

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ The list of all status transition counter properties is:
8888

8989
Devices MUST be able to reset ALL status transition counter properties in the following two ways:
9090

91-
* When a sender activation occurs if `autoResetCounters` is set to `true`
92-
* When a client invokes the `ResetCounters` method
91+
* When a sender activation occurs if `autoResetCountersAndMessages` is set to `true`
92+
* When a client invokes the `ResetCountersAndMessages` method
9393

94-
The `autoResetCounters` property allows clients to configure if ALL counters automatically reset with each Sender activation (by default devices MUST have this enabled). If this is enabled, senders MUST reset ALL counters to 0 after each activation. Devices MUST allow setting the `autoResetCounters` property to a value of `true` and MAY allow setting the property to `false`. This supports use cases where users do not want to reset automatically after each activation.
94+
The `autoResetCountersAndMessages` property allows clients to configure if ALL counters automatically reset with each Sender activation (by default devices MUST have this enabled). If this is enabled, senders MUST reset ALL counters to 0 after each activation. Devices MUST allow setting the `autoResetCountersAndMessages` property to a value of `true` and MAY allow setting the property to `false`. This supports use cases where users do not want to reset automatically after each activation.
9595

9696
### Sender overall status
9797

@@ -125,6 +125,26 @@ Devices MUST follow the rules listed below when mapping specific domain statuses
125125
|:--:|
126126
| _**Overall status mapping examples**_ |
127127

128+
### Sender status messages
129+
130+
The overall status and all sender specific domain statuses have an associated status message property.
131+
The list of all status message properties is:
132+
133+
* overallStatusMessage
134+
* linkStatusMessage
135+
* transmissionStatusMessage
136+
* externalSynchronizationStatusMessage
137+
* essenceStatusMessage
138+
139+
Resetting status message properties is achieved by assigning a value of `null` to them.
140+
141+
Devices MUST be able to reset ALL status message properties in the following two ways:
142+
143+
* When a sender activation occurs if `autoResetCountersAndMessages` is set to true
144+
* When a client invokes the `ResetCountersAndMessages` method
145+
146+
The `autoResetCountersAndMessages` property allows clients to configure if ALL status message properties automatically reset with each Sender activation (by default devices MUST have this enabled). If this is enabled, senders MUST reset ALL status message properties after each activation. Devices MUST allow setting the `autoResetCountersAndMessages` property to a value of `true` and MAY allow setting the property to `false`. This supports use cases where users do not want to reset automatically after each activation.
147+
128148
### Sender connectivity
129149

130150
[NcSenderMonitor](https://specs.amwa.tv/nmos-control-feature-sets/branches/main/monitoring/#ncsendermonitor) includes the following specific items covering the connectivity domain:
@@ -200,8 +220,8 @@ Devices with capabilities to detect transmission errors MUST implement the GetTr
200220

201221
Devices with capabilities to detect transmission errors MUST be able to reset ALL transmission error counters in the following two ways:
202222

203-
* When a sender activation occurs if `autoResetCounters` is set to `true`
204-
* When a client invokes the `ResetCounters` method
223+
* When a sender activation occurs if `autoResetCountersAndMessages` is set to `true`
224+
* When a client invokes the `ResetCountersAndMessages` method
205225

206226
Devices that do not have the capability to detect transmission errors MUST implement the GetTransmissionErrorCounters method but return an empty collection.
207227

@@ -396,9 +416,9 @@ Controllers MAY be capable of getting the transmission error counters from a dev
396416

397417
Controllers SHOULD NOT resort to a fast pace repetitive polling workflow for getting the transmission error counters of a device which offers them.
398418

399-
Controllers MAY be capable to invoke the ResetCounters method by using [IS-12 commands](https://specs.amwa.tv/is-12/latest/docs/Protocol_messaging.html#command-message-type).
419+
Controllers MAY be capable to invoke the ResetCountersAndMessages method by using [IS-12 commands](https://specs.amwa.tv/is-12/latest/docs/Protocol_messaging.html#command-message-type).
400420

401-
Controllers MAY be capable to set the autoResetCounters property using the [Set method](https://specs.amwa.tv/ms-05-02/latest/docs/NcObject.html#generic-getter-and-setter).
421+
Controllers MAY be capable to set the autoResetCountersAndMessages property using the [Set method](https://specs.amwa.tv/ms-05-02/latest/docs/NcObject.html#generic-getter-and-setter).
402422

403423
Controllers MAY be capable of getting the current value of ANY status transition counter property using the [Get method](https://specs.amwa.tv/ms-05-02/latest/docs/NcObject.html#generic-getter-and-setter) and indicate it to the User.
404424

-74 Bytes
Loading
1.06 KB
Loading
-144 Bytes
Loading

0 commit comments

Comments
 (0)