ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
Ld2410Ack Struct Reference

A decoded command-ACK frame. payload points into the caller's frame (not copied). More...

#include <ld2410.h>

Public Attributes

uint16_t command
 ACK command word: the request word | 0x0100 (e.g. 0x01A5 for get-MAC).
 
uint16_t status
 0 = success, 1 = failure.
 
const uint8_t * payload
 command-specific data after the status word (nullptr if none).
 
size_t payload_len
 octets at payload.
 

Detailed Description

A decoded command-ACK frame. payload points into the caller's frame (not copied).

Definition at line 144 of file ld2410.h.

Member Data Documentation

◆ command

uint16_t Ld2410Ack::command

ACK command word: the request word | 0x0100 (e.g. 0x01A5 for get-MAC).

Definition at line 146 of file ld2410.h.

◆ status

uint16_t Ld2410Ack::status

0 = success, 1 = failure.

Definition at line 147 of file ld2410.h.

◆ payload

const uint8_t* Ld2410Ack::payload

command-specific data after the status word (nullptr if none).

Definition at line 148 of file ld2410.h.

◆ payload_len

size_t Ld2410Ack::payload_len

octets at payload.

Definition at line 149 of file ld2410.h.


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