Skip to content

Device Security User Interface

bradreevmx edited this page Jul 20, 2018 · 3 revisions

API List

Read
ReadCount
ReadAdminList


Read

This function returns the security information for a specific version for a ModelID.

Input Parameters

Type Name Description
address ModelId ModelId for the model.
uint Index Version Index

Return Values

Type Name Description
string MUD IETF Manufacturer Usage Descriptor
string SecurityMetaData Meta data for regional security information
string VersionName Version name, which should match the compliance record
string URI Firmware update URI

Example

var ModelId = "0xbd4d579e0819c4ab3d1b6d59b8429218fc923507"
var Index = 0
DeviceSecurity.Read(ModelId, Index)

ReadCount

This function returns the total number of versions for a single device.

Input Parameters

Type Name Description
address ModelId ModelId for the model.

Return Values

Type Name Description
uint ReadCount Number of firmware versions which the manufacturer has posted

Example

var ModelId = "0xbd4d579e0819c4ab3d1b6d59b8429218fc923507"
DeviceSecurity.ReadCount(ModelId)

Clone this wiki locally