sketchbook
|
#include <SPI.h>
#include <RH_RF95.h>
Macros | |
#define | ENABLE_BW_SCAN |
#define | ENABLE_SF_SCAN |
#define | LED LED_BUILTIN |
#define | RH_FLAGS_ACK 0x80 |
#define | FREQ_COUNT 3 |
#define | BW_COUNT 2 |
#define | SF_COUNT 2 |
#define | FREQ_TIME_MS 4000 |
Functions | |
void | rf95_setFrequency (uint32_t index) |
void | rf95_setBandwidth (uint32_t index) |
void | rf95_setSpreadingFactor (uint32_t index) |
void | setup () |
void | loop () |
Variables | |
float | _frequencies [] |
long int | _bandwidths [] |
int | _spreadingfactors [] |
uint16_t | _packetCounts [FREQ_COUNT][BW_COUNT][SF_COUNT] |
RH_RF95 | rf95 |
uint8_t | _rxBuffer [RH_RF95_MAX_MESSAGE_LEN] |
uint8_t | _rxRecvLen |
uint32_t | _freqExpire = 0 |
uint32_t | _freqIndex = 0 |
bool | _sdReady = false |
uint32_t | _bwIndex = 0 |
uint32_t | _sfIndex = 0 |
#define BW_COUNT 2 |
#define ENABLE_BW_SCAN |
#define ENABLE_SF_SCAN |
#define FREQ_COUNT 3 |
#define FREQ_TIME_MS 4000 |
#define LED LED_BUILTIN |
#define RH_FLAGS_ACK 0x80 |
#define SF_COUNT 2 |
void loop | ( | void | ) |
OneWirePJON device status update function.
Arduino IDE: put your main code here, to run repeatedly.
void rf95_setBandwidth | ( | uint32_t | index | ) |
void rf95_setFrequency | ( | uint32_t | index | ) |
void rf95_setSpreadingFactor | ( | uint32_t | index | ) |
void setup | ( | void | ) |
Arduino IDE: put your setup code here, to run once.
long int _bandwidths[] |
uint32_t _bwIndex = 0 |
uint32_t _freqExpire = 0 |
uint32_t _freqIndex = 0 |
float _frequencies[] |
uint16_t _packetCounts[FREQ_COUNT][BW_COUNT][SF_COUNT] |
uint8_t _rxBuffer[RH_RF95_MAX_MESSAGE_LEN] |
uint8_t _rxRecvLen |
uint32_t _sfIndex = 0 |
int _spreadingfactors[] |
RH_RF95 rf95 |