Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
(ARM).Porting TCP-IP programmer's guide.Ver 1.4.pdf
Скачиваний:
31
Добавлен:
23.08.2013
Размер:
2.79 Mб
Скачать

Chapter 6

Modem Functions

The files in the \modem subdirectory are provided as an example of how to interface a Hayes-compatible modem to the PPP stack. The functions implemented within these files are described in this chapter.

The modem functions are accessed from the PPP stack by way of the ppp_line structure described in Serial line drivers on page 5-10. In turn, the modem functions make calls to the UART device driver in the \pid7tdm directory. The UART driver is documented in uart.c description on page 10-17.

This chapter contains the following sections:

dialer.c on page 6-2

login.c on page 6-18

mdmport.c on page 6-24.

ARM DUI 0079B

Copyright © 1998 and 1999 ARM Limited. All rights reserved.

6-1