package
1.3.4
Repository: https://github.com/plgd-dev/device.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
NewClient constructs a new local client.
NewClientFromConfig constructs a new local client from the proto configuration.
Creates a new cache for devices.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TokenFromOutgoingMD extracts token stored by CtxWithToken.
WithActionAfterOwn allows initialize configuration at the device via DTLS connection with preshared key.
WithActionDuringOwn allows to set deviceID of owned device and other staff over owner TLS.
No description provided by the author
WithDiscoveryConfiguration allows to setup multicast request.
No description provided by the author
No description provided by the author
WithInterface updates/gets resource with interface directly from a device.
WithOTM allows to set ownership transfer method, by default it is manufacturer.
WithOTMs allows to set ownership transfer methods, by default it is []OTMType{manufacturer}.
WithPresharedKey allows to set preshared key for owner.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OwnershipStatus_Owned the device is owned.
OwnershipStatus_OwnedByOther the device is owned by another user.
OwnershipStatus_ReadyToBeOwned the device is ready to be owned.
OwnershipStatus_Unknown the device is unsecure or cannot obtain his status.

# Structs

Client uses the underlying OCF local client.
No description provided by the author
No description provided by the author
No description provided by the author
DeviceDetails describes a device.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: use Device.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
CommonCommandOption option definition.
CreateOption option definition.
UpdateOption option definition.
No description provided by the author
No description provided by the author
No description provided by the author
GetDeviceByIPOption option definition.
GetDeviceOption option definition.
GetDevicesOption option definition.
No description provided by the author
GetOption option definition.
No description provided by the author
ObserveOption option definition.
OwnOption option definition.
No description provided by the author
UpdateOption option definition.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OwnershipStatus describes ownership status of the device.
No description provided by the author