AFDX Functions
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
long AfdxGetLastError(void);
char error[100];
long value;
long packetHandle;
value = AfdxGetTokenInt(packetHandle, "eth", "type");
if (AfdxGetLastError() == 0)
{
write("Ethernet Type is 0x%x", value);
}
else
{
AfdxGetLastErrorText(elCount(error), error);
write("Error: %s", error);
}