Kontron KEAPI Manual de usuario Pagina 25

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 37
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 24
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:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
in
networkDeviceCount
Number of network devices
out
pNetworkDevices
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:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
out
pPciDeviceCount
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.
Vista de pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 36 37

Comentarios a estos manuales

Sin comentarios