diff --git a/examples/simple_repeater/MyMesh.cpp b/examples/simple_repeater/MyMesh.cpp index cb338da1..a88de9f2 100644 --- a/examples/simple_repeater/MyMesh.cpp +++ b/examples/simple_repeater/MyMesh.cpp @@ -900,7 +900,7 @@ MyMesh::MyMesh(mesh::MainBoard &board, mesh::Radio &radio, mesh::MillisecondCloc _prefs.bw = LORA_BW; _prefs.cr = LORA_CR; _prefs.tx_power_dbm = LORA_TX_POWER; - _prefs.advert_interval = 1; // default to 2 minutes for NEW installs + _prefs.advert_interval = 3; // default to 6 minutes for NEW installs (field is minutes/2, no odd values) _prefs.flood_advert_interval = 47; // 47 hours _prefs.flood_max = 64; _prefs.flood_max_unscoped = 64; diff --git a/examples/simple_repeater/main.cpp b/examples/simple_repeater/main.cpp index e55f0016..b31abcc6 100644 --- a/examples/simple_repeater/main.cpp +++ b/examples/simple_repeater/main.cpp @@ -51,7 +51,7 @@ extern "C" EMSCRIPTEN_KEEPALIVE int sim_is_ready() { // Same idea as companion_radio's sim_test_advert_flood() -- MyMesh's own // updateAdvertTimer() (called once from begin()) doesn't fire the repeater's -// first self-advert for a full 2 minutes (advert_interval defaults to 1, +// first self-advert for a full 6 minutes (advert_interval defaults to 3, // scaled *2*60*1000ms -- see MyMesh::updateAdvertTimer()/begin() in this // same MyMesh.cpp), so a host page that wants hero/B to discover the // repeater as a contact immediately on boot (rather than waiting out that