-
Notifications
You must be signed in to change notification settings - Fork 2.1k
gnrc_gomach: add a brief description of GoMacH's features. #8281
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
Conversation
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * @ingroup net_gnrc | ||
| * @brief A traffic adaptive MAC protocol that provides high traffic | ||
| * adaptability, high energy efficiency and high robustness. | ||
| * @brief GoMacH is, we believe, "a General, nearly Optimal MAC protocol |
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.
Do we believie it or know it. Anyway this , we believe, should be removed IMHO.
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * @brief A traffic adaptive MAC protocol that provides high traffic | ||
| * adaptability, high energy efficiency and high robustness. | ||
| * @brief GoMacH is, we believe, "a General, nearly Optimal MAC protocol | ||
| * for multi-Hop communications", for IEEE 802.15.4 IoT/WSNs networks. |
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.
Multi-hop
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * 3. it adopts duty-cycle scheme to conserve power; | ||
| * 4. it provides high traffic adaptation for handling burst or dynamic traffics. | ||
| * It achieves this by dynamically allocating transmission slots for intensive | ||
| * senders (that have pending packets); it enables a (or several) sender |
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.
one (or more) sender(s)
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * senders (that have pending packets); it enables a (or several) sender | ||
| * to burst transmit all of its buffered packets (for the same destination) to | ||
| * the receiver in one shot (or during a shot notice); The burst slotted-transmissions | ||
| * (of multi senders) will be ordered by the receiver device in a TDMA period; |
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.
multiple senders
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * to burst transmit all of its buffered packets (for the same destination) to | ||
| * the receiver in one shot (or during a shot notice); The burst slotted-transmissions | ||
| * (of multi senders) will be ordered by the receiver device in a TDMA period; | ||
| * 5. it adopts multi-channel scheme for avoiding/reducing wireless interference jam. |
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.
article missing.
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * high traffic adaptability, high energy efficiency and high robustness. | ||
| * | ||
| * ## GoMacH's main features | ||
| * 1. it is an asynchronous solution which doesn't rely on global synchronization; |
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.
I think this whole list can be more paraphrased,
1. doesn't rely on global synchronization
2. support for multi-hop and mesh networks
....
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * high traffic adaptability, high energy efficiency and high robustness. | ||
| * | ||
| * ## GoMacH's main features | ||
| * 1. it is an asynchronous solution which doesn't rely on global synchronization; |
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.
Also, why it is an enumerated list? These features do not appear to be in any particular order or priority.
|
Addressed comments. |
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * | ||
| * ## GoMacH's main features | ||
| * doesn't rely on global synchronization; | ||
| * supports for Multi-hop and mesh network; |
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.
Why is Multi-hop capitalized now?
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.
Ah, my bad, mistakenly did it. fix soon
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * high traffic adaptability, high energy efficiency and high robustness. | ||
| * | ||
| * ## GoMacH's main features | ||
| * doesn't rely on global synchronization; |
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.
Consider removing semi-colons and periods or decide for one of them.
|
Addressed comments again~ |
miri64
left a comment
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.
Last change request, I promise ^^
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * high traffic adaptability, high energy efficiency and high robustness. | ||
| * | ||
| * ## GoMacH's main features | ||
| * doesn't rely on global synchronization |
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.
mh... now it isn't a list anymore I just realized (the stars are just from the C-comment). Probably most readable to do it with dashes:
* - doesn't rely on global synchronization
* - ...
|
Addressed comments again~ |
|
Will squash after ACK~ |
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * @ingroup net_gnrc | ||
| * @brief A traffic adaptive MAC protocol that provides high traffic | ||
| * adaptability, high energy efficiency and high robustness. | ||
| * @brief GoMacH is, "a General, nearly Optimal MAC protocol |
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.
sorry, but this is not brief, maybe the original defgroup description (A traffic-adaptive multi-channel MAC) can be (re) used here. Please note that the @brief sentence will be displayed in doxygen below the group name (GoMacH, here), hence it should be a one-liner. You can use this longer text as as the first paragraph of the detailed description (above the feature list), though.
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.
to make my point a bit clearer, look at the module page in doxygen, the @brief for the boards group is for instance Board specific definitions and implementations.
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.
@zhuoshuguo you can also look at the compiled doc locally by building with make doc in the RIOT root directory. The results will be in doc/doxygen/html/. Choose the module.html to look at the new version of the page @smlng mentioned.
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.
(saw this comment only after ACKing)
miri64
left a comment
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.
ACK
sys/include/net/gnrc/gomach/gomach.h
Outdated
| * @brief GoMacH is, "a General, nearly Optimal MAC protocol | ||
| * for multi-Hop communications", for IEEE 802.15.4 IoT/WSNs networks. | ||
| * It is designed to be a traffic adaptive MAC protocol that provides | ||
| * high traffic adaptability, high energy efficiency and high robustness. |
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.
@smlng But we have the removed description above texts displayed here~ :-)
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.
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.
exactly, the text is fine, just add a one-liner for @brief and move these 2 sentences after that (2 empty lines) so its part of the longer description.
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.
Thanks!~ Learned and work on it~ :-)
811de4a to
f8b1583
Compare
|
Addressed comments and squashed!~ |
|
compiled docs, looks good! |
Contribution description
This PR adds a brief description of GoMacH's main features.
Issues/PRs references
See also #5618 .