Philips Bluetooth QuickStart Kit GPS Receiver User Manual


 
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 46
Copyright 2004-2005 © Embedded Artists AB
Parameters:
[in] pConn - control block for the connection.
Returns:
The EGI state.
B.3.8 m_set_egi_state
The macro m_set_egi_state is defined as:
#define m_set_egi_state( pConn ) func( pConn )
Where func is a function with the following prototype:
void func( tConnect* pConn )
Set the egi state. This variable is not manipulated by the Web Server, but can be used to
implement a state machine in an EGI function.
Parameters:
[in] pConn - control block for the connection.
B.3.9 comPrintString
tBool comPrintString( tConnect* pConn, tU8* pStr )
Print a string to the output buffer.
Parameters:
[in] pConn - Control block for the connection.
[in] pStr - The string to print
Returns:
TRUE if the string was copied to the output buffer; otherwise FALSE.
B.3.10 comPrintUInt
tBool comPrintUInt( tConnect* pConn, tU32 intVal, tBool hex )
Print an unsigned integer to the output buffer
Parameters:
[in] pConn - Control block for the connection.
[in] intVal - Integer to print
[in] hex - TRUE if the integer value should be printed as a hexadecimal value.
Returns:
TRUE if the string version of the integer was copied to the output buffer; otherwise
FALSE.
B.3.11 comPrintSInt
tBool comPrintSInt( tConnect* pConn, tS32 intVal )
Print a signed integer to the output buffer.