Documentation
¶
Overview ¶
Device info. https://github.com/openconnectivityfoundation/core/blob/master/swagger2.0/oic.wk.d.swagger.json
Index ¶
Constants ¶
View Source
const ( ResourceType = "oic.wk.d" ResourceURI = "/oic/d" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
ID string `json:"di,omitempty"`
ResourceTypes []string `json:"rt,omitempty"`
Interfaces []string `json:"if,omitempty"`
Name string `json:"n,omitempty"`
ManufacturerName []LocalizedString `json:"dmn,omitempty"`
ModelNumber string `json:"dmno,omitempty"`
ProtocolIndependentID string `json:"piid,omitempty"`
DataModelVersion string `json:"dmv,omitempty"`
SpecificationVersion string `json:"icv,omitempty"`
SoftwareVersion string `json:"sv,omitempty"`
EcosystemName string `json:"econame,omitempty"`
EcosystemVersion string `json:"ecoversion,omitempty"`
}
func (Device) GetManufacturerName ¶
GetManufacturerName finds the manufacturer name in English. https://tools.ietf.org/html/rfc5646#section-2.2.1
type LocalizedString ¶
LocalizedString struct.
Click to show internal directories.
Click to hide internal directories.