Using the µVision Socket Interface: SSTR Struct Reference

| 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

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
SSTR Struct Reference
Structs

## Data Fields
int | nLen
| Length of name (including NULL terminator) More...
char | szStr [256]
| NULL terminated name string. More...

## Description

String data

Transfers string data between the client and uVision.

NOTE: In some cases, the string may be longer the the statically defined szStr string length.

This structure is used in the following messages:

Client ==> uVision (Request)

- UV_PRJ_ENUM_FILES (Set nLen to the length of the NULL terminated string in szStr)

Client <== uVision (Async)

- UV_PRJ_ENUM_GROUPS_ENU (All members are written by uVision)
- UV_PRJ_ENUM_FILES_ENU (All members are written by uVision)
- UV_PRJ_ENUM_TARGETS_ENU (All members are written by uVision)
- UV_PRJ_GET_CUR_TARGET (All members are written by uVision)*
- UV_PRJ_SET_OUTPUTNAME (All members are written by uVision)
- UV_PRJ_GET_OUTPUTNAME (All members are written by uVision)
- UV_DBG_CMD_OUTPUT (All members are written by uVision)
- UV_DBG_EVTR_ENUMSCVDFILES_ENU (All members are written by uVision)

## Field Documentation

int SSTR::nLen

Length of name (including NULL terminator)

char SSTR::szStr[256]

NULL terminated name string.