基于ARM和VxWorks實現(xiàn)自動彩信發(fā)送的嵌入式系統(tǒng)
while(wavecomlibinit() == error);
for (i=0; i《2; i++)
{
if (startppp() == ok)
break;
pppdelete(0);
taskdelay(30);
wavecomlibinit();
}
if (i》= 2)
{
debug_print((“startppp error! ”));
return error;
}
if (wapinit()!= ok)
{
debug_print((“wapinit error! ”));
return error;
}
#else
cdmalibinit();
#endif
sysrecvlibinit();
評論