SendMsg : To send a CAN frame
Synopsis
Section titled “Synopsis”UINT SendMsg ( STCAN_MSG )```### Description
This function will put the message on the CAN bus. The message structure STCAN_MSG will be filled with ID, length, frame format and data. Big/Little endian packing will be taken care if it is a database message.### Inputs
STCAN_MSG - CAN Message Structure### Returns
Zero on successful transmisstion. Non-zero value on failure.
---
**Authoritative source**: BUSMASTER DITA help source `SendMsg.dita`, compiled into `BUSMASTER.CHM` with the application.