ResponseOptionValue Property

The option's value.

Syntax

ANSI (Cross Platform)
char* GetResponseOptionValue(int iResponseOptionIndex);
int SetResponseOptionValue(int iResponseOptionIndex, const char* lpszResponseOptionValue); Unicode (Windows) LPWSTR GetResponseOptionValue(INT iResponseOptionIndex);
INT SetResponseOptionValue(INT iResponseOptionIndex, LPCWSTR lpszResponseOptionValue);
- (NSString*)responseOptionValue:(int)responseOptionIndex;
- (void)setResponseOptionValue:(int)responseOptionIndex:(NSString*)newResponseOptionValue;
#define PID_COAP_RESPONSEOPTIONVALUE 30

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_CoAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_CoAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_CoAP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The option's value.

This property specifies the option's value. The ResponseOptionValueType property specifies the data type of the value.

The ResponseOptionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResponseOptionCount property.

This property is not available at design time.

Data Type

String

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