Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 59
Copyright 2004-2005 © Embedded Artists AB
void linkSetStart( tPppDev* pDev, tU8* pStartStr )
Assign the start command string to the device. This command string will be executed
when the 'linkStart' function is called. The 'linkStart' function will be called from LCP
when the this-layer-started event is triggered in LCP.
Parameters:
[in] pDev - device structure
[in] pStartStr - start command string
B.5.4 linkSetClose
void linkSetClose( tPppDev* pDev, tU8* pCloseStr )
Assign the close command string to the device. This command string will be executed
when the 'linkClose' function is called. The 'linkClose' function will be called from LCP
when the this-layer-finished event is triggered in LCP.
Parameters:
[in] pDev - device structure
[in] pCloseStr - close command string
B.5.5 linkInit
tBool linkInit( tPppDev* pDev )
Execute the init command string. If the init command string contains timeouts (@w or
@r) this function will return before the command string has been completely processed.
Parameters:
[in] pDev - device structure
Returns:
TRUE if the processing started; FALSE if a command string is already being
processed.
B.5.6 linkStart
tBool linkStart( tPppDev* pDev )
Execute the start command string. If the start command string contains timeouts (@w or
@r) this function will return before the command string has been completely processed.
This function will be called by LCP when the this-layer-started event is triggered in
LCP.
Parameters:
[in] pDev - device structure
Returns:
TRUE if the processing started; FALSE if a command string is already being
processed.
B.5.7 linkClose