Using the µVision Socket Interface: Client Defines

| 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
Client Defines
UVSC Client Interface (UVSC_C.h)

## Macros
#define | _UVSC_FUNC_ extern __declspec(dllexport)
#define | UVSC_MAX_CLIENTS 10
#define | UVSC_MAX_API_STR_SIZE 1024
#define | UVSC_PORT_AUTO 0
#define | UVSC_MIN_AUTO_PORT 1
#define | UVSC_MAX_AUTO_PORT 65535

## Description

## Macro Definition Documentation

#define _UVSC_FUNC_ extern __declspec(dllexport)

#define UVSC_MAX_API_STR_SIZE 1024

Maximum string size

Maximum string size where strings are passed to or returned from API functions such as UVSC_OpenConnection.

#define UVSC_MAX_AUTO_PORT 65535

Maximum auto port value

The maximum port passed to UVSC_Init must not be more than this.

#define UVSC_MAX_CLIENTS 10

Maximum number of clients UVSC can support

UVSC can support this many clients. Refer to UVSC_Init for details.

#define UVSC_MIN_AUTO_PORT 1

Minimum auto port value

The minimum port passed to UVSC_Init must not be less than this.

#define UVSC_PORT_AUTO 0

Auto port

This define is used to indicate that automatic port selection is wanted.