Skip to content

Commit 5f9d604

Browse files
committed
highest_pri and lowest_pri are used in Node only
1 parent 85d5443 commit 5f9d604

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

Development/nmos/settings.h

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,13 @@ namespace nmos
104104
// is10_versions [registry, node]: used to specify the enabled API versions for a version-locked configuration
105105
const web::json::field_as_array is10_versions{ U("is10_versions") }; // when omitted, nmos::is10_versions::all is used
106106

107+
// is12_versions [node]: used to specify the enabled API versions for a version-locked configuration
108+
const web::json::field_as_array is12_versions{ U("is12_versions") }; // when omitted, nmos::is12_versions::all is used
109+
107110
// pri [registry, node]: used for the 'pri' TXT record; specifying nmos::service_priorities::no_priority (maximum value) disables advertisement completely
108111
const web::json::field_as_integer_or pri{ U("pri"), 100 }; // default to highest_development_priority
109112

110-
// highest_pri, lowest_pri [registry, node]: used to specify the (inclusive) range of suitable 'pri' values of discovered APIs, to avoid development and live systems colliding
113+
// highest_pri, lowest_pri [node]: used to specify the (inclusive) range of suitable 'pri' values of discovered APIs, to avoid development and live systems colliding
111114
const web::json::field_as_integer_or highest_pri{ U("highest_pri"), 0 }; // default to highest_active_priority; specifying no_priority disables discovery completely
112115
const web::json::field_as_integer_or lowest_pri{ U("lowest_pri"), (std::numeric_limits<int>::max)() }; // default to no_priority
113116

@@ -146,6 +149,8 @@ namespace nmos
146149
const web::json::field_as_integer_or channelmapping_port{ U("channelmapping_port"), 3215 };
147150
// system_port [node]: used to construct request URLs for the System API (if not discovered via DNS-SD)
148151
const web::json::field_as_integer_or system_port{ U("system_port"), 10641 };
152+
// control_protocol_ws_port [node]: used to construct request URLs for the Control Protocol websocket, or negative to disable the control protocol features
153+
const web::json::field_as_integer_or control_protocol_ws_port{ U("control_protocol_ws_port"), 3218 };
149154

150155
// listen_backlog [registry, node]: the maximum length of the queue of pending connections, or zero for the implementation default (the implementation may not honour this value)
151156
const web::json::field_as_integer_or listen_backlog{ U("listen_backlog"), 0 };
@@ -448,6 +453,20 @@ namespace nmos
448453
// If the Resource Server fails to verify a token using all public keys available it MUST reject the token."
449454
// see https://specs.amwa.tv/is-10/releases/v1.0.0/docs/4.5._Behaviour_-_Resource_Servers.html#public-keys
450455
const web::json::field_as_integer_or service_unavailable_retry_after{ U("service_unavailable_retry_after"), 5};
456+
457+
// manufacturer_name [node]: the manufacturer name of the NcDeviceManager used for NMOS Control Protocol
458+
// See https://specs.amwa.tv/ms-05-02/branches/v1.0.x/docs/Framework.html#ncdevicemanager
459+
const web::json::field_as_string_or manufacturer_name{ U("manufacturer_name"), U("") };
460+
461+
// product_name/product_key/product_revision_level [node]: the product description of the NcDeviceManager used for NMOS Control Protocol
462+
// See https://specs.amwa.tv/ms-05-02/branches/v1.0.x/docs/Framework.html#ncproduct
463+
const web::json::field_as_string_or product_name{ U("product_name"), U("") };
464+
const web::json::field_as_string_or product_key{ U("product_key"), U("") };
465+
const web::json::field_as_string_or product_revision_level{ U("product_revision_level"), U("") };
466+
467+
// serial_number [node]: the serial number of the NcDeviceManager used for NMOS Control Protocol
468+
// See https://specs.amwa.tv/ms-05-02/branches/v1.0.x/docs/Framework.html#ncdevicemanager
469+
const web::json::field_as_string_or serial_number{ U("serial_number"), U("") };
451470
}
452471
}
453472
}

0 commit comments

Comments
 (0)