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

This command transfers an encryption key from the CP to a PD. More...

#include <osdp.h>

Data Fields

uint8_t type
 Type of keys:
 
uint8_t length
 Number of bytes of key data - (Key Length in bits + 7) / 8.
 
uint8_t data [32]
 Key data.
 

Detailed Description

This command transfers an encryption key from the CP to a PD.

Parameters
typeType of keys:
  • 0x01 – Secure Channel Base Key
lengthNumber of bytes of key data - (Key Length in bits + 7) / 8
dataKey data

Field Documentation

◆ data

uint8_t osdp_cmd_keyset::data[32]

Key data.

◆ length

uint8_t osdp_cmd_keyset::length

Number of bytes of key data - (Key Length in bits + 7) / 8.

◆ type

uint8_t osdp_cmd_keyset::type

Type of keys:

  • 0x01 – Secure Channel Base Key

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