mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-08-07 22:12:14 -04:00
Poll for packets
This commit is contained in:
parent
910b8b0821
commit
15d1cdc526
3 changed files with 44 additions and 19 deletions
2
LoRa.h
2
LoRa.h
|
@ -76,6 +76,7 @@ public:
|
|||
virtual int peek();
|
||||
virtual void flush();
|
||||
|
||||
void pollReceive();
|
||||
void onReceive(void(*callback)(int));
|
||||
|
||||
void receive(int size = 0);
|
||||
|
@ -115,6 +116,7 @@ private:
|
|||
void implicitHeaderMode();
|
||||
|
||||
void handleDio0Rise();
|
||||
void handleRx();
|
||||
|
||||
uint8_t readRegister(uint8_t address);
|
||||
void writeRegister(uint8_t address, uint8_t value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue