Skip to content
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.

C++ migration: Allow features without preprocessor ugliness #15

Open
davidgraeff opened this issue Jul 16, 2018 · 0 comments
Open

C++ migration: Allow features without preprocessor ugliness #15

davidgraeff opened this issue Jul 16, 2018 · 0 comments

Comments

@davidgraeff
Copy link

At the moment Wakaama uses preprocessor #ifdefs to enable certain codepaths (server, client, bootstrap server, json), transport properties (dtls) and other features (firmware upgrade).

The compiler and linker are already eliminating dead code, so independent features like firmware upgrade do not need to be #ifdef'ed.

Server, client and bootstrap functionality should be separated more and refactored into own classes with an own state machine each.

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

No branches or pull requests

1 participant