#include <cstdint>
#include <string.h>
#include <iomanip>
#include <numeric>
#include <gnuradio/expj.h>
#include <volk/volk.h>
#include <algorithm>
Go to the source code of this file.
|
long | gr::lora_sdr::mod (long a, long b) |
| return the modulus ab between 0 and (b-1)
|
|
double | gr::lora_sdr::double_mod (double a, long b) |
|
std::vector< bool > | gr::lora_sdr::int2bool (unsigned int integer, uint8_t n_bits) |
| Convert an integer into a MSB first vector of bool.
|
|
uint32_t | gr::lora_sdr::bool2int (std::vector< bool > b) |
| Convert a MSB first vector of bool to a integer.
|
|
void | gr::lora_sdr::build_upchirp (gr_complex *chirp, uint32_t id, uint8_t sf, uint8_t os_factor=1) |
| Return an modulated upchirp using s_f=bw.
|
|
void | gr::lora_sdr::build_ref_chirps (gr_complex *upchirp, gr_complex *downchirp, uint8_t sf, uint8_t os_factor=1) |
| Return the reference chirps using s_f=bw.
|
|
int | gr::lora_sdr::most_frequent (int arr[], int n) |
|
std::string | gr::lora_sdr::random_string (int Nbytes) |
|
◆ LDRO_MAX_DURATION_MS
#define LDRO_MAX_DURATION_MS 16 |
◆ MAX_SF
◆ MIN_SF
◆ print
#define print |
( |
|
message | ) |
std::cout<< message <<std::endl |
◆ RED
#define RED "\033[31m" /* Red */ |
◆ RESET