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"`
ResourceTypes []string `json:"rt"`
Interfaces []string `json:"if"`
Name string `json:"n"`
ManufacturerName []LocalizedString `json:"dmn"`
ModelNumber string `json:"dmno"`
ProtocolIndependentID string `json:"piid"`
}
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.