IPWorks IoT 2020 Python Edition

Questions / Feedback?

request_option_value_type Property

The option's value data type.

Syntax

def get_request_option_value_type(request_option_index: int) -> int: ...
def set_request_option_value_type(request_option_index: int, value: int) -> None: ...

Default Value

0

Remarks

The option's value data type.

This property specifies the data type of the option's request_option_value. If request_option_number is set to a recognized value (refer to the table in its documentation), this property will automatically be set to the correct value. The table below shows the possible value types, their descriptions, and how to format the data assigned to request_option_value.

Type Description Value Format
ovtString (0) (default) String String
ovtUInt (1) Unsigned integer 0 to 4294967295
ovtBinary (2) Binary data Hex-encoded byte string

The request_option_index parameter specifies the index of the item in the array. The size of the array is controlled by the request_option_count property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 Python Edition - Version 20.0 [Build 8265]