BM_ReadCanMessage function reference
BMAPI 1.14.0.42 · bmapi.h
Definition
Section titled “Definition”BMAPI BM_StatusTypeDef BM_ReadCanMessage (BM_ChannelHandle handle, BM_CanMessageTypeDef *msg, uint32_t *channel, uint32_t *timestamp);Read CAN message out of the given channel.
Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [in] | handle | Handle to the channel to read from. |
| [out] | msg | A caller-allocated buffer to hold the CAN message output, see BM_CanMessageTypeDef for details. |
| [out] | channel | The source channel ID from which the message is received, starting from zero, could be NULL if not required. |
| [out] | timestamp | The device local high precision timestamp in microseconds, when the message is physically received on the CAN bus, could be NULL if not required. |
Returns
Section titled “Returns”Operation status, see BM_StatusTypeDef for details.
Related types and constants
Section titled “Related types and constants”Related functions
Section titled “Related functions”Source: BMAPI 1.14.0.42 released Doxygen documentation. The headers and help files bundled with an installed SDK define its version-specific contract.