ESPectre SDK
2.8.0-280-gac7af68
Wi-Fi CSI motion sensing for ESP32 firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
csi_traffic_types.h
Go to the documentation of this file.
1
/*
2
* ESPectre - CSI Traffic Types
3
*
4
* Platform-agnostic CSI traffic mode shared between the runtime interface
5
* and the ESP-IDF traffic service implementation.
6
*
7
* Author: Francesco Pace <francesco.pace@gmail.com>
8
* SPDX-License-Identifier: GPL-3.0-only
9
* Commercial licensing available under separate agreement; see LICENSING.md.
10
*/
11
#pragma once
12
13
namespace
espectre
{
14
15
/**
16
* Where the CSI-bearing traffic comes from.
17
*
18
* CSI is only produced when packets actually arrive, so something has to keep
19
* the link busy. This picks who does it.
20
*/
21
enum class
CsiTrafficMode
{
22
/**
23
* The runtime generates its own traffic at `csi_target_pps`.
24
* Default, and the only self-sufficient mode.
25
*/
26
INTERNAL
,
27
/** Another device supplies the traffic; the runtime only listens. */
28
EXTERNAL
,
29
/** External traffic, with the runtime pacing the sender to hold the rate. */
30
PACING
,
31
/**
32
* No traffic management at all.
33
*
34
* Only sensible when ambient traffic already sustains the packet rate the
35
* detector needs; otherwise the detector starves.
36
*/
37
DISABLED
,
38
};
39
40
}
// namespace espectre
espectre
Definition
espectre_sdk_version.h:62
espectre::CsiTrafficMode
CsiTrafficMode
Where the CSI-bearing traffic comes from.
Definition
csi_traffic_types.h:21
espectre::CsiTrafficMode::DISABLED
@ DISABLED
No traffic management at all.
Definition
csi_traffic_types.h:37
espectre::CsiTrafficMode::INTERNAL
@ INTERNAL
The runtime generates its own traffic at csi_target_pps.
Definition
csi_traffic_types.h:26
espectre::CsiTrafficMode::PACING
@ PACING
External traffic, with the runtime pacing the sender to hold the rate.
Definition
csi_traffic_types.h:30
espectre::CsiTrafficMode::EXTERNAL
@ EXTERNAL
Another device supplies the traffic; the runtime only listens.
Definition
csi_traffic_types.h:28
src
cpp
runtime
csi_traffic_types.h
Generated by
1.17.0