blob: 6ab662239f3e65478650a4871440cdee554081ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef __MODEJOIN_H__
#define __MODEJOIN_H__
#include "Mode.h"
#include "LayoutJoin.h"
#include "mDot.h"
#include "LoRaHandler.h"
class ModeJoin : public Mode {
public:
ModeJoin(DOGS102* lcd, ButtonHandler* buttons, mDot* dot, LoRaHandler* lora, uint8_t band);
~ModeJoin();
bool start();
private:
void display();
LayoutJoin _join;
mDot* _dot;
LoRaHandler* _lora;
uint8_t _band;
uint8_t _sub_band;
uint8_t _data_rate;
uint8_t _power;
uint32_t _next_tx;
bool _joined;
ButtonHandler::ButtonEvent _be;
LoRaHandler::LoRaStatus _ls;
};
#endif
|