Skip to content
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

lib: modem_info: Update RSRP/RSRQ calculation #17528

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

trantanen
Copy link
Contributor

AT Command Reference Guide has been updated based on how the modem behaves. Doing corresponding update to app side, i.e., modem_info and lte_link_control.

Jira: TNSW-62531

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Sep 27, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Sep 27, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 11

Inputs:

Sources:

sdk-nrf: PR head: 7cc1f485b25ac2d14bc71c62b699b06f508ae1e6

more details

sdk-nrf:

PR head: 7cc1f485b25ac2d14bc71c62b699b06f508ae1e6
merge base: 8e944f1efee98c62872e034cae87f6e62c595d45
target head (main): f7258d0ad63ff6f736b08f60b9d4c2e28398de68
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (4)
doc
│  ├── nrf
│  │  ├── releases_and_maturity
│  │  │  ├── releases
│  │  │  │  │ release-notes-changelog.rst
include
│  ├── modem
│  │  ├── lte_lc.h
│  │  │ modem_info.h
lib
│  ├── modem_info
│  │  │ modem_info.c

Outputs:

Toolchain

Version: 9583beca34
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:9583beca34_81ed5a52d6

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ❌ Build twister
    • sdk-nrf test count: 305
  • ❌ Integration tests
    • ❌ test-fw-nrfconnect-nrf-iot_cloud
    • ❌ test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • ❌ test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • ❌ test-fw-nrfconnect-nrf-iot_samples
    • ❌ test-fw-nrfconnect-nrf-iot_lwm2m
    • ❌ test-fw-nrfconnect-nrf-iot_mosh
    • ❌ test-fw-nrfconnect-nrf-iot_positioning
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-proprietary_esb
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread
    • test-fw-nrfconnect-zigbee
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

include/modem/modem_info.h Outdated Show resolved Hide resolved
include/modem/modem_info.h Outdated Show resolved Hide resolved
@github-actions github-actions bot added doc-required PR must not be merged without tech writer approval. and removed changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Oct 3, 2024
@trantanen trantanen force-pushed the lte_lc_rsrp_doc branch 3 times, most recently from ecd3661 to d7ab7d4 Compare October 4, 2024 12:01
@trantanen trantanen marked this pull request as ready for review October 4, 2024 12:07
@trantanen trantanen requested review from a team as code owners October 4, 2024 12:07
* command reference guide for more information.
/** @brief Converts RSRP index value returned by the modem to dBm.
*
* The index value of RSRP can be converted to decibel with the following formula:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be dBm instead, but should it be plural, @peknis?

Suggested change
* The index value of RSRP can be converted to decibel with the following formula:
* The index value of RSRP can be converted to dBm with the following formula:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is copy paste from AT command spec and I did send the question to Jaakko earlier

include/modem/modem_info.h Outdated Show resolved Hide resolved

/** @brief Converts RSRQ index value returned by the modem to dB.
*
* The index value of RSRQ can be converted to decibel with the following formula:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should "decibel" be plural or not, @peknis?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for Jaakko's feedback

include/modem/modem_info.h Outdated Show resolved Hide resolved
lib/modem_info/modem_info.c Show resolved Hide resolved
AT Command Reference Guide has been updated based on
how the modem behaves. Doing corresponding update to app side.

Jira: TNSW-62531

Signed-off-by: Tommi Rantanen <[email protected]>
AT Command Reference Guide has been updated based on
how the modem behaves. Doing corresponding update to app side.

Jira: TNSW-62531

Signed-off-by: Tommi Rantanen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants