5.3 JNMMCANRX
This function receives a message on the selected CAN port.
Name | Description |
hHandle | HANDLE Handle received from JNMMCANOpen(). |
Pointer to CANMESSAGE structure Can_ch : CAN port number 0-3 Msg_type : 0 : Standard 1 : Extended Msg_ID : Hexadecimel value Msg_len : length of the frames Rtr : 0 : Disable 1 : Enable Data : Holds the data frame of message length |
Return Value |
returns 1 on error |
Usage Example
To receive message
Last updated