SunitRaut / WSN-for-RFM69-LowPowerLab

This is a library for developing Wireless Sensor Network using RFM69 LowPowerLab Library
GNU General Public License v3.0
4 stars 0 forks source link

Let the user configure value of random(limit) instead of hard-coded random(50) in backoff #7

Open SunitRaut opened 3 years ago

SunitRaut commented 3 years ago

Let the user modify value of random number limit as per requirement by declaring a define statement in WSN_RFM69.h

SunitRaut commented 3 years ago

Added #define MAX_BACKOFF 50 in WSN_RFM69.h (commit: 446b161) Changes made at two places in WSN_RFM69.cpp: random(MAX_BACKOFF) - commit 0017d3e

Awaiting final testing and push to release tag