golioth-firmware-sdk icon indicating copy to clipboard operation
golioth-firmware-sdk copied to clipboard

examples: zephyr: Add CBOR examples to lightdb_stream example app

Open cdwilson opened this issue 9 months ago • 3 comments

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)

cdwilson avatar Apr 29 '24 15:04 cdwilson

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

github-actions[bot] avatar Apr 29 '24 15:04 github-actions[bot]

Code Coverage

Type Coverage
lines 55.6% (1036 of 1862 lines)
functions 57.7% (94 of 163 functions)

github-actions[bot] avatar Apr 29 '24 15:04 github-actions[bot]

@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.

sam-golioth avatar Apr 29 '24 21:04 sam-golioth