-
Notifications
You must be signed in to change notification settings - Fork 82
Use NetworkConfigurator #535
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
base: master
Are you sure you want to change the base?
Use NetworkConfigurator #535
Conversation
Codecov ReportAll modified and coverable lines are covered by tests โ
Additional details and impacted files@@ Coverage Diff @@
## master #535 +/- ##
=======================================
Coverage 94.91% 94.91%
=======================================
Files 32 32
Lines 1376 1376
=======================================
Hits 1306 1306
Misses 70 70 โ View full report in Codecov by Sentry. ๐ New features to boost your workflow:
|
bd3fd1f
to
068496c
Compare
380e974
to
8047509
Compare
a2067ea
to
819161c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
e749fc3
to
bbf3f69
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
initProperties(); | ||
AgentsManagerClass::getInstance().begin(); | ||
LEDFeedbackClass::getInstance().begin(); | ||
DEBUG_INFO("Starting Provisioning"); |
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 would add also the binary version and Network configurator version
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.
The network configurator version is already inside the NetworkConfigurator with a specific command for read it and for the binary version I think we can keep aligned with the SKETCH_VERSION
This comment was marked as outdated.
This comment was marked as outdated.
src/ArduinoIoTCloud.h
Outdated
@@ -146,6 +152,9 @@ class ArduinoIoTCloudClass | |||
protected: | |||
|
|||
ConnectionHandler * _connection; | |||
#if NETWORK_CONFIGURATOR_ENABLED | |||
NetworkConfiguratorClass * _configurator = nullptr; |
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.
NetworkConfiguratorClass * _configurator = nullptr; | |
NetworkConfiguratorClass * _configurator; |
This comment was marked as outdated.
This comment was marked as outdated.
001c63f
to
ef8fc29
Compare
This comment was marked as outdated.
This comment was marked as outdated.
update example of sketch that uses the NetworkConfigurator use NetworkConfigurator wrappers for agentsManager update ci test for networkConfigurator add Arduino_NetworkConfigurator dep to library.properties
add GET_PROVISIONING_SKETCH_VERSION command add define for compile with test env
ef8fc29
to
db2abdf
Compare
Memory usage change @ db2abdf
Click for full report table
Click for full report CSV
|
Edit the ArduinoIoTCloudTCP FSM for using the NetworkConfigurator
void setConfigurator(NetworkConfiguratorClass & configurator)
void disconnect()