CustomResource Object


Description:

Specifies parameter to configure Custom Resource data

Parents: CustomResourceValue

CustomResource Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
DataType

CoAP Resource Data Type

Type: enum

Default: INTEGER

Possible Values:

Value Description
INTEGER

CoAP Resource Integer Datatype

FLOAT

CoAP Resource float Datatype

STRING

CoAP Resource string Datatype

FloatEnd

Specifies Resource end value in float type

Type: double

Default: 100.0

FloatStart

Specifies Resource start value in float type

Type: double

Default: 0.0

FloatStep

Specifies Resource step value in float type

Type: double

Default: 1

IntEnd

Specifies Resource end value in integer type

Type: u32

Default: 100

IntStart

Specifies Resource start value in integer type

Type: u32

Default: 0

IntStep

Specifies Resource step value in integer type

Type: u32

Default: 1

ModifierType

CoAP Resource Modifier Type

Type: enum

Default: INCREMENT

Possible Values:

Value Description
INCREMENT

CoAP Resource Increment Modifier type

RANDOM

CoAP Resource Random Modifier type

ResourceId

Resource Identifier

Type: u32

Default: 0000

ResourceName

CoAP Resource Name

Type: string

Default: custom

StringValue

Specifies Resource value in string type

Type: string

Default: "" (empty string)

CustomResource Read-Only Attributes

There are no read-only attributes.