Component: RFID (BL0197) (E-blocks 2)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix Ltd. |
Version | 2.0 |
Category | E-blocks 2 |
Contents
- 1 RFID (BL0197) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 DecrementRFIDValue
- 5.2 FormatRFIDValue
- 5.3 GetRFIDStatus
- 5.4 GetRFIDTypeID
- 5.5 GetRFIDUID
- 5.6 IncrementRFIDValue
- 5.7 Initialise
- 5.8 IsTagPresent
- 5.9 ReadRFIDBlock
- 5.10 ReadRFIDBuffer
- 5.11 ReadRFIDUID
- 5.12 SetBeep
- 5.13 SetCardType
- 5.14 StoreRFIDKey
- 5.15 TransferRFIDValue
- 5.16 WriteRFIDBlock
- 5.17 WriteRFIDBuffer
- 5.18 WriteRFIDModule
- 6 Property reference
RFID (BL0197) component
Low level routines for controlling a BL0197 RFID E-block 2 board. Complete with macros to control the tag type and buzzer parameters.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EBlocks2_RFID_BL0197.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EBlocks2_RFID_BL0197.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
DecrementRFIDValue
![]() |
DecrementRFIDValue |
Perfoms a 32-bit decrement on the number held in location page or block. | |
![]() |
Src |
Page / Block | |
![]() |
Dst |
Page / Block | |
![]() |
Key_Type |
Needed for MIFARE Commands | |
![]() |
Return |
FormatRFIDValue
![]() |
FormatRFIDValue |
Initialises the internal buffer of the Microcontroller so that it is ready to perform a Increment, Decrement or Transfer command. | |
![]() |
Return |
GetRFIDStatus
![]() |
GetRFIDStatus |
Collect the status of the RFID device (see help for the explaination of the status byte). | |
![]() |
Return |
GetRFIDTypeID
![]() |
GetRFIDTypeID |
Collects the 3 bytes required to determine which kind of MIFARE device is present. Stores the result into the local buffer 0 - 2 and returns the response of the module. | |
![]() |
Return |
GetRFIDUID
![]() |
GetRFIDUID |
Collects the UID from a RFID device. Stores the result into the UID buffer and returns the response of the module. | |
![]() |
Return |
IncrementRFIDValue
![]() |
IncrementRFIDValue |
Perfoms a 32-bit increment on the number held in location page or block. | |
![]() |
Src |
Page / Block | |
![]() |
Dst |
Page / Block | |
![]() |
Key_Type |
Needed for MIFARE Commands | |
![]() |
Return |
Initialise
![]() |
Initialise |
Configures the RFID device by presetting the Osc type and Mode via the Flowcode component properties. | |
![]() |
Return |
IsTagPresent
![]() |
IsTagPresent |
Checks to see if a card is present. Returns 0 if no tag is present. Returns 1 if a valid tag is present. | |
![]() |
Return |
ReadRFIDBlock
![]() |
ReadRFIDBlock |
Reads a block of information from the RFID device. | |
![]() |
Address |
![]() |
Key_Type |
![]() |
Return |
ReadRFIDBuffer
![]() |
ReadRFIDBuffer |
Reads a byte of data from the incoming buffer. | |
![]() |
Address |
The address of the buffer 0 - 15 | |
![]() |
Return |
ReadRFIDUID
![]() |
ReadRFIDUID |
Reads a byte of data from the UID buffer. | |
![]() |
Address |
The address of the buffer 0 - 7 | |
![]() |
Return |
SetBeep
![]() |
SetBeep |
Allows the buzzer output to be configured | |
![]() |
BeepDelay |
0 = Off, 1 = 40mS, 2 = 80mS, 3 = 120mS etc. | |
![]() |
Return |
SetCardType
![]() |
SetCardType |
Allows the RFID tag type to be configured | |
![]() |
TagType |
0 = MIFARE, 1 = ICODE, 2 = ISO14443B | |
![]() |
Return |
StoreRFIDKey
TransferRFIDValue
WriteRFIDBlock
![]() |
WriteRFIDBlock |
Writes a block of information to the RFID device. | |
![]() |
Address |
Remote RFID Block Address. | |
![]() |
Key_Type |
![]() |
Return |
WriteRFIDBuffer
![]() |
WriteRFIDBuffer |
Writes a byte of data to the outgoing buffer. | |
![]() |
Address |
The address of the buffer 0 - 15 | |
![]() |
Data |
The data to be stored in the buffer location 0 - 255. | |
![]() |
Return |
WriteRFIDModule
![]() |
WriteRFIDModule |
Stores a byte of data to the internal EEPROM of the RFID module at the address specified. | |
![]() |
Address |
![]() |
Data |
![]() |
Return |