}
arcs[arcPos++] = arc;
}
-printfd(__FILE__, "String2OI() - arcPos: %d\n", arcPos);
OBJECT_IDENTIFIER_set_arcs(oi, arcs, sizeof(arcs[0]), arcPos);
return true;
}
else
{
write(fd, buffer, error.encoded);
- printfd(__FILE__, "OpenPDU encoded successfully to %d bytes\n",
- error.encoded);
}
return true;
}
else
{
write(fd, buffer, error.encoded);
- printfd(__FILE__, "ClosePDU encoded successfully\n");
}
return 0;
}
else
{
write(fd, buffer, error.encoded);
- printfd(__FILE__, "RReqPDU encoded successfully to %d bytes\n",
- error.encoded);
}
return 0;
}
else
{
write(fd, buffer, error.encoded);
- printfd(__FILE__, "GetResponsePDU encoded successfully to %d bytes\n",
- error.encoded);
}
return 0;
}
memset(&msg, 0, sizeof(msg));
-msg.request_id = getRequest->request_id;
+long id = 0;
+asn_INTEGER2long(&getRequest->request_id, &id);
+asn_long2INTEGER(&msg.request_id, id);
asn_long2INTEGER(&msg.error_status, errorStatus);
asn_long2INTEGER(&msg.error_index, errorIndex);
else
{
write(fd, buffer, error.encoded);
- printfd(__FILE__,
- "GetResponsePDU for error encoded successfully to %d bytes\n",
- error.encoded);
}
return 0;
}