mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-11-04 12:07:42 +00:00
Share radio2 raw transport for Ethernet and negotiated direct LoRa OTA
This commit is contained in:
1 parent
861bd2aad6
commit
938f637487
77 files changed
+7061
-260
No files matched your search
@@ -77,6 +77,7 @@ struct Bluetooth {
|
||||
int motaStream() { return 0; }
|
||||
bool isMotaChannelReady() const { return ready; }
|
||||
bool isMotaStreamActive() const { return active; }
|
||||
uint16_t motaResponseCapacity() const { return ready && active ? 197 : 0; }
|
||||
void setMotaStreamActive(bool value) { active = value; }
|
||||
} bluetooth_interface;
|
||||
namespace mesh {
|
||||
@@ -91,6 +92,8 @@ public:
|
||||
assert(::bluetooth_interface.active);
|
||||
++session_resets;
|
||||
}
|
||||
protected:
|
||||
virtual uint16_t responseFrameCapacity() const { return 197; }
|
||||
};
|
||||
} }
|
||||
#include "ble_control_under_test.h"
|
||||
|
||||
Reference in new issue
Block a user