Philips Bluetooth QuickStart Kit GPS Receiver User Manual


 
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 61
Copyright 2004-2005 © Embedded Artists AB
B.5.11 pppReqAuth
void pppReqAuth( tPppDev* pDev, tBool on )
Enable/disable request authentication. It is disabled by default. A request for
authentication is normally done by a server. A client must send a valid user ID and
password in order for PPP to establish a connection. The function 'pppRemoteUser' is
used to register user IDs and passwords that clients can use to authenticate themselves.
Parameters:
[in] pDev - device structure
[in] on - TRUE if authentication should be requested; otherwise FALSE.
B.5.12 pppOpen
pppOpen( tPppDev* pDev, tBool restart )
Open/start PPP. If all layers (IPCP, PAP, LCP) are in the INITIAL state, i.e. open has
not been called before or PPP has been completely closed down, the start command
string for the link will be parsed and executed. The start command string is specified and
assigned to a PPP device by calling the 'linkSetStart' function.
Parameters:
[in] pDev - device structure
[in] restart - set this to TRUE if PPP should automatically restart itself if it was
closed down due to failed peer authentication. If we request authentication from a
peer but the peer fails in authenticating itself, PPP will be closed down. If restart is
set to TRUE, PPP will restart after PPP_RESTART_TO ms by first calling pppClose
and then pppOpen.
B.5.13 pppClose
void pppClose( tPppDev* pDev )
Close PPP. All layers will be closed down, terminate-request will be sent and the close
command string for the link will be parsed and executed. The close command string is
specified and assigned to a PPP device by calling the 'linkSetClose' function.
Parameters:
[in] pDev - device structure