pfbMsg

pfbMsg — sends an FDL message.

Synopsis

(pfbMsg card_id msgBlk txData...)
  

Parameters

card_id
The ID associated with the card initialized by this command. Up to 4 cards can be simultaneously accessed by the same driver, numbered 0 to 3. If not specified, then the next available ID (sequentially from 0) is assigned (see Description below).
msgBlk
The configured FDL message block to be used to send the message.
txData
The message data, as a number of bytes.

Returns

If successful:

  (pfbMsg card_id msgBlk rxData1...rxDatan)

where where datai is the i'th byte of the n bytes returned in the response. Otherwise, one of the following error messages:

(error "pfbMsg DR_ERR_CARD_INVALID (time) invalid card: card_id")
(error "pfbMsg PFB_ERR_NO_CARD (time) Card not available")
(error "pfbMsg PFB_ERR_CMD_INVALID (time) Cmd not valid in current card state")

Description

This command sends an FDL message, returning with the response provided by the destination station. An FDL message block must have been configured (see pfbFdlMsg.cfg) and the card must be online (see the pfbOnline command).