0x1805 - Buzzer
The host uses this command to start a buzzer for playing a sequence of tones. Each sequence can have a minimum of 1 to maximum of 10 tones.
The sequence of events is as follows:
The host ensures the device is not currently running another command, for example, that it is not running a transaction using 0x1001 - Start Transaction.
The host composes a command request in the format below and sends it to the device.
The device plays a specific tone sequence as the command specified. After finish, the device sends 0x1805 - User Interface Operation Complete to report Buzzer/Buzzer Result.
The host should wait for 0x1805 - User Interface Operation Complete before sending another command.
If the buzzer is currently playing a sequence of tones and any transaction that uses the buzzer to make a sound is started, the device will stop the buzzer for that transaction to take over.
Request Data for Buzzer - Command 0x1805
Beginning of any wrappers, at minimum including Request Message
1805 = Command 0x1805
81
N*4
N = Number of tones
0x01 – Min (1 tone)
0x0A – Max (10 tones)
4 = 4 bytes data parameter for each tone in the sequence Byte0-Byte1 – Frequency in units of 1 Hz
0x0000..0x0031 (< 50 Hz, Silent)
0x0032 - Min (50 Hz)
0x0FA0 - Max (4000 Hz)
0x0FA1..0xFFFF (> 4000 Hz, Error)
Byte 2-Byte3 – Duration of tone in units of 1 millisecond
B
R
0x0001 – Min (1 ms)
0xFFFF – Max (65535 ms)
End of any wrappers, at minimum including Request Message
Response Data for Command 0x1805 - Buzzer
Beginning of any wrappers, at minimum including Response Message
1805 = Buzzer - Command 0x1805
No parameters.
End of any wrappers, at minimum including Response Message
Request Example for a sequence of 5 tones
AA00 810401031805 8418 1805 8114 00C8 01F4 0190 01F4 0258 01F4 0190 01F4 00C8 01F4Response Example
Last updated

