platform

package
v2.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Overview

Platform info https://github.com/openconnectivityfoundation/core/blob/master/swagger2.0/oic.wk.p.swagger.json

Index

Constants

View Source
const (
	ResourceType = "oic.wk.p"
	ResourceURI  = "/oic/p"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	Interfaces                      []string `json:"if,omitempty"`
	ResourceTypes                   []string `json:"rt,omitempty"`
	PlatformIdentifier              string   `json:"pi"`
	ManufacturerName                string   `json:"mnmn"`
	SerialNumber                    string   `json:"mnsel,omitempty"`
	ManufacturersURL                string   `json:"mnml,omitempty"`
	ManufacturersSupport            string   `json:"mnsl,omitempty"`
	ModelNumber                     string   `json:"mnmo,omitempty"`
	ManufacturersDefinedInformation string   `json:"vid,omitempty"`
	PlatformVersion                 string   `json:"mnpv,omitempty"`

	// custom properties
	Version uint32 `json:"x.org.iotivity.version,omitempty"`
}

func (Platform) GetVersion added in v2.2.3

func (p Platform) GetVersion() (uint8, uint8, uint8, uint8)

func (Platform) GetVersionString added in v2.2.3

func (p Platform) GetVersionString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL