Please enable JavaScript to view this site.

This function performs the setting of data needed to respond to a BCC message.

Syntax

bool bcc_h_setup (bcc_msguser struRx, bcc_msguser struTx, i32 len)

struRx

Structure bcc_msguser in which the message was received

struTx

Structure bcc_msguser used for the data to be sent

NOTE: The structure of the data to be sent can be the same as the data received.

len

Length of message data (max 255 bytes)

Result

Returns:

Value

Description

TRUE

Operation performed correctly

FALSE

Illegal parameters detected

Validity

Rule, Task

Note

The operations performed are (logically) as follows:

struTx.resSys1 = struRx.resSys1

struTx.resSys2 = struRx.resSys2

struTx.bccID = struRx.bccID

struTx.DST = struRx.SR

struTx.DCH = struRx.SCH

struTx.SRC = struRx.DST

struTx.SCH = struRx.DCH

struTx.MSG = BCC_ACK (0x1)

struTx.LEN = len

struTx.PID = struRx.PID

struTx.DLC = 0xFF

The response is sent to the source and the same physical device is used.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC