RequestOptionCount Property

The number of records in the RequestOption arrays.

Syntax

ANSI (Cross Platform)
int GetRequestOptionCount();
int SetRequestOptionCount(int iRequestOptionCount); Unicode (Windows) INT GetRequestOptionCount();
INT SetRequestOptionCount(INT iRequestOptionCount);
@property (nonatomic,readwrite,assign,getter=requestOptionCount,setter=setRequestOptionCount:) int requestOptionCount;
- (int)requestOptionCount;
- (void)setRequestOptionCount:(int)newRequestOptionCount;
#define PID_COAP_REQUESTOPTIONCOUNT 14

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);

Default Value

0

Remarks

This property controls the size of the following arrays:

The array indices start at 0 and end at RequestOptionCount - 1.

This property is not available at design time.

Data Type

Integer

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