Abilitare JavaScript per vedere questo sito.

Questa funzione esegue l'impostazione dei dati che servono per rispondere ad una messaggio BCC.

Sintassi

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

struRx

Struttura bcc_msguser in cui è stato ricevuto il messaggio.

struTx

Struttura bcc_msguser usata per i dati da inviare.

NOTA: La struttura dei dati da spedire può essere la stessa dei dati ricevuti.

len

Lunghezza dei dati dei messaggi (max 255 byte).

Risultato

Rende:

Valore

Descrizione

TRUE

Operazione effettuata correttamente.

FALSE

Riscontrati parametri illegali.

Validità

Rule, Task.

Note

Le operazioni eseguite sono (logicamente) le seguenti:

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

La risposta viene indirizzata al sorgente e viene utilizzato lo stesso dispositivo fisico.

 

  

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