tfPppCallbackIoctl

Jump to: navigation, search

Table of Contents >> Optional Protocols >> PPP Interface


#include <trsocket.h>


int tfPppCallbackIoctl (
ttUserInterface interfaceHandle,
int type,
char * dataPtr,
int dataLength
);


Function Description

This function allows the application to request an action or notify Treck PPP of an external event.


Parameters

  • interfaceHandle
    The interface to receive the external action/event.
  • type
    Action/event type (described below).
  • dataPtr
    Pointer to the data associated with the action/event.
  • dataLength
    Length of the data pointed to by dataPtr.


Action/Event List

Name Description
TM_PPP_USER_EVENT_CONNECTED Inform Treck PPP that the callback has completed, the network is connected and PPP can resume negotiations with the other station. dataPtr and dataLength are not used.


Returns

  • TM_ENOERROR
    Success


Table of Contents >> Optional Protocols >> PPP Interface