PT-90 Mobile Computer SDK Programming Manual
97
GetATResponse
Get response data from module buffer.
DWORD
GetATResponse
{
char *
lpResponse
,
DWORD
dwResLen
,
DWORD
dwWaitTime
}
Parameters
lpResponse
[out] Receive the response data.
dwResLen
[in] The
lpResponse
buffer max size.
dwWaitTime
[in] The time interval for wait response, in milliseconds.
Returned Values
If the action succeeds, the returned value is
. If the action fails, possible returned values are
Example
char szResponse[512];
if(GetATResponse(szResponse, sizeof(szResponse), 0) != E_FUNC_SUCCEED)
AfxMessageBox(_T("Get AT response fail!"));
Requirements
OS Versions:
Windows CE 6.0 or beyond.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT90