Skip to content

BM_ReadLinMessage

Read LIN message out of the given channel.

BMAPI BM_StatusTypeDef BM_ReadLinMessage (BM_ChannelHandle handle, BM_LinMessageTypeDef *msg, uint32_t *channel, uint32_t *timestamp)
Direction Name Description
[in] handle Handle to the channel to read from.
[out] msg A caller-allocated buffer to hold the LIN message output, see BM_LinMessageTypeDef 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 LIN bus, could be NULL if not required.

Operation status, see BM_StatusTypeDef for details.


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