Symbol MC9000-K/S Reference Manual page 383

Hide thumbs Also See for MC9000-K/S:
Table of Contents

Advertisement

LogData(_T("Failed to open Comport, trying again"));
#endif
hComPort = InitSerial(TEXT("COM8:"), CBR_115200); // Init port.
}
// Perform serial operations here...
}
#ifdef DEBUG
else
{
// Failure!
LogData(_T("Failed to register Comport device"));
}
#endif
SetCursor(LoadCursor(NULL, NULL));
// End
***********************************************************************
FUNCTION:
GetBA
PROTOTYPE: int GetBA (WCHAR *pp, BT_ADDR *pba)
PURPOSE:
Form the BDADDR in a way the PORTEMUPortParams structure understands.
***********************************************************************
/int GetBA (WCHAR *pp, BT_ADDR *pba)
{
// Bump pointer through any leading spaces
while (*pp == ' ')
++pp;
for (int i = 0 ; i < 4 ; ++i, ++pp)
{
if (!iswxdigit (*pp))
return(FALSE);
int c = *pp;
if (c >= 'a')
// Clear the wait cursor
8-41
Bluetooth

Advertisement

Table of Contents
loading

Table of Contents