Skip to content

Latest commit

 

History

History
 
 

api-client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Cloud IoT Core Java Samples

Open in Cloud Shell

This folder contains Java samples that demonstrate an overview of the Google Cloud IoT Core platform.

Quickstart

  1. From the Google Cloud IoT Core section of the Google Cloud console, create a device registry.

  2. Use the generate_keys.sh script to generate your signing keys:

    ./generate_keys.sh

  3. 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

  4. Connect a device using the HTTP or MQTT device samples in the manager folder.

  5. Programmattically control device configuration and using the device manager sample in the manager folder.