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: nrf_cloud_ble_gateway: New sample #19853

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

Conversation

plskeggs
Copy link
Contributor

NOTE: this might be better as an update to the multi service sample, with the BLE code in a subfolder. Alternatively,
reorg the folder like the http_update sample.

Migrate sample from nRF Cloud repo to nRF Connect SDK.
Replace old cloud interface from ATv1 with MSS.
Get to run on NCS 2.9.0.

Jira: IRIS-9993

@github-actions github-actions bot added doc-required PR must not be merged without tech writer approval. changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Jan 10, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jan 10, 2025

CI Information

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

Inputs:

Sources:

sdk-nrf: PR head: c540e62e971c8686d6942a15ab01df6dbf8fe4fe

more details

sdk-nrf:

PR head: c540e62e971c8686d6942a15ab01df6dbf8fe4fe
merge base: b65f69a952107a821e23c0a222a1d2545db8b437
target head (main): c9251c2c358d8e184999c9ae1d37b5d4a901d53c
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 (118)
include
│  ├── net
│  │  │ nrf_cloud.h
samples
│  ├── cellular
│  │  ├── nrf_cloud_ble_gateway
│  │  │  ├── .gitignore
│  │  │  ├── CMakeLists.txt
│  │  │  ├── Kconfig
│  │  │  ├── Kconfig.sysbuild
│  │  │  ├── README.rst
│  │  │  ├── apricity_gateway_nrf9160_ns.overlay
│  │  │  ├── boards
│  │  │  │  ├── apricity_gateway_nrf9160_ns.conf
│  │  │  │  ├── arm
│  │  │  │  │  ├── apricity_gateway_nrf9160
│  │  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  │  ├── Kconfig
│  │  │  │  │  │  ├── Kconfig.board
│  │  │  │  │  │  ├── Kconfig.defconfig
│  │  │  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  │  │  ├── apricity_gateway_nrf9160.dts
│  │  │  │  │  │  ├── apricity_gateway_nrf9160.yaml
│  │  │  │  │  │  ├── apricity_gateway_nrf9160_common.dts
│  │  │  │  │  │  ├── apricity_gateway_nrf9160_defconfig
│  │  │  │  │  │  ├── apricity_gateway_nrf9160_ns.dts
│  │  │  │  │  │  ├── apricity_gateway_nrf9160_ns.yaml
│  │  │  │  │  │  ├── apricity_gateway_nrf9160_ns_defconfig
│  │  │  │  │  │  ├── apricity_gateway_nrf9160_partition_conf.dts
│  │  │  │  │  │  ├── board.cmake
│  │  │  │  │  │  ├── dts
│  │  │  │  │  │  │  ├── bindings
│  │  │  │  │  │  │  │  ├── nordic,nrf9160dk-nrf52840-boot.yaml
│  │  │  │  │  │  │  │  ├── nordic,nrf9160dk-nrf52840-interface.yaml
│  │  │  │  │  │  │  │  │ nordic,nrf9160dk-nrf52840-reset.yaml
│  │  │  │  │  │  ├── nrf52840_reset.c
│  │  │  │  │  │  │ pre_dt_board.cmake
│  │  │  │  ├── nrf9151dk_nrf9151_ns.conf
│  │  │  │  ├── nrf9151dk_nrf9151_ns.overlay
│  │  │  │  ├── nrf9160dk_nrf9160_0_14_0.overlay
│  │  │  │  ├── nrf9160dk_nrf9160_ns.conf
│  │  │  │  ├── nrf9160dk_nrf9160_ns.overlay
│  │  │  │  ├── nrf9160dk_nrf9160_ns_0_14_0.overlay
│  │  │  │  ├── nrf9161dk_nrf9161_ns.conf
│  │  │  │  ├── nrf9161dk_nrf9161_ns.overlay
│  │  │  │  ├── nrf9161dk_nrf9161_ns_0_7_0.overlay
│  │  │  │  ├── thingy91_nrf9160_ns.conf
│  │  │  │  ├── thingy91_nrf9160_ns.overlay
│  │  │  │  ├── thingy91x_nrf9151_ns.conf
│  │  │  │  │ thingy91x_nrf9151_ns.overlay
│  │  │  ├── overlay-coap_nrf_provisioning.conf
│  │  │  ├── overlay-http_nrf_provisioning.conf
│  │  │  ├── overlay-nrf7002ek-wifi-scan-only.conf
│  │  │  ├── overlay_coap.conf
│  │  │  ├── overlay_full_modem_fota.conf
│  │  │  ├── overlay_mcuboot_ext_flash.conf
│  │  │  ├── overlay_min_coap.conf
│  │  │  ├── overlay_min_mqtt.conf
│  │  │  ├── overlay_nrf700x_wifi_coap_no_lte.conf
│  │  │  ├── overlay_nrf700x_wifi_mqtt_no_lte.conf
│  │  │  ├── overlay_nrfcloud_logging.conf
│  │  │  ├── overlay_pgps_ext_flash.conf
│  │  │  ├── prj.conf
│  │  │  ├── sample.yaml
│  │  │  ├── src
│  │  │  │  ├── application.c
│  │  │  │  ├── application.h
│  │  │  │  ├── at_commands.c
│  │  │  │  ├── at_commands.h
│  │  │  │  ├── ble
│  │  │  │  │  ├── README.rst
│  │  │  │  │  ├── ble.c
│  │  │  │  │  ├── ble.h
│  │  │  │  │  ├── ble_codec.c
│  │  │  │  │  ├── ble_codec.h
│  │  │  │  │  ├── ble_conn_mgr.c
│  │  │  │  │  ├── ble_conn_mgr.h
│  │  │  │  │  ├── cli.c
│  │  │  │  │  ├── dfu
│  │  │  │  │  │  ├── peripheral_dfu.c
│  │  │  │  │  │  │ peripheral_dfu.h
│  │  │  │  │  ├── flash
│  │  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  │  ├── flash_test.c
│  │  │  │  │  │  ├── include
│  │  │  │  │  │  │  │ flash_test.h
│  │  │  │  │  ├── gateway.c
│  │  │  │  │  │ gateway.h
│  │  │  │  ├── cloud_connection.c
│  │  │  │  ├── cloud_connection.h
│  │  │  │  ├── fota_support.c
│  │  │  │  ├── fota_support.h
│  │  │  │  ├── fota_support_coap.c
│  │  │  │  ├── fota_support_coap.h
│  │  │  │  ├── led_control.c
│  │  │  │  ├── led_control.h
│  │  │  │  ├── location_tracking.c
│  │  │  │  ├── location_tracking.h
│  │  │  │  ├── main.c
│  │  │  │  ├── message_queue.c
│  │  │  │  ├── message_queue.h
│  │  │  │  ├── provisioning_support.c
│  │  │  │  ├── provisioning_support.h
│  │  │  │  ├── sample_reboot.c
│  │  │  │  ├── sample_reboot.h
│  │  │  │  ├── shadow_config.c
│  │  │  │  ├── shadow_config.h
│  │  │  │  ├── shadow_support_coap.c
│  │  │  │  ├── shadow_support_coap.h
│  │  │  │  ├── temperature.c
│  │  │  │  │ temperature.h
│  │  │  ├── sysbuild.conf
│  │  │  ├── sysbuild
│  │  │  │  ├── mcuboot
│  │  │  │  │  ├── app.overlay
│  │  │  │  │  ├── boards
│  │  │  │  │  │  ├── apricity_gateway_nrf9160.conf
│  │  │  │  │  │  ├── nrf9151dk_nrf9151.conf
│  │  │  │  │  │  ├── nrf9151dk_nrf9151.overlay
│  │  │  │  │  │  ├── nrf9160dk_nrf9160.conf
│  │  │  │  │  │  ├── nrf9160dk_nrf9160_0_14_0.overlay
│  │  │  │  │  │  ├── nrf9161dk_nrf9161.conf
│  │  │  │  │  │  ├── nrf9161dk_nrf9161.overlay
│  │  │  │  │  │  ├── nrf9161dk_nrf9161_0_7_0.overlay
│  │  │  │  │  │  ├── thingy91_nrf9160.conf
│  │  │  │  │  │  ├── thingy91x_nrf9151.conf
│  │  │  │  │  │  │ thingy91x_nrf9151.overlay
│  │  │  │  │  │ prj.conf
│  │  │  ├── sysbuild_ext_flash.conf
│  │  │  ├── sysbuild_nrf700x-wifi-conn.conf
│  │  │  │ sysbuild_nrf700x-wifi-scan.conf
subsys
│  ├── net
│  │  ├── lib
│  │  │  ├── nrf_cloud
│  │  │  │  ├── include
│  │  │  │  │  │ nrf_cloud_codec_internal.h
│  │  │  │  ├── src
│  │  │  │  │  ├── nrf_cloud.c
│  │  │  │  │  ├── nrf_cloud_codec_internal.c
│  │  │  │  │  ├── nrf_cloud_fota.c
│  │  │  │  │  │ nrf_cloud_transport.c

Outputs:

Toolchain

Version: 342151af73
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:342151af73_912848a074

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

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ❌ Build twister
    • sdk-nrf test count: 361
  • ❌ Integration tests
    • ❌ test-fw-nrfconnect-boot
    • ❌ test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • ❌ test-fw-nrfconnect-nrf-iot_thingy91
    • ❌ test-fw-nrfconnect-nrf-iot_mosh
    • ❌ test-fw-nrfconnect-nrf-iot_positioning
    • ❌ test-sdk-mcuboot
    • ⚠️ test-fw-nrfconnect-fw-update
    • ⚠️ test-fw-nrfconnect-nrf-iot_cloud
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-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • 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-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi
    • test-secdom-samples-public

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

@plskeggs plskeggs force-pushed the feature-nrfcloud-gateway branch 10 times, most recently from 1f9a1af to 3dd7eba Compare January 14, 2025 21:59
Remove most customizations for the nRF Cloud gateway
because they are no longer necessary. The exception is
the proper suffix on the cloud to device topic.

Fix bug in JSONata transform handling during connection
startup -- only the MQTT control channel needs to be
connected, not also the data channel.

Jira: IRIS-9993

Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
@plskeggs plskeggs force-pushed the feature-nrfcloud-gateway branch from 3dd7eba to e4ba118 Compare January 15, 2025 18:52
Migrate sample from nRF Cloud repo to nRF Connect SDK.

Replace old cloud interface from ATv1 with MSS.

Get to run on NCS 2.9.0.

Jira: IRIS-9993

Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
@plskeggs plskeggs force-pushed the feature-nrfcloud-gateway branch from e4ba118 to c540e62 Compare January 15, 2025 21:24
@plskeggs plskeggs added changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. and removed changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants