User Manual Part 5

User Guide to Q4000/QPRO
Document Number 1135-4713 Rev G
THIS DOCUMENT CONTAINS CONFIDENTIAL AND PROPRIETARY INFORMATION OF QUAKE GLOBAL CORPORATION. IT MAY BE USED BY
RECIPIENT ONLY FOR THE PURPOSE FOR WHICH IT WAS TRANSMITTED AND WILL BE RETURNED UPON REQUEST OR WHEN NO LONGER NEEDED
BY RECIPIENT. DISCLOSURE TO UNAUTHORIZED THIRD PARTIES OR DUPLICATION WITHOUT THE EXPRESS WRITTEN PERMISSION OF QUAKE
GLOBAL IS PROHIBITED.
Page 110
CONFIDENTIAL
Information classified Confidential
-
Do not copy (See last page for obligations)
Figure 12-47 shows the POWER_ON event. Note that the:
buffer pointer in the J1939 message structure must be initialized to some allocated
memory of sufficient size to hold the message data
buf_len member in the structure must be initialized as well
CAN timer is set to expire in CAN_INTERVAL_SECS.
Figure 12-47: DemoAppCAN - Allocating CAN message buffer