-
Notifications
You must be signed in to change notification settings - Fork 511
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
Enable on demand vitals publishing #1724
Conversation
1ac0d05
to
db1cd79
Compare
b9a4fa4
to
707af8e
Compare
05ef1c9
to
8bb925c
Compare
Having issues with Electron... [UPDATE] Appears to have been a spurious error; cannot reproduce. Now working as expected. |
79ab5dd
to
b29d1f9
Compare
… caused issues with WPA Ent authorization
…wpa-ent-md5 [internal] [photon/p1] crypto: re-enables MD5 for TLS (WPA Enterprise)
API tests - compile only - confirm backward compatibilty of API E2E test - sample app
- Fix CMake to `--std=c++11` - Update header includes
Instead, leverage LOG_DISABLE macro to eliminate logging dependencies
Further disambiguate the Core specific implementation
- Set spark_protocol_post_description as a static member of the class to allow abstractions for using the system thread - Create on demand timer to simply construction, yet allow for mocking
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 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 |
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.
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.
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.
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() |
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.
How about adding some cloud functions so that we can set the vitals publish period from the console?
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 love that idea!
.clang-format
to homogenize new codeRelated Stories: