BM_OpenCan
Open the specified CAN device port.
BMAPI BM_ChannelHandle BM_OpenCan (uint16_t port)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [in] | port |
Index of the port, starting from zero, note this is the index of all enumerated ports. |
Returns
Section titled “Returns”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.