![Neousys Technology Nuvo 2500 Series Скачать руководство пользователя страница 120](http://html1.mh-extra.com/html/neousys-technology/nuvo-2500-series/nuvo-2500-series_user-manual_1667801120.webp)
Nuvo-2500 Series User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 120 of 154
5.4.1.6 CAN_Send
Syntax
BOOL CAN_Send(DWORD idx , CAN_MSG *lpMsg, DWORD cbMsg);
Description
Put message object into CAN Bus controller.
Parameter
idx
[in]
Specifies the index of CAN bus controllers. Currently there are only one CAN
bus controller.
lpMsg
[in]
A pointer to a CAN_MSG structure that contains the CAN-Bus message
object. This data structure contains the following variables:.
id
DWORD value specifies the identity number of the message object.
flags
WORD value specifies the status or configuration of the message
object.
extra
BYTE value specifies nothing but does reserved.
len
BYTE value specifies the length of the message object.
data
BYTE array specifies the data of the message object.
cbMsg
[in]
The length of the structure, in bytes. The caller must set this member
to sizeof(CAN_MSG).
Return Value
Returns TRUE if stop procedure successes, FALSE if stop procedure failed.