Add WiFi, ESP-NOW and combined wireless CLI controls
This commit is contained in:
1 parent
071ca663c2
commit
0e0aa8e014
25 files changed
+1311
-61
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "BaseSerialInterface.h"
|
||||
#include "CompanionFrameQueue.h"
|
||||
#include "WirelessControl.h"
|
||||
|
||||
#ifndef MAX_INTERFACES
|
||||
// ble, usb, wifi, ethernet
|
||||
@@ -93,6 +94,7 @@ public:
|
||||
}
|
||||
|
||||
void enableBluetooth() {
|
||||
if (mesh::wireless::control().blocked(mesh::wireless::Bluetooth)) return;
|
||||
for(auto iface : _interfaces){
|
||||
if(iface.instance && iface.type == InterfaceType::Bluetooth){
|
||||
iface.instance->enable();
|
||||
|
||||
Reference in new issue
Block a user