# Functions
NewBinaryValue creates a CommandValue with binary payload and enforces the memory limit for event readings.
NewBoolArrayValue creates a CommandValue of Type BoolArray with the given value.
NewBoolValue creates a CommandValue of Type Bool with the given value.
NewCommandValue create a CommandValue according to the Type supplied.
NewFloat32ArrayValue creates a CommandValue of Type Float32Array with the given value.
NewFloat32Value creates a CommandValue of Type Float32 with the given value.
NewFloat64ArrayValue creates a CommandValue of Type Float64Array with the given value.
NewFloat64Value creates a CommandValue of Type Float64 with the given value.
NewInt16ArrayValue creates a CommandValue of Type Int16Array with the given value.
NewInt16Value creates a CommandValue of Type Int16 with the given value.
NewInt32ArrayValue creates a CommandValue of Type Int32Array with the given value.
NewInt32Value creates a CommandValue of Type Int32 with the given value.
NewInt64ArrayValue creates a CommandValue of Type Int64Array with the given value.
NewInt64Value creates a CommandValue of Type Int64 with the given value.
NewInt8ArrayValue creates a CommandValue of Type Int8Array with the given value.
NewInt8Value creates a CommandValue of Type Int8 with the given value.
NewStringValue creates a CommandValue of Type string with the given value.
NewUint16ArrayValue creates a CommandValue of Type Uint16Array with the given value.
NewUint16Value creates a CommandValue of Type Uint16 with the given value.
NewUint32ArrayValue creates a CommandValue of Type Uint32Array with the given value.
NewUint32Value creates a CommandValue of Type Uint32 with the given value.
NewUint64ArrayValue creates a CommandValue of Type Uint64Array with the given value.
NewUint64Value creates a CommandValue of Type Uint64 with the given value.
NewUint8ArrayValue creates a CommandValue of Type Uint8Array with the given value.
NewUint8Value creates a CommandValue of Type Uint8 with the given value.
ParseValueType could get ValueType from type name in string format if the type name cannot be parsed correctly, return String ValueType.
# Constants
Binary indicates that the value is a binary payload that is stored in CommandValue's ByteArrRes member.
Bool indicates that the value is a bool, stored in CommandValue's boolRes member.
BoolArray indicates that the value is array of bool, store in CommandValue's stringValue member.
DefaultFoloatEncoding indicates the representation of floating value of reading.
Float32 indicates that the value is a float32 that is stored in CommandValue's NumericRes member.
Float32Array indicates that the value is array of float32, store in CommandValue's stringValue member.
Float64 indicates that the value is a float64 that is stored in CommandValue's NumericRes member.
Float64Array indicates that the value is array of float64, store in CommandValue's stringValue member.
Int16 indicates that the value is a int16 that is stored in CommandValue's NumericRes member.
Int16Array indicates that the value is array of int16, store in CommandValue's stringValue member.
Int32 indicates that the value is a int32 that is stored in CommandValue's NumericRes member.
Int32Array indicates that the value is array of int32, store in CommandValue's stringValue member.
Int64 indicates that the value is a int64 that is stored in CommandValue's NumericRes member.
Int64Array indicates that the value is array of int64, store in CommandValue's stringValue member.
Int8 indicates that the value is a int8 that is stored in CommandValue's NumericRes member.
Int8Array indicates that the value is array of int8, store in CommandValue's stringValue member.
Policy limits should be located in global config namespace Currently assigning 16MB (binary), 16 * 2^20 bytes.
String indicates that the value is a string, stored in CommandValue's stringRes member.
Uint16 indicates that the value is a uint16 that is stored in CommandValue's NumericRes member.
Uint16Array indicates that the value is array of uint16, store in CommandValue's stringValue member.
Uint32 indicates that the value is a uint32 that is stored in CommandValue's NumericRes member.
Uint32Array indicates that the value is array of uint32, store in CommandValue's stringValue member.
Uint64 indicates that the value is a uint64 that is stored in CommandValue's NumericRes member.
Uint64Array indicates that the value is array of uint64, store in CommandValue's stringValue member.
Uint8 indicates that the value is a uint8 that is stored in CommandValue's NumericRes member.
Uint8Array indicates that the value is array of uint8, store in CommandValue's stringValue member.
# Structs
AsyncValues is the struct for sending Device readings asynchronously via ProtocolDrivers.
CommandRequest is the struct for requesting a command to ProtocolDrivers.
CommandValue is the struct to represent the reading value of a Get command coming from ProtocolDrivers or the parameter of a Put command sending to ProtocolDrivers.
DiscoveredDevice defines the required information for a found device.
Event is a wrapper of contract.Event to provide more Binary related operation in Device Service.
# Interfaces
ProtocolDiscovery is a low-level device-specific interface implemented by device services that support dynamic device discovery.
ProtocolDriver is a low-level device-specific interface used by by other components of an EdgeX Device Service to interact with a specific class of devices.
# Type aliases
ValueType indicates the type of value being passed back from a ProtocolDriver instance.