This repository was archived by the owner on Jul 9, 2024. It is now read-only.
✔️ Enable memfault integration #414
coderbyheart
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://memfault.com/ is available from NCS 1.6 on.
Add option to enable it for customers that want to use it.
Memfault supports these "modules"
However, there is a benefit of sending all memfault data through the cloud connection: it provides per-device based authentication (using the device credentials), while device-to-memfault requests are authenticated with a global project key. Using the cloud connect would allow to have more fine-grained control over which devices are sending data into memfault, and also allow to change the project that a device is reporting to at runtime on the cloud side, because currently the memfault project setting is hardcoded at compile time using the
CONFIG_MEMFAULT_NCS_PROJECT_KEY
KConfig option.Proposal for memfault integration
Device information
Meta information about devices is populated by cloud when devices report their values
hardware_version
) is inferred cloud side fromdev.v.brdV
nickname
is inferred from the user's name setting for the deviceChunks
Because the memfault SDK packages the data from all modules in chunks, using the cloud connection applies to all modules.
Memfault embeds offset information in each chunk so they can re-assemble data that arrives out of order, no need to buffer chunks on the cloud side.
Device publishes the chunks to
memfault
.See:
Implementations
Beta Was this translation helpful? Give feedback.
All reactions