mcallistertad / nrf_google_iot_core

nRF9160 - Google IoT Core - Pub/Sub
MIT License
2 stars 2 forks source link
cat-m1 google-iot-core iot-device lte-m mqtt-client nbiot nordicsemi nrf-connect nrf91 nrf9160 thingy91

.. _mqtt_google_cloud:

nRF9160: MQTT Google Cloud ##################### This application gathers readings from a Bosch BME680 environmental sensor and publishes to a GCP Pub/Sub topic.

Overview


Sensor data is saved in an array of size set in prj.conf. When full, the data is aggregated, a TLS session is established, we authenticate to GC IoT Core and the data is published.

Requirements


Dependencies


Getting Started


In prj.conf: set gcloud variables CONFIG_GCLOUD_REGION="" CONFIG_GCLOUD_PROJECT_NAME="" CONFIG_GCLOUD_REGISTRY_NAME="" CONFIG_GCLOUD_DEVICE_NAME=""

References


gcloud library is based on: https://devzone.nordicsemi.com/cfs-file/__key/telligent-evolution-components-attachments/01-27-00-00-00-00-12-59/nRF9160DKtoGoogleCloud.zip modified for use with new ncs mqtt bindings and compatibility with Thingy91.