?? hms800.h
字號:
extern void ContReadTx(WORD start_add, WORD data_size);
// ****************************************************************************
// Transmit Enter Continuous Block Read mode Command
// Input: Begin read tag address.
// Number of bytes to read from tag.
// Return: None.
// Side effects: None.
extern void ContinuousTx(WORD start_add, WORD data_size, BYTE Idelay);
// ****************************************************************************
// Transmit a proteced mode Block Write Command
// Input: Begin write at this start address in the tag.
// Number of bytes to be written from tag.
// Antenna timeout time.
// Pointer to the bytes to be written.
// Return: None.
// Side effects: None.
extern void BLWriteTx(WORD start_add, WORD data_size,
WORD timeout, unsigned char *data_buf);
// ****************************************************************************
// Transmit get tag's identification number Command
// Input: Antenna timeout time.
// Return: None.
// Side effects: None.
extern void Get_Tag_IDTx(WORD timeout);
// ****************************************************************************
// Transmit Tag Search Command
// Input: Antenna timeout time.
// Return: None.
// Side effects: None.
extern void SearchTx(WORD timeout);
// ****************************************************************************
// Transmit the Change baud rate
// Input: New baud rate value. (See Operators's Manual for antenna.)
// Return: None.
// Side effects: None.
extern void BaudrateTx(WORD baudrate);
// --------------------------------------------------------------------------
// Command Received from HMS RF R/W Controller. -----------------------------
// ****************************************************************************
// Recevive response form Non-Contiguous read.
// Input: Pointer to where the data can be place.
// Do not more than the data size number of bytes.
// Return: Read status.
// Side effects: None.
extern BYTE NCReadRx(BYTE *data_buf, WORD data_size);
// ****************************************************************************
// Receive response from Non-Contiguous write.
// Input: None.
// Return: Was the command echoed?
// Side effects: None.
extern BYTE NCWriteRx(void);
// ****************************************************************************
// Receive response from Non-Contiguous configuration.
// Input: None.
// Return: Was the command echoed?
// Side effects: None.
extern BYTE NCConfRx(void);
// ****************************************************************************
// Receive response from fill command.
// Input: None.
// Return: Was the command echoed?
// Side effects: None.
extern BYTE FillRx(void);
// ****************************************************************************
// Receive response from Block Read.
// Input: where to place the data.
// Receive no more data than this. Note: BYTE received in a WORD.
// Return: Command status.
// Side effects: None.
extern BYTE BLReadRx(BYTE *data_buf, WORD data_size);
// ****************************************************************************
// Receive response from Continual Block Read.
// NOTE: This was renamed and is called the
// HMS827 Initiate/Cancel Infinite Block Read command.
//
// Input: where to place the data.
// Receive no more data than this. Note: BYTE received in a WORD.
// Return: Command status.
// Side effects: None.
extern BYTE ContBLReadRx(BYTE *data_buf, WORD data_size);
// ****************************************************************************
// Receive a data response from Continuous Block Read command.
// NOTE: This is the new Continuous Block Read mode data response packet.
//
// Input: where to place the data.
// Receive no more data than this. Note: BYTE received in a WORD.
// Return: Command status.
// Side effects: None.
BYTE BLReadContinuousRx(BYTE *data_buf, WORD data_size);
// ****************************************************************************
// Receive response from Enter Continual Read mode command.
// Input: None.
// Return: Was the command echoed? Tag present?
// Side effects: None.
extern BYTE ContReadRx(void);
// ****************************************************************************
// Receive response from Enter Continuous Block Read mode command.
// Input: None.
// Return: Was the command echoed? Tag present?
// Side effects: None.
extern BYTE ContinuousRx(void);
// ****************************************************************************
// Receive response from block write.
// Input: None.
// Return: Was the command echoed?
// Side effects: None.
extern BYTE BLWriteRx(void);
// ****************************************************************************
// Receive response from Protected Write Block command.
// Input: None.
// Return: Was the command echoed? Tag present?
// Side effects: None.
extern BYTE pro_BLWriteRx(void);
// ****************************************************************************
// Receive response from COM2 write command.
// Input: Pointer to where to place the response packet data.
// Return: Command status.
// Side effects: None.
extern BYTE COM2_inpx_Rx(BYTE *rx_buf, WORD time_out, BYTE max_length);
// ****************************************************************************
// Receive response from COM2 write line command.
// Input: Pointer to where to place the response packet data.
// Timeout value sent with the command. Wait atleast this long.
// Maximun number of bytes to receive.
// Return: Command status.
// Side effects: None.
extern BYTE COM2_line_Rx(BYTE *rx_buf, WORD time_out, BYTE max_length);
// ****************************************************************************
// Receive response from COM2 write command.
// Input: None.
// Return: Command status, BOOLEAN - TRUE command taken.
// FALSE command not taken.
// Side effects: None.
extern BYTE write_COM2Rx(void);
// ****************************************************************************
// Receive response from COM2 clear receive buffer command.
// Input: None.
// Return: Command status.
// Side effects: None.
extern BYTE COM2clearRx(void);
// ****************************************************************************
// Receive response get tag's identification number command.
// Input: Pointer to buffer to place the tag's ID in.
// Number of bytes in this tag ID.
// Return: Was the command echoed? Tag present?
// Side effects: None.
extern BYTE Get_Tag_IDRx(BYTE *data_buf, WORD id_size);
// ****************************************************************************
// Receive response from search tag.
// Input: None.
// Return: Was the command echoed? Tag present?
// Side effects: None.
extern BYTE SearchRx(void);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -