Skip to content
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 info about scheduler usage to user documentation #467

Open
tjallingran opened this issue Mar 26, 2017 · 3 comments
Open

Add info about scheduler usage to user documentation #467

tjallingran opened this issue Mar 26, 2017 · 3 comments

Comments

@tjallingran
Copy link

While there is info about pico_stack_init in the picoTCP User Documentation, there is no information about other core functions of the stack. I'm mainly referring to pico_stack_tick here.

As the user is always required to call pico_stack_tick, this information should be part of the User Documentation.

There is some (but not much) information about pico_stack_tick on the wiki, on the following pages:

@tjallingran
Copy link
Author

Hm, perhaps integrating the user documentation into the wiki (and optionally building a pdf from the wiki) would make life easier and prevent duplicate work? Iff (parts of) the wiki and the user doc can serve the same purpose, of course.

@frederikvs
Copy link
Contributor

Thanks for reporting this - we're aware that documentation is one of our weak points, it's good to get some specific examples of things we need to fix.
Quite right that pico_stack_tick should be in the user documentation.

In truth, I think that we should really have a good look at the documentation, see if we shouldn't change the whole way it's done. Building a PDF from the wiki could be one approach. Documenting the API with a doxygen-style annotation, and then extracting the PDF from that is another idea I've heard.

Next time we get some developers together, this will be one of the topics to be discussed :-)

@tjallingran
Copy link
Author

All right, sounds good :). Thanks for the reply.

I probably can't be of much help, but if you can use input / review from the p.o.v. of someone who doesn't know much about picoTCP's internals, let me know.

If I may make a suggestion if you decide to go the doxygen route: in addition to doxygen's automatic generation of documentation for each individual function, it would be really helpful to provide an overview of the picoTCP API by explaining the relationships between the core functions. For example based on a call sequence example, perhaps presented in the form of a UML sequence diagram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants