bluerange-io / bluerange-mesh

BlueRange Mesh (formerly FruityMesh) - The first completely connection-based open source mesh on top of Bluetooth Low Energy (4.1/5.0 or higher)
https://bluerange.io/
Other
287 stars 109 forks source link

Hops need to be based on receiver id instead of sender id. #83

Closed skulblakka closed 7 years ago

skulblakka commented 7 years ago

The number of hops is determined by the receiver id not the sender id.

Also the acceptable range according to the wiki should be between 30001 and 31000 (with NODE_ID_HOPS_BASE being 30000 we only need to add 1000 in the if).

mariusheil commented 7 years ago

Good one, thanks :-) I wonder how this one slipped through,...