Skip to content

BM_OpenCan

Open the specified CAN device port.

BMAPI BM_ChannelHandle BM_OpenCan (uint16_t port)
Direction Name Description
[in] port Index of the port, starting from zero, note this is the index of all enumerated ports.

Handle to the opened CAN device channel, return NULL if failed to open the specified port.


This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.