HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
PairingResponsePayload Struct Reference

Pairing response payload - sent by responder (unicast). More...

#include <espnow_security.hpp>

Public Attributes

uint8_t responder_mac [6]
 Responder's MAC address.
 
uint8_t device_type
 DeviceType - what I am.
 
uint8_t challenge [CHALLENGE_SIZE]
 My challenge for mutual auth.
 
uint8_t hmac_response [HMAC_SIZE]
 HMAC(secret, requester_challenge)
 
char device_name [MAX_DEVICE_NAME_LEN]
 Human-readable name.
 

Detailed Description

Pairing response payload - sent by responder (unicast).

The responder proves identity via HMAC and issues a counter-challenge for mutual authentication.

Member Data Documentation

◆ challenge

uint8_t PairingResponsePayload::challenge[CHALLENGE_SIZE]

My challenge for mutual auth.

◆ device_name

char PairingResponsePayload::device_name[MAX_DEVICE_NAME_LEN]

Human-readable name.

◆ device_type

uint8_t PairingResponsePayload::device_type

DeviceType - what I am.

◆ hmac_response

uint8_t PairingResponsePayload::hmac_response[HMAC_SIZE]

HMAC(secret, requester_challenge)

◆ responder_mac

uint8_t PairingResponsePayload::responder_mac[6]

Responder's MAC address.


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