Using the µVision Socket Interface: Macros

| Using the µVision Socket Interface Application Note 198 Control and monitor µVision via the built-in TCP/IP interface

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Macros
UVSOCK Interface (UVSOCK.h)

## Macros
#define | UV3_SOCKIF_VERS 229
#define | SOCK_NDATA 32768
#define | xFALSE ((xBOOL)0)
#define | xTRUE (!xFALSE)

## Description

## Macro Definition Documentation

#define SOCK_NDATA 32768

Maximum transfer size of a single UVSOCK packet (bytes)

No UVSOCK packet may be larger than SOCK_NDATA bytes. This includes both the packet header and packet data.

#define UV3_SOCKIF_VERS 229

UVSOCK API version number

This number is converted to an X.YY version number by the following formula:

     X.YY = UV3_SOCKIF_VERS / 100

For example:

     UV3_SOCKIF_VERS = 201 ==> V2.01

#define xFALSE ((xBOOL)0)

Boolean false

Value of false for the xBOOL data type

#define xTRUE (!xFALSE)

Boolean true

Value of true for the xBOOL data type