Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM network protocols command-line interface reference guide.Ver 1.6.pdf
Скачиваний:
30
Добавлен:
23.08.2013
Размер:
1.61 Mб
Скачать

Diagnostic Commands

3.5Modem commands

This section lists the modem diagnostic commands:

hangup on page 3-26

modem on page 3-27.

3.5.1hangup

The hangup command hangs up (and resets) the modem. This also shuts down all protocols (for example, PPP) running over that interface.

This command is included in the menu list if USE_MODEM was defined in ipport.h.

Syntax

hangup

3-26

Copyright © 2000-2001 ARM Limited. All rights reserved.

ARM DUI 0145B

Diagnostic Commands

3.5.2modem

The modem command displays various statistics related to modem usage, for example, dialer and UART information.

This command is included in the menu list if USE_MODEM and NET_STATS were defined in ipport.h.

Syntax

modem

Example

INET> modem

unit 0, dialer state: AUTOANS last baud rate: 33600

Not implemented for this UART

Stats for uart 1

 

number of putchar calls

: 984

tx interrupts

: 0

tx drops

(buffer full)

: 0

tx chars

(to uart)

: 984

number of getchar calls

: 1652043

rx interrupts

: 63

rx timeout interrupts

: 32

rx chars

(from uart)

: 1554

rx drops

 

: 0

rx overrun events

: 0

rx break

events

: 0

rx parity

errors

: 0

rx framing errors

: 0

modem

interrupts

: 2

tx fc stop (CTS lowered)

: 0

tx fc go

(CTS raised)

: 0

rx fc stop (lowered RTS)

: 0

rx fc go

(raised RTS)

: 0

INET>

 

 

ARM DUI 0145B

Copyright © 2000-2001 ARM Limited. All rights reserved.

3-27