IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


PPPClie_ModemCtrl Struct Reference
[PPP type definitions]

Modem control structure. More...


Detailed Description

This structure is used when opening/closing a PPP modem connection.

Example for a modem control variable:

 PPPClie_ModemCtrl modem_ctrl =
 { 20,                // Idle interval in seconds after which the modem commands are executed.
   {{"+++","OK",2,2}, // Switch into modem command mode.
                      // If the modem is not connected it doesn't answer with the expected message "OK"
                      // -> the RTOS ppp driver task closes the PPP session.
    {"AT","OK",2,2},  // Check, if the modem is in command mode.
    {"ATO",NULL,0,0}  // Switch modem back to online mode.
   }
 };
Since:
SC2x3 V1.00 - CLIB V1.00

Data Fields

int ctrl_idle_secs
PPPClie_ModemCmd ctrlcmd [3]





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:40 2017 by Doxygen 1.6.1