This folder contains Java samples that demonstrate an overview of the Google Cloud IoT Core platform.
-
From the Google Cloud IoT Core section of the Google Cloud console, create a device registry.
-
Use the
generate_keys.sh
script to generate your signing keys:./generate_keys.sh
-
Add a device using the file
rsa_cert.pem
, specifying RS256_X509 and using the text copy of the public key starting with the ----START---- block of the certificate.cat rsa_cert.pem
-
Connect a device using the HTTP or MQTT device samples in the manager folder.
-
Programmattically control device configuration and using the device manager sample in the manager folder.