Myriota Flex SDK 2.6.0
Loading...
Searching...
No Matches
flex_rssi.h
1
2// Copyright (c) 2025, Myriota Pty Ltd, All Rights Reserved
3// SPDX-License-Identifier: BSD-3-Clause-Attribution
4//
5// This file is licensed under the BSD with attribution (the "License"); you
6// may not use these files except in compliance with the License.
7//
8// You may obtain a copy of the License here:
9// LICENSE-BSD-3-Clause-Attribution.txt and at
10// https://spdx.org/licenses/BSD-3-Clause-Attribution.html
11//
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#ifndef FLEX_RSSI_H
16#define FLEX_RSSI_H
17
18#include <stdbool.h>
19#include <stdint.h>
20
47
49#define FLEX_RSSI_DEFAULT_FREQUENCY_HZ 400500000
50
54
75int32_t FLEX_RSSIAvgCalcRun(const uint32_t start_delay_ms, const uint32_t frequency_hz,
76 const uint32_t samples_count, const uint32_t read_interval_ms, const bool should_log);
77
79
80#endif /* FLEX_RSSI_H */
bool FLEX_RSSICalcSupport(void)
int32_t FLEX_RSSIAvgCalcRun(const uint32_t start_delay_ms, const uint32_t frequency_hz, const uint32_t samples_count, const uint32_t read_interval_ms, const bool should_log)