Overview
This Tutorial provides a walk-through of the steps to perform LED configuration MAUI RFID SDK
Create the Project
- Start by creating a new project in Visual Studio. For help, see the Create Project.
- Refer Hello RFID to prepare basic setup to work with RFID Reader and then follow this guide
Details
Application can use SetLedBlinkEnable to blink host device LED and BeeperVolume to BEEP In the host device for each tag read event
Beeper volume can be controlled with four volume levels
- BEEPER_VOLUME.HIGH_BEEP
- BEEPER_VOLUME.MEDIUM_BEEP
- BEEPER_VOLUME.LOW_BEEP
- BEEPER_VOLUME.QUIET_BEEP
Beeper Volume Settings Compatibility for Devices
| BEEPER_VOLUME | HandHeld Readers | Mobile Computers |
|---|---|---|
| BEEPER_VOLUME.HIGH_BEEP | ✔ | ✔ |
| BEEPER_VOLUME.MEDIUM_BEEP | ✔ | ✖ |
| BEEPER_VOLUME.LOW_BEEP | ✔ | ✖ |
| BEEPER_VOLUME.QUIET_BEEP | ✔ | ✔ |
Setting it up for enabling the LED
SDK supports setting host LED indication using following API
/* Disbale Led */
rfidReader.Config.SetLedBlinkEnable(false);
/* Enable device Led */
rfidReader.Config.SetLedBlinkEnable(true);
Setting it up for enabling the Beeper
SDK supports setting host Beeper indication using following API
/* Disbale beeper */
rfidReader.Config.BeeperVolume = BEEPER_VOLUME.QUIET_BEEP;
/* Enable device beeper */
rfidReader.Config.BeeperVolume = BEEPER_VOLUME.HIGH_BEEP;
Only for RFD40/90 readers volume control can be set using the following:
int sledBeeperVolume = 2;
BEEPER_VOLUME sledBeeper = BEEPER_VOLUME.HIGH_BEEP;
sledBeeperVolume.VolumeControl = sledBeeperVolume;
rfidReader.Config.BeeperVolume = sledBeeper
Volume control value can be given from 0 - 15 for LOW, MEDIUM and HIGH. Value 0 is for backward compatibility (legacy support). Fine tuning of volume happens from 1 to 15.
NOTE: User has to make sure supported firmware is used for this feature to work.