Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LEACH routing protocol #929
base: master
Are you sure you want to change the base?
Add LEACH routing protocol #929
Changes from 18 commits
2e82c88
67c97be
c1d93a6
341edb5
8be9a0f
751bc0f
052beed
0796844
7215b3c
298eff7
57c36ed
8ba9c25
ee9c1a9
439032d
9c05df0
6947423
9dfd520
2f6a9b6
e2c5cb0
9ed810b
a6aeb1d
85481e9
bb14ffb
c73ecae
8293e22
e99fabb
f04b5be
510b0ca
5f04eac
99e709f
ad80f49
2a7da92
8dcc7d5
6008a9a
f4a4040
d930310
946b456
162a92b
0770d2d
0c30c54
e840295
4dbb739
a1dc053
6c85dee
e04de37
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a leach node requires specific settings to be always set, for example in your doc, you state that it works only with the 802.15.4 radio and MAC, plus it is designed to use only a single wireless interface, I would rather set set and fix all those parameters here specializing the LeachNode for a single wireless interface and setting up that interface to be a 802.15.4 radio. This way the user does not have to configure all those parameters manually in the INI file which is error prone. Also the risk running into an error is decreased as you explicitly set the parameters to their proper value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The standard LEACH protocol doesn't specify the protocol for the Physical and MAC layers, however for my implementation I've used 802.15.4 standard that covers those layers as I was simulating a WSN as realistically as possible. Hence the reference to the Texas Instruments CC2520 in the .INI file comments as well.
So I thought it would be best to explicitly showcase which parameters have been set in the simulation .INI file so whoever is using it can customize as needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay. I get this.