Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
osdp_cmd_led_params Struct Reference

LED params sub-structure. Part of LED command. See struct osdp_cmd_led. More...

#include <osdp.h>

Data Fields

uint8_t control_code
 
uint8_t on_count
 
uint8_t off_count
 
uint8_t on_color
 
uint8_t off_color
 
uint16_t timer_count
 

Detailed Description

LED params sub-structure. Part of LED command. See struct osdp_cmd_led.

Parameters
control_codeOne of the following: Temporary Control Code: 0 - NOP - do not alter this LED's temporary settings 1 - Cancel any temporary operation and display this LED's permanent state immediately 2 - Set the temporary state as given and start timer immediately Permanent Control Code: 0 - NOP - do not alter this LED's permanent settings 1 - Set the permanent state as given
on_countThe ON duration of the flash, in units of 100 ms
off_countThe OFF duration of the flash, in units of 100 ms
on_colorColor to set during the ON timer (enum osdp_led_color_e)
off_colorColor to set during the OFF timer (enum osdp_led_color_e)
timer_countTime in units of 100 ms (only for temporary mode)

Field Documentation

◆ control_code

uint8_t osdp_cmd_led_params::control_code

◆ off_color

uint8_t osdp_cmd_led_params::off_color

◆ off_count

uint8_t osdp_cmd_led_params::off_count

◆ on_color

uint8_t osdp_cmd_led_params::on_color

◆ on_count

uint8_t osdp_cmd_led_params::on_count

◆ timer_count

uint16_t osdp_cmd_led_params::timer_count

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