Function that performs the setting of data that is necessary to send a BCC message (for another Robox control) through serial channel.
Syntax |
i32 ser_bcc_h_init (bcc_msguser stru, i32 nSer, i32 nChDst, i32 nChSrc, i32 msgCode, i32 len) |
||||||
---|---|---|---|---|---|---|---|
stru |
Structure of type bcc_msguser used for data to be sent. The structure of the data to be sent can be the same as the data received |
||||||
nSer |
Serial channel number (1, 2, 3, 4) |
||||||
nChDst |
Number of the user channel to be used as destination (190 -:- 199) |
||||||
nChSrc |
Number of the source user channel to be used for any replies (190 -:- 199) |
||||||
msgCode |
Code of the message (10000 -:- 19999) |
||||||
len |
Length of message data (max 255 bytes) |
||||||
Result |
Returns:
|
||||||
Validity |
Rule, Task |
||||||
Note |
Example usage:
|