IsValidInt Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
IsValidInt Function
C
BOOL IsValidInt(
    DWORD* val
);
Description

This routine populates and validates the received variable for the data type as "ASN_INT" and the data length for max 4 bytes.

Preconditions
Parameters
Parameters 
Description 
val 
Pointer to memory where int var value will be stored.
 
ReturnValues 
TRUE - If valid integer type and value is received. 
FALSE 
Other than integer data type and value received . 
Remarks

None.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.