ESPectre SDK
2.8.0-280-gac7af68
Wi-Fi CSI motion sensing for ESP32 firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware_version.h
Go to the documentation of this file.
1
/*
2
* ESPectre - Firmware Version
3
*
4
* Firmware version string helpers.
5
*
6
* Author: Francesco Pace <francesco.pace@gmail.com>
7
* SPDX-License-Identifier: GPL-3.0-only
8
* Commercial licensing available under separate agreement; see LICENSING.md.
9
*/
10
#pragma once
11
12
namespace
espectre
{
13
14
/**
15
* The running application's version, as your build system defined it.
16
*
17
* Resolved from `APP_PROJECT_VER` when set, otherwise from the ESP-IDF
18
* application descriptor, and `"unknown"` on a host build. In an SDK
19
* integration this is *your* product version, not ESPectre's: it is what the
20
* ESPectre Protocol reports as `firmware_version` and what OTA compares
21
* against. For the version of the ESPectre sources you compiled against, use
22
* `ESPECTRE_SDK_VERSION_STRING` from `espectre_sdk_version.h`.
23
*
24
* @return A static string, valid for the process lifetime. Never `nullptr`.
25
*/
26
const
char
*
espectre_firmware_version
();
27
28
}
// namespace espectre
espectre
Definition
espectre_sdk_version.h:62
espectre::espectre_firmware_version
const char * espectre_firmware_version()
The running application's version, as your build system defined it.
src
cpp
runtime
firmware_version.h
Generated by
1.17.0