OpenHarmony中AT模块的代码理解(4)
原创 精华
之前已经写了三篇https:ost.51cto.composts10773https:ost.51cto.composts10756https:ost.51cto.composts10744这是本系列的第四篇文章。今天从AT接收任务hivoidatproctaskbody(hivoidparam)说起。chivoidatproctaskbody(hivoidparam){hiunrefparam(param);hiu32ret;hiu32eventbit;hicharbufNULL;for(;;){if(gatctrl.atstate!ATDATARECVING){hiatprintf("\r\n");}eventbit0;rethieventwait(gatevent,0xFFF,&eventbit,HISYSWAITFO...