Skip to content

Commit

Permalink
Add tags for BCP-002-02 NMOS Asset Distinguishing Information
Browse files Browse the repository at this point in the history
  • Loading branch information
garethsb committed May 4, 2023
1 parent 841212e commit 508908d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions Development/cmake/NmosCppLibraries.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ set(NMOS_CPP_NMOS_HEADERS
nmos/api_downgrade.h
nmos/api_utils.h
nmos/api_version.h
nmos/asset.h
nmos/capabilities.h
nmos/certificate_handlers.h
nmos/certificate_settings.h
Expand Down
20 changes: 20 additions & 0 deletions Development/nmos/asset.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#ifndef NMOS_ASSET_H
#define NMOS_ASSET_H

#include "cpprest/json_utils.h"

// Asset Distinguishing Information
// See https://specs.amwa.tv/bcp-002-02/
// and https://specs.amwa.tv/nmos-parameter-registers/branches/main/tags/
namespace nmos
{
namespace fields
{
const web::json::field_as_value_or asset_manufacturer{ U("urn:x-nmos:tag:asset:manufacturer/v1.0"), web::json::value::array() };
const web::json::field_as_value_or asset_product_name{ U("urn:x-nmos:tag:asset:product/v1.0"), web::json::value::array() };
const web::json::field_as_value_or asset_instance_id{ U("urn:x-nmos:tag:asset:instance-id/v1.0"), web::json::value::array() };
const web::json::field_as_value_or asset_function{ U("urn:x-nmos:tag:asset:function/v1.0"), web::json::value::array() };
}
}

#endif
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This repository contains an implementation of the [AMWA Networked Media Open Spe
- [AMWA IS-08 NMOS Audio Channel Mapping Specification](https://specs.amwa.tv/is-08/)
- [AMWA IS-09 NMOS System Parameters Specification](https://specs.amwa.tv/is-09/) (originally defined in JT-NM TR-1001-1:2018 Annex A)
- [AMWA BCP-002-01 NMOS Grouping Recommendations - Natural Grouping](https://specs.amwa.tv/bcp-002-01/)
- [AMWA BCP-002-02 NMOS Asset Distinguishing Information](https://specs.amwa.tv/bcp-002-02/)
- [AMWA BCP-003-01 Secure Communication in NMOS Systems](https://specs.amwa.tv/bcp-003-01/)
- [AMWA BCP-004-01 NMOS Receiver Capabilities](https://specs.amwa.tv/bcp-004-01/)
- [AMWA BCP-006-01 NMOS With JPEG XS](https://specs.amwa.tv/bcp-006-01/)
Expand Down

0 comments on commit 508908d

Please sign in to comment.