.. _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="
Sign BSEC license agreement and place in nrf/ext folder
Update BSEC path in prj.conf if BSEC version is different
Run shell script in src/private_info to generate GC IoT Core certs/ public key sh create_keys.sh
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.