Allow repeater discovery even if repeater mode is disabled on the requesting repeater.
This commit is contained in:
@@ -767,8 +767,6 @@ void MyMesh::onControlDataRecv(mesh::Packet* packet) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MyMesh::sendNodeDiscoverReq() {
|
void MyMesh::sendNodeDiscoverReq() {
|
||||||
if (_prefs.disable_fwd) return;
|
|
||||||
|
|
||||||
uint8_t data[10];
|
uint8_t data[10];
|
||||||
data[0] = CTL_TYPE_NODE_DISCOVER_REQ; // prefix_only=0
|
data[0] = CTL_TYPE_NODE_DISCOVER_REQ; // prefix_only=0
|
||||||
data[1] = (1 << ADV_TYPE_REPEATER);
|
data[1] = (1 << ADV_TYPE_REPEATER);
|
||||||
|
|||||||
Reference in New Issue
Block a user