Beeper Enable/Disable

RFID SDK for Android 2.0.2.94

Applicable Devices :RFD40, RFD8500

Overview

This Tutorial provides a walk-through of the steps toThis Tutorial provides a walk-through of the steps to enable or disable beeper on the device using RFID3 API

Create The Project

  • Start by creating a new project in Android Studio. For help, see the Android Studio tutorial.
  • Refer Hello RFID to prepare basic setup to work with RFID Reader and then follow this guide

Details

Beeper volume can be controlled with three volume levels

  1. BEEPER_VOLUME.HIGH_BEEP
  2. BEEPER_VOLUME.MEDIUM_BEEP
  3. BEEPER_VOLUME.LOW_BEEP
  4. BEEPER_VOLUME.QUIET_BEEP

Setting it up

By default beeper is enabled. Following code snippet can be used once connected to control beeper on the device for RFID operations


/* Disbale beeper */
reader.Config.setBeeperVolume(BEEPER_VOLUME.QUIET_BEEP);

/* Enable device beeper */
reader.Config.setBeeperVolume(BEEPER_VOLUME.HIGH_BEEP);