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

samples: cellular: modem_shell: Fix printing of PDN events #21064

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

tokangas
Copy link
Contributor

Two PDN events were missing from a mapping table. Furthermore, if an event which was missing from the table was received, modem_shell crashed. Added the missing events and implemented mapping using similar approach which is used elsewhere in the sample, which handles missing items gracefully.

TNSW-66408

@tokangas tokangas requested a review from a team as a code owner March 20, 2025 13:30
@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 Mar 20, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Mar 20, 2025

CI Information

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

Inputs:

Sources:

sdk-nrf: PR head: 0ee1c5f558d1276682b7e7b729c7f6200614cd59

more details

sdk-nrf:

PR head: 0ee1c5f558d1276682b7e7b729c7f6200614cd59
merge base: 9c9dca6930170eacf0d75e6bdea0e5166f1c3b6c
target head (main): 26355eeec126466e6aefa11b0f700267d84e233b
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 (1)
samples
│  ├── cellular
│  │  ├── modem_shell
│  │  │  ├── src
│  │  │  │  ├── link
│  │  │  │  │  │ link_shell_pdn.c

Outputs:

Toolchain

Version:
Build docker image:

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

  • ◻️ Toolchain
  • ◻️ Build twister
  • ◻️ Integration tests
    • ◻️ test-fw-nrfconnect-nrf-iot_samples
    • ◻️ test-fw-nrfconnect-nrf-iot_mosh
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test-fw-nrfconnect-apps
    • 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_cloud
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • 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-wifi
    • test-secdom-samples-public

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

Two PDN events were missing from a mapping table. Furthermore,
if an event which was missing from the table was received,
modem_shell crashed. Added the missing events and implemented
mapping using similar approach which is used elsewhere in
the sample, which handles missing items gracefully.

TNSW-66408

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
@tokangas tokangas force-pushed the mosh_pdn_event_mapping_fix branch from cd82c20 to 0ee1c5f Compare March 21, 2025 07:47
@tokangas tokangas removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Mar 21, 2025
@nordicjm nordicjm merged commit daed3d7 into nrfconnect:main Mar 24, 2025
14 checks passed
@tokangas tokangas deleted the mosh_pdn_event_mapping_fix branch March 24, 2025 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants