TRANSFERPORTSTATUS

Display the state of the USB transfer port

Platform:

PwrPak7

PwrPak7M variants do not support this log.

This log displays the current state of the USB transfer port.

Message ID: 2114

Log Type: Asynch

Recommended Input:

log transferportstatusa onchanged

ASCII Example:

#TRANSFERPORTSTATUSA,USB1,0,50.0,FINESTEERING,2209,515351.867,02000020,4b3f,16809;USBSTICK,HOST*c9620422

Field

Field Type

Description

Format

Binary Bytes

Binary Offset

1

Log header

TRANSFERPORTSTATUS header

For information about log headers, see ASCII, Abbreviated ASCII or Binary.

-

H

0

2

USB Detection Type

Type of connection detected
See Table: USB Detection Type

Enum

4

H

3

USB Mode

Current USB operation mode
See Table: USB Mode

Enum

4

H+4

4

xxxx

32-bit CRC (ASCII and Binary only)

Hex

4

H+8

5

[CR][LF]

Sentence terminator (ASCII only)

-

-

-

USB Detection Type

Binary

ASCII

Description

0

NONE

Nothing is detected

1

USBSTICK

A flash drive is detected

2

PC

A computer is detected

3

ERROR

This is an error state

USB Mode

Binary

ASCII

Description

0

DEVICE

The USB port is in device mode

1

HOST

The USB port is in host mode

2

OTG

The USB port is in OTG mode

3

INVALID

The USB port is in an invalid mode

4

NONE

The USB port is not in an operation mode

5

TRANSITION

The USB port operation mode is transitioning