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

Pairing request payload - sent by initiator (broadcast). More...

#include <espnow_security.hpp>

Public Attributes

uint8_t requester_mac [6]
 Requester's MAC address.
 
uint8_t device_type
 DeviceType - what I am.
 
uint8_t expected_peer_type
 DeviceType - what I'm looking for.
 
uint8_t challenge [CHALLENGE_SIZE]
 Random nonce for verification.
 
uint8_t protocol_version
 Protocol version for compatibility.
 

Detailed Description

Pairing request payload - sent by initiator (broadcast).

The initiator generates a random challenge. The responder must prove knowledge of the shared secret by computing HMAC(secret, challenge).

Member Data Documentation

◆ challenge

uint8_t PairingRequestPayload::challenge[CHALLENGE_SIZE]

Random nonce for verification.

◆ device_type

uint8_t PairingRequestPayload::device_type

DeviceType - what I am.

◆ expected_peer_type

uint8_t PairingRequestPayload::expected_peer_type

DeviceType - what I'm looking for.

◆ protocol_version

uint8_t PairingRequestPayload::protocol_version

Protocol version for compatibility.

◆ requester_mac

uint8_t PairingRequestPayload::requester_mac[6]

Requester's MAC address.


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