All pages
Powered by GitBook
1 of 1

Loading...

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.

1

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 Start Transaction - Command 0x1001.

2
  • The host composes a command request in the format below and sends it to the device.

3
  • The device plays a specific tone sequence as the command specified. After finish, the device sends User Interface Operation Complete - Notification 0x1805 to report Buzzer/Buzzer Result.

The host should wait for User Interface Operation Complete - Notification 0x1805 - before sending another command.

Tag
Len
Value / Description
Typ
Req
Default
Tag
Len
Value / Description
Typ
Req
Default

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

B

R

  • 0x0001 – Min (1 ms)

  • 0xFFFF – Max (65535 ms)

End of any wrappers, at minimum including Request Message

1805 = Buzzer - Command 0x1805

No parameters.

End of any wrappers, at minimum including Response Message

Beginning of any wrappers, at minimum including Request Message

Beginning of any wrappers, at minimum including Response Message

Example (Hex)
AA00 810401031805 8418 1805 8114 00C8 01F4 0190 01F4 0258 01F4 0190 01F4 00C8 01F4
Example (Hex)
AA00 810482031805 820401000000

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

Response Data for Command 0x1805 - Buzzer

Request Example for a sequence of 5 tones

Response Example

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