tr69c 调试报错检查
1../jacs getconfigfile
RPCState.c中,
/* Loop through the code twice. The first loop is to calculate
* the size of the entire soap envelop so that the HTTP header
* can be written to the TCP socket first. The second loop is
* to write the content of the envelop to the TCP socket as it
* is generated.
*/
for (loop = 0, pc = NULL; loop < 2; loop++, pc = getAcsConnDesc()) {
int bufsz = 0;
ParamItem *pi = a->ud.pItem; //要得到的param, ParamItem = Device.GatewayInfo.SerialNumber
const char *pname = NULL;
if (pi !=NULL)
{
/* create response msg start */