-
Notifications
You must be signed in to change notification settings - Fork 0
MetaData User Interface
bradreevmx edited this page Jul 20, 2018
·
2 revisions
This function returns the Tag/Data information for a given index for a ModelID.
| Type | Name | Description |
|---|---|---|
| address | ModelId | ModelId for the model. |
| uint | Index | Tag Index |
| Type | Name | Description |
|---|---|---|
| string | Tag | MetaData Tag |
| string | Data | Meta data for the associated tag |
var ModelId = "0xbd4d579e0819c4ab3d1b6d59b8429218fc923507"
var Index = 0
MeatData.Read(ModelId, Index)
This function returns the total number of tags for a single device.
| Type | Name | Description |
|---|---|---|
| address | ModelId | ModelId for the model. |
| Type | Name | Description |
|---|---|---|
| uint | ReadCount | Number of firmware versions which the manufacturer has posted |
var ModelId = "0xbd4d579e0819c4ab3d1b6d59b8429218fc923507"
MetaData.ReadCount(ModelId)