目录

Rcp_FormFieldValue

Overview

Simple form data field value. For details, please refer to Rcp_Form and Rcp_MultipartFormFieldValue.

Since: 5.0.0(12)

Related module: RemoteCommunication

Header file: rcp.h

Summary

[h2]Member Variables

Name Description
Rcp_FormValueType type Data type used in the union structure.

union {

uint8_t varBool;

int32_t varInt32;

int64_t varInt64;

double varDouble;

Rcp_Buffer varStr;

} data

Boolean type. The value 0 indicates false, and a value greater than 0 indicates true.

int32 type.

int64 type.

Double type.

String type.

struct Rcp_FormFieldValue * next Pointer to the next Rcp_FormFieldValue in the data chain.

Member Variable Description

[h2]type

Rcp_FormValueType Rcp_FormFieldValue::type

Description

Data type used in the union structure.

[h2]varBool

uint8_t Rcp_FormFieldValue::varBool

Description

Boolean type. The value 0 indicates false, and a value greater than 0 indicates true.

[h2]varDouble

double Rcp_FormFieldValue::varDouble

Description

Double type.

[h2]varInt32

int32_t Rcp_FormFieldValue::varInt32

Description

int32 type.

[h2]varInt64

int64_t Rcp_FormFieldValue::varInt64

Description

int64 type.

[h2]varStr

Rcp_Buffer Rcp_FormFieldValue::varStr

Description

String type.