Closed karamo closed 3 weeks ago
The firmware will set it to 3
yes, but it would be shown wrong in the APP
if (p->hop_limit > HOP_MAX) {
LOG_WARN("hop limit %d is too high, setting to %d\n", p->hop_limit, HOP_RELIABLE);
p->hop_limit = HOP_RELIABLE;
}
It would be fine to default to 3 hops because whoever sets more than 7 hops obviously doesn't know what they're doing. Better to ensure mesh integrity than to let a user to make bad decisions.
Maybe there should be warnings if someone try to set it over 5 . It maybe be ok in a small mesh. But it may break a big mesh.
In the APP HopLimit could be set >7
APP 2.3.11