disable geonet beaconing

This commit is contained in:
Yu Asabe 2022-07-21 09:13:03 +09:00
parent 3dc4cd119d
commit 4a5baf0db1
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ RouterContext::RouterContext(const geonet::MIB &mib, TimeTrigger &trigger, vanet
router_.set_address(mib_.itsGnLocalGnAddr); router_.set_address(mib_.itsGnLocalGnAddr);
router_.set_transport_handler(geonet::UpperProtocol::BTP_B, &dispatcher_); router_.set_transport_handler(geonet::UpperProtocol::BTP_B, &dispatcher_);
router_.set_security_entity(security_entity); router_.set_security_entity(security_entity);
mib_.vanetzaDisableBeaconing = true;
update_position_vector(); update_position_vector();
trigger_.schedule(); trigger_.schedule();