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

Enable on demand vitals publishing #1724

Merged
merged 66 commits into from
Apr 12, 2019

Conversation

zfields
Copy link
Contributor

@zfields zfields commented Mar 14, 2019

  • Run .clang-format to homogenize new code
  • Complete the unit-tests
  • Draw up a test plan for end-to-end validation

Related Stories:

@zfields zfields force-pushed the ch29186/vitals branch 5 times, most recently from 1ac0d05 to db1cd79 Compare March 21, 2019 15:26
@zfields zfields force-pushed the ch29186/vitals branch 3 times, most recently from b9a4fa4 to 707af8e Compare March 25, 2019 20:03
system/src/system_cloud.cpp Outdated Show resolved Hide resolved
@zfields zfields force-pushed the ch29186/vitals branch 4 times, most recently from 05ef1c9 to 8bb925c Compare April 1, 2019 01:43
@zfields zfields marked this pull request as ready for review April 1, 2019 01:43
@zfields
Copy link
Contributor Author

zfields commented Apr 1, 2019

Having issues with Electron...

[UPDATE] Appears to have been a spurious error; cannot reproduce. Now working as expected.

@zfields zfields requested a review from sergeuz April 4, 2019 16:38
…wpa-ent-md5

[internal] [photon/p1] crypto: re-enables MD5 for TLS (WPA Enterprise)
@m-mcgowan m-mcgowan changed the base branch from develop to release/v1.2.0 April 11, 2019 19:21
@m-mcgowan m-mcgowan self-requested a review April 12, 2019 02:06
Copy link
Contributor

@m-mcgowan m-mcgowan left a comment

Choose a reason for hiding this comment

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

The testing has some areas that need fixing up, but it's not so critical to delay this release.

* Project: particle_publish_vitals
* Description: Confirm the functionality of the `Particle.publishVitals()` API
* Author: Zachary J. Fields
* Date: 13th March, 2019
Copy link
Contributor

Choose a reason for hiding this comment

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

This might seem like a nitpick, but we have generally moved away from putting creation dates, author and other attributions in files since they typically go out of date - we can find these things from the metadata in Github.

But 👍 to the project and description.

Copy link
Contributor Author

@zfields zfields Apr 12, 2019

Choose a reason for hiding this comment

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

That's the boilerplate from Workbench (used to create the test application). Going forward, I will replace with something more general to Particle from elsewhere in the code.

bool final_publish = false;

// setup() runs once, when the device is first turned on.
void setup()
Copy link
Contributor

Choose a reason for hiding this comment

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

How about adding some cloud functions so that we can set the vitals publish period from the console?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I love that idea!

user/tests/wiring/api/cloud.cpp Show resolved Hide resolved
@m-mcgowan m-mcgowan merged commit 98f5cc4 into particle-iot:release/v1.2.0 Apr 12, 2019
@zfields zfields deleted the ch29186/vitals branch May 2, 2019 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants