|
TD-SCDMA模块,进行GPRS拨号,有时失败,返回码为619
[复制链接]
使用联芯LC6311 TD-SCDMA模块,在WinCE平台上,进行GPRS拨号,调用如下函数
wstring wsEntryName = s2w("TDSCD");
wstring wsUserName = s2w("");
wstring wsPassword = s2w("");
RASDIALPARAMS rasDialParam = {0};
wcscpy(rasDialParam.szEntryName, wsEntryName.c_str());
wcscpy(rasDialParam.szUserName, wsUserName.c_str());
wcscpy(rasDialParam.szPassword, wsPassword.c_str());
rasDialParam.dwSize = sizeof(RASDIALPARAMS);
DWORD dwRes = RasDial(NULL, NULL, &rasDialParam, 0, NULL, &m_rasConn);
有时会出现拨号失败,返回码为:619 , ERROR_PORT_DISCONNECTED。
请问各位大侠有没有碰到过?是什么原因?
|
|