Skip to content

BM_EthModeTypeDef enumeration reference

BMAPI 1.14.0.42 · bm_usb_def.h

typedef enum
{
BM_ETH_OFF_MODE = 0x00,
BM_ETH_IN_MODE = 0x01,
BM_ETH_OUT_MODE = 0x02,
BM_ETH_INOUT_MODE = 0x03,
BM_ETH_SWITCH_MODE = 0x04,
BM_ETH_CAPTURE_MODE = 0x08,
} BM_EthModeTypeDef;

ETH mode IDs, used by BM_SetEthMode() to change the operation mode of ETH device.

Name Value expression Description
BM_ETH_OFF_MODE 0x00 The device is logically disconnected from ETH network
BM_ETH_IN_MODE 0x01 The device can only accept incoming frames
BM_ETH_OUT_MODE 0x02 The device can only transmit outgoing frames
BM_ETH_INOUT_MODE 0x03 The device can both receive and transmit
BM_ETH_SWITCH_MODE 0x04 The device acts as a transparent Ethernet switch
BM_ETH_CAPTURE_MODE 0x08 The device captures the traffic on port (silently)

Source: BMAPI 1.14.0.42 released Doxygen documentation. The headers and help files bundled with an installed SDK define its version-specific contract.