golioth-firmware-sdk
golioth-firmware-sdk copied to clipboard
examples: zephyr: Add CBOR examples to lightdb_stream example app
Update the lightdb_stream
example app to include sync & async examples showing how to send CBOR-encoded sensor data to LightDB Stream.
If you don't want the last commit (dc055c6464d0c34445f1a53275033b6e1dea2ca6) just LMK and I can drop it (was just trying to consolidate duplicate code)
Visit the preview URL for this PR (updated for commit a18bb55):
https://golioth-firmware-sdk-doxygen-dev--pr469-cdwilson-zephy-nmtmtw62.web.app
(expires Thu, 09 May 2024 14:20:41 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: a9993e61697a3983f3479e468bcb0b616f9a0578
Code Coverage
Type | Coverage |
---|---|
lines | 55.6% (1036 of 1862 lines) |
functions | 57.7% (94 of 163 functions) |
@cdwilson Can we add tests for the new functionality? Should be as simple as extending the number of temperature readings we're checking (in examples/zephyr/lightdb_stream/pytest/test_sample.y
) to ensure that we're covering the new functions.