mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Allow repeater discovery even if repeater mode is disabled on the requesting repeater.
This commit is contained in:
parent
bf9c6cb50f
commit
0770618ee2
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue