The Go language is becoming more and more widely used in web development, DevOps, and system programming. If Go is your first choice for your NFC project with µFR Series devices, Digital Logic provides the full SDK for all operating systems with Go language software example for card UID reading.
µFR Go Language NFC RFID Software
Go SDK - NFC RFID Card UID reading source code example
Docs & Software Download
- Reader Open
- Advanced Reader Open
- Card UID Reading
Available programming languages:
Supported operating systems, platforms, and environments:
Supported tags, labels, cards:
- MIFARE® family
- NTAG® family
- SmartMX® family
1. uFR GoLang Software – Execute Software Example
Download and extract the Go SDK software pack. Navigate to the software root folder and run the ufr.exe file.
Launching the application opens a command prompt with a printout of the home menu.
If you have installed your hardware drivers properly (an appropriate µFR Series Reader/Writer), you will be able to open the reader by selecting the menu option:
- Option 1 – for an automatic device search and reader opening (opens the first device found on the system)
- Option 2 – to enter opening parameters manually.
2. uFR GoLang Software – Reader Open
Selecting the menu option 1 will open the connected reader. When the reader opens, the console displays the success message. The software is now ready to ready the card UID.
3. uFR GoLang Software – Advanced Reader Open
To open the connected reader by specifying the parameters manually, enter value 2 for the second menu option, and fill in the required parameters.
Find detailed instructions on the ReaderOpenEx function for advanced reader opening in µFR Series API.
4. uFR GoLang Software – Read Card UID
After the communication with the connected reader is established, simply press Enter to read the card UID