Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Device refactor for 2.0 #223

Open
wants to merge 2 commits into
base: next
Choose a base branch
from
Open

feat: Device refactor for 2.0 #223

wants to merge 2 commits into from

Conversation

jlacivita
Copy link
Contributor

No description provided.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is meant by clear text, exactly? Human readable?

### 3.1. Device Identifier
The Device module **MUST** expose a read-only, clear-text unique identifier of the device via the `Device.id` method.

This API will likely only be permitted to fisrt-party apps and **MUST** only be surfaced in the Manage SDK.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fisrt - typo


The `type` method **MUST** return one of:

- `STB`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this match the Comcast/Sky Ontology?


### 5.3. Make
The Device module **MUST** expose the read-only manufacturer of the device, e.g. "Raspberry Pi, ltd", via the `Device.make` method.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

String is implementation defined, e.g. a serialized string on EntOS devices.

### 5.5. Serial Number
The Device module **MUST** expose the read-only serial number of the device via the `Device.serialNumber` method.

This API will likely only be permitted to fisrt-party apps and **MUST** only be surfaced in the Manage SDK.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fisrt - typo


This API will likely only be permitted to fisrt-party apps and **MUST** only be surfaced in the Manage SDK.

The value of this **MUST** be unique within a make and model, even across distributors.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm... I would say that this is also implementation defined

**TODO**: Confirm RDK-M distributor name.

### 6.2. Partner
The Device module **MUST** expose the read-only distribution partner of the device, e.g. "RDK Demos".

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The is the partner id from the ontology?

**TODO**: Confirm RDK-M distributor name.

### 6.2. Partner
The Device module **MUST** expose the read-only distribution partner of the device, e.g. "RDK Demos".

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The partner may not be known - presumably return an empty string?

**NOTE**: we probably need a registry of Firebolt distributors to avoid collisions.

### 3.2. Anonymized Device Identifier
The Device module **MUST** expose a read-only, anonymized device identifier that is consistent across launches of the same app via the `Device.uid` method.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is meant by anonymized here?

## 3. Device Identifiers

### 3.1. Device Identifier
The Device module **MUST** expose a read-only, clear-text unique identifier of the device via the `Device.id` method.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the durability of this attribute? Does it survive device reset? Is it available even on a new device?


This API will likely only be permitted to fisrt-party apps and **MUST** only be surfaced in the Manage SDK.

The value of this **MUST** be unique within a distributor.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or is the scope implementation defined?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants