P2P+mDNS experiment
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@
|
|||||||
using namespace pipedal;
|
using namespace pipedal;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
const bool ENABLE_KEEP_ALIVE = false;
|
const bool ENABLE_KEEP_ALIVE = true;
|
||||||
|
|
||||||
using tcp = boost::asio::ip::tcp; // from <boost/asio/ip/tcp.hpp>
|
using tcp = boost::asio::ip::tcp; // from <boost/asio/ip/tcp.hpp>
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
#include "WifiDirectConfigSettings.hpp"
|
#include "WifiDirectConfigSettings.hpp"
|
||||||
#include "AdminClient.hpp"
|
#include "AdminClient.hpp"
|
||||||
#include "AvahiService.hpp"
|
#include "AvahiService.hpp"
|
||||||
|
#include <thread>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -73,6 +74,7 @@ public:
|
|||||||
|
|
||||||
class PiPedalModel: private IJackHostCallbacks {
|
class PiPedalModel: private IJackHostCallbacks {
|
||||||
private:
|
private:
|
||||||
|
std::unique_ptr<std::jthread> pingThread;
|
||||||
|
|
||||||
AvahiService avahiService;
|
AvahiService avahiService;
|
||||||
uint16_t webPort;
|
uint16_t webPort;
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ p2p_device_type=1-0050F204-1
|
|||||||
# Wi-Fi configuration
|
# Wi-Fi configuration
|
||||||
wlanInterface=wlan0
|
wlanInterface=wlan0
|
||||||
p2pInterface=p2p-dev-wlan0
|
p2pInterface=p2p-dev-wlan0
|
||||||
p2p_go_ht40=0
|
p2p_go_ht40=1
|
||||||
p2p_go_vht=0
|
p2p_go_vht=0
|
||||||
p2p_go_he=0
|
p2p_go_he=0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user