
Software specification for Kontron EAPI
25
2.12.2 KEApiGetNetworkDeviceList
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetNetworkDeviceList (
KEAPI_UINT32 boardHandle,
PNETWORK_DEVICE pNetworkDevices,
KEAPI_INT32 networkDeviceCount
);
Description:
Provides information about installed network devices.
Parameters:
Handle of the selected board
Number of network devices
Pointer to array of NETWORK_DEVICE structures. The array
must be preallocated as NetworkDeviceCount *
sizeof(NETWORK_DEVICE), where
NetworkDeviceCount is obtained from calling
KEApiGetNetworkDeviceCount.
Structure used:
typedef struct Network_Device
{
KEAPI_CHAR ip[MAX_STR]; // IP address
KEAPI_CHAR mac[MAX_STR]; // MAC address in format XX-XX-XX-XX-XX-XX
KEAPI_INT32 speed; // Connection speed
KEAPI_CHAR deviceName[MAX_STR]; // Name of the network device
} NETWORK_DEVICE, *PNETWORK_DEVICE;
2.12.3 KEApiGetPciDeviceCount
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetPciDeviceCount (
KEAPI_UINT32 boardHandle,
KEAPI_PINT32 pPciDeviceCount
);
Description:
Provides a number of installed PCI devices.
Parameters:
Handle of the selected board
Number of installed PCI devices
2.12.4 KEApiGetPciDeviceList
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetPciDeviceList (
KEAPI_UINT32 boardHandle,
PPCI_DEVICE pPciDevices,
KEAPI_INT32 pciDeviceCount
);
Description:
Provides a list of PCI devices.
Kommentare zu diesen Handbüchern