 | ReaderControlBuzzer Method |
Controls the buzzer to make sound.
Namespace:
AC908_SDK
Assembly:
AC908_SDK (in AC908_SDK.dll) Version: 1.0.2
Syntaxpublic Task ControlBuzzer(
byte readerNumber,
ToneCode toneCode,
byte onTime,
byte offTime,
byte count
)
Parameters
- readerNumber
- Type: SystemByte
The reader index in a compound device. If device has only one reader, then the reader number is fixed to 0. - toneCode
- Type: AC908_SDK.EnumsToneCode
Requested Tone State, where: 0- no tone, 1- off, 2- default tone. - onTime
- Type: SystemByte
The ON duration of the sound, in units of 100 ms. - offTime
- Type: SystemByte
The OFF duration of the sound, in units of 100 ms. - count
- Type: SystemByte
The number of times to repeat the ON/OFF cycle. 0 means tone continues until another tone command is received.
Return Value
Type:
TaskA task that represents the asynchronous operation.
See Also