kopia lustrzana https://github.com/jgromes/RadioLib
[PHY] Add finishReceive method for cleanup after Rx
rodzic
b2a70682e1
commit
d42c391499
|
@ -175,6 +175,10 @@ int16_t PhysicalLayer::finishTransmit() {
|
|||
return(RADIOLIB_ERR_UNSUPPORTED);
|
||||
}
|
||||
|
||||
int16_t PhysicalLayer::finishReceive() {
|
||||
return(RADIOLIB_ERR_UNSUPPORTED);
|
||||
}
|
||||
|
||||
#if defined(RADIOLIB_BUILD_ARDUINO)
|
||||
int16_t PhysicalLayer::readData(String& str, size_t len) {
|
||||
int16_t state = RADIOLIB_ERR_NONE;
|
||||
|
|
|
@ -364,6 +364,12 @@ class PhysicalLayer {
|
|||
*/
|
||||
virtual int16_t finishTransmit();
|
||||
|
||||
/*!
|
||||
\brief Clean up after reception is done.
|
||||
\returns \ref status_codes
|
||||
*/
|
||||
virtual int16_t finishReceive();
|
||||
|
||||
#if defined(RADIOLIB_BUILD_ARDUINO)
|
||||
/*!
|
||||
\brief Reads data that was received after calling startReceive method.
|
||||
|
|
Ładowanie…
Reference in New Issue