Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
osdp_cmd_buzzer Struct Reference

Sent from CP to control the behaviour of a buzzer in the PD. More...

#include <osdp.h>

Data Fields

uint8_t reader
 Reader number.
 
uint8_t control_code
 Control code.
 
uint8_t on_count
 The ON duration of the sound, in units of 100 ms.
 
uint8_t off_count
 The OFF duration of the sound, in units of 100 ms.
 
uint8_t rep_count
 The number of times to repeat the ON/OFF cycle; 0: forever.
 

Detailed Description

Sent from CP to control the behaviour of a buzzer in the PD.

Field Documentation

◆ control_code

uint8_t osdp_cmd_buzzer::control_code

Control code.

  • 0 - no tone
  • 1 - off
  • 2 - default tone
  • 3+ - TBD

◆ off_count

uint8_t osdp_cmd_buzzer::off_count

The OFF duration of the sound, in units of 100 ms.

◆ on_count

uint8_t osdp_cmd_buzzer::on_count

The ON duration of the sound, in units of 100 ms.

◆ reader

uint8_t osdp_cmd_buzzer::reader

Reader number.

0 = First Reader, 1 = Second Reader, etc.

◆ rep_count

uint8_t osdp_cmd_buzzer::rep_count

The number of times to repeat the ON/OFF cycle; 0: forever.


The documentation for this struct was generated from the following file: