mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-10 08:53:45 +00:00
Allow for passing of beacon requests from the networks to the repeater.
This commit is contained in:
parent
c70e35d5b7
commit
efbf42ff83
4 changed files with 21 additions and 0 deletions
|
|
@ -615,6 +615,10 @@ int CDMRGateway::run()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
ret = m_dmrNetwork1->wantsBeacon();
|
||||
if (ret)
|
||||
m_repeater->writeBeacon();
|
||||
}
|
||||
|
||||
if (m_dmrNetwork2 != NULL) {
|
||||
|
|
@ -639,6 +643,10 @@ int CDMRGateway::run()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
ret = m_dmrNetwork2->wantsBeacon();
|
||||
if (ret)
|
||||
m_repeater->writeBeacon();
|
||||
}
|
||||
|
||||
unsigned char buffer[50U];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue