Skip to content

Conversation

@zhuoshuguo
Copy link
Contributor

Contribution description

This PR adds a brief description of GoMacH's main features.

Issues/PRs references

See also #5618 .

* @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
Copy link
Member

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.

* @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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multi-hop

* 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
Copy link
Member

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)

* 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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multiple senders

* 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

article missing.

* 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;
Copy link
Member

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
....

* 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;
Copy link
Member

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.

@zhuoshuguo
Copy link
Contributor Author

Addressed comments.

*
* ## GoMacH's main features
* doesn't rely on global synchronization;
* supports for Multi-hop and mesh network;
Copy link
Member

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?

Copy link
Contributor Author

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

* high traffic adaptability, high energy efficiency and high robustness.
*
* ## GoMacH's main features
* doesn't rely on global synchronization;
Copy link
Member

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.

@zhuoshuguo
Copy link
Contributor Author

Addressed comments again~

Copy link
Member

@miri64 miri64 left a 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 ^^

* high traffic adaptability, high energy efficiency and high robustness.
*
* ## GoMacH's main features
* doesn't rely on global synchronization
Copy link
Member

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
 *  - ...

@miri64 miri64 self-assigned this Dec 19, 2017
@miri64 miri64 added Area: doc Area: Documentation GNRC CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Dec 19, 2017
@zhuoshuguo
Copy link
Contributor Author

Addressed comments again~

@zhuoshuguo
Copy link
Contributor Author

Will squash after ACK~

* @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
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member

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.

Copy link
Member

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)

Copy link
Member

@miri64 miri64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

* @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.
Copy link
Contributor Author

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~ :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you mean the description should be a one-liner, i.e., not longer than one line (like 2 or 3 lies)? @smlng @miri64

Copy link
Member

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.

Copy link
Contributor Author

@zhuoshuguo zhuoshuguo Dec 19, 2017

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~ :-)

@zhuoshuguo zhuoshuguo force-pushed the gnrc_gomach_add_description branch from 811de4a to f8b1583 Compare December 19, 2017 13:56
@zhuoshuguo
Copy link
Contributor Author

Addressed comments and squashed!~

@smlng
Copy link
Member

smlng commented Dec 19, 2017

compiled docs, looks good!

@miri64 miri64 merged commit 2f78a0c into RIOT-OS:master Dec 19, 2017
@aabadie aabadie added this to the Release 2018.01 milestone Jan 18, 2018
@miri64 miri64 added the Area: network Area: Networking label Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: doc Area: Documentation Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants