CIFMESSAGERAWtyp
(STRUCT)
TYPE CIFMESSAGERAWtyp : STRUCT
- InOut:
Name
Type
Comment
M
BOOL
To semd a message, set the whole structure to 0 and then SND to TRUE. To just poll for a received message set M to TRUE and RCV to FALSE. RCV is always set by the driver, when a message is received. But: to just poll for a message without sending one, you must know the NR-member of
MESSAGEHEADERSND, if you set SND. If you don’t set SND, the message is always polled from the card. In that case, if you set RCV before the call, the message is not deleted from the cards’ stack, just read. If RCV (in that case) is FALSE before the call, the message is read and deleted. Whatever you do, remember to delete messages you just read (with RCV set), if you want to accept it.
SND
BOOL
MESSAGEHEADERSND
DATASND
ARRAY [0..254] OF BYTE
RCV
BOOL
MESSAGEHEADERRCV
DATARCV
ARRAY [0..254] OF BYTE