Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
osdp_cmd_text Struct Reference

Command to manipulate any display units that the PD supports. More...

#include <osdp.h>

Data Fields

uint8_t reader
 Reader number.
 
uint8_t control_code
 Control code.
 
uint8_t temp_time
 Duration to display temporary text, in seconds.
 
uint8_t offset_row
 Row to display the first character (1-indexed)
 
uint8_t offset_col
 Column to display the first character (1-indexed)
 
uint8_t length
 Number of characters in the string.
 
uint8_t data [32]
 The string to display.
 

Detailed Description

Command to manipulate any display units that the PD supports.

Field Documentation

◆ control_code

uint8_t osdp_cmd_text::control_code

Control code.

  • 1 - permanent text, no wrap
  • 2 - permanent text, with wrap
  • 3 - temp text, no wrap
  • 4 - temp text, with wrap

◆ data

uint8_t osdp_cmd_text::data[32]

The string to display.

◆ length

uint8_t osdp_cmd_text::length

Number of characters in the string.

◆ offset_col

uint8_t osdp_cmd_text::offset_col

Column to display the first character (1-indexed)

◆ offset_row

uint8_t osdp_cmd_text::offset_row

Row to display the first character (1-indexed)

◆ reader

uint8_t osdp_cmd_text::reader

Reader number.

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

◆ temp_time

uint8_t osdp_cmd_text::temp_time

Duration to display temporary text, in seconds.


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