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

Code split up cpp #15

Merged
merged 6 commits into from
Sep 5, 2016
Merged

Code split up cpp #15

merged 6 commits into from
Sep 5, 2016

Conversation

glynhudson
Copy link
Member

No description provided.

Basic code break up, mostly each xxxxx.h file contains the 'public' API calls of the format xxxx_yyyyy. Any API intended to be called from setup() is named xxxx_setup() and those to be called from loop() xxxx_loop().

The split up breaks the code up as follows;

- config - load/save the EmonESP settings
- emoncms - Code for pushing to EmonCMS
- http - HTTP/HTTPS helper functions
- input - read the input from serial/web
- mqtt - pushing to MQTT
- ota - handle updating the firmware of the ESP
- web_server - provides the web interface to the EmonESP
- wifi - management of the WiFi
Fix for building on systems with a case sensitive file system.
@jeremypoulter
Copy link
Contributor

jeremypoulter commented Aug 26, 2016

So things I think need doing

  • Documentation for new functions
  • Add licence to new file
  • Add description of each the content of each file
  • Lots more testing (but been running fine on my Huzzah)

Probably more...

@glynhudson
Copy link
Member Author

thanks a lot 👍

@glynhudson glynhudson merged commit e1e998a into master Sep 5, 2016
@glynhudson glynhudson deleted the code_split_up_cpp branch September 14, 2016 12:18
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

Successfully merging this pull request may close these issues.

2 participants