0.4.1
Loading...
Searching...
No Matches
EspressifUtilities.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9/// @file EspressifUtilities.hpp
10/// @brief Helper Functions to work with Espressif Sensors
11/// @author R. Lintz (r-lintz@gmx.de) (master thesis)
12/// @author T. Topp (topp@ins.uni-stuttgart.de)
13/// @date 2024-01-08
14
15#pragma once
16
17#include <cstdint>
18#include <vector>
19#include <memory>
20
21#include "uart/protocol/packet.hpp"
23
25
27{
28/// @brief Decrypts the provided Espressif observation
29/// @param[in] obs Espressif Observation to decrypt
30/// @param[in, out] packet Uart packet with the data (content gets changed because data gets extracted)
31/// @param[in] nameId NameId of the calling node for Log output
32bool decryptWiFiObs(const std::shared_ptr<NAV::WiFiObs>& obs, uart::protocol::Packet& packet, [[maybe_unused]] const std::string& nameId);
33} // namespace NAV::vendor::espressif
Helper Functions to work with Ublox Sensors.
Espressif Observation Class.
bool decryptWiFiObs(const std::shared_ptr< NAV::WiFiObs > &obs, uart::protocol::Packet &packet, const std::string &nameId)
Decrypts the provided Espressif observation.