hello-nrfcloud / firmware

Firmware for devices connecting to nRF Cloud for the out-of-box experience
Other
3 stars 6 forks source link

modules: network: Add Energy Estimate reporting #227

Closed balaji-nordic closed 6 days ago

balaji-nordic commented 1 week ago

The network module now reports energy estimate periodically to the Connection Information LWM2M object.

To achieve this, the network module is now made to listen to the trigger channel and upon receiving a trigger, it retrieves the energy estimate using the link control API and encodes it into cbor data and sends it to the payload channel. Tested and found to work with hello nrfcloud.

Tested with hello nrfcloud web ui. I can see the Signal Quality as below.

image

Fixes https://github.com/hello-nrfcloud/firmware/issues/105

sonarcloud[bot] commented 6 days ago

Quality Gate Passed Quality Gate passed

Issues
6 New issues
0 Accepted issues

Measures
0 Security Hotspots
32.2% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud