Skip to content
Permalink
Browse files

Merge pull request #3 from devunwired/master

Clean up GCP terminology in README files.
  • Loading branch information...
mahavirj committed Mar 15, 2019
2 parents 7df4235 + 6f497ae commit 504a5404b286565999cc60ca50fb94afc26c6f56
Showing with 8 additions and 8 deletions.
  1. +2 −2 README.md
  2. +6 −6 examples/smart_outlet/README.md
@@ -1,6 +1,6 @@
# ESP-Google-IoT

This framework enables Google IoT Core cloud connectivity with ESP32 based platforms using [Google IoT Device Embedded SDK](https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/README.md).
This framework enables Google Cloud IoT Core connectivity with ESP32 based platforms using [Google Cloud IoT Device SDK](https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/README.md).


## Supported Hardware
@@ -14,4 +14,4 @@ This framework enables Google IoT Core cloud connectivity with ESP32 based platf
- Please refer to https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html for setting ESP-IDF
- ESP-IDF can be downloaded from https://github.com/espressif/esp-idf/
- ESP-IDF v3.2 and above is recommended version
- Please refer to [example README](examples/smart_outlet/README.md) for setting up smart outlet use case which allows to control load connected to configurable GPIO on ESP32 using Google IoT Core Cloud
- Please refer to [example README](examples/smart_outlet/README.md) for setting up smart outlet use case which allows to control load connected to configurable GPIO on ESP32 using Google Cloud IoT Core
@@ -3,11 +3,11 @@

----------------------

## Google IoT Core Cloud Setup
## Google IoT Core Setup


Follow this [getting-started-guide ](https://cloud.google.com/iot/docs/how-tos/getting-started) to do
the initial Google IoT core setup.
the initial Google Cloud IoT Core setup.

### Create Public/Private Key pair

@@ -78,7 +78,7 @@ static void wifi_init(void)
```
### Connecting ESP32 to Google-IoT-Core
### Connecting ESP32 to Cloud IoT Core
After wifi connection is established, invoke `iotc_connect()` API in the application which initiates a connection to Cloud IoT Core.
@@ -116,7 +116,7 @@ void on_publication( iotc_context_handle_t in_context_handle,
```
### Subscribing to Cloud Sub/Pub topics
### Subscribing to MQTT topics
To subscribe to a topic, call `iotc_subscribe()`. Subscription must include:
@@ -159,7 +159,7 @@ Set Project ID, Location, Registry ID and Device ID under `make menuconfig` -> `
`project_id` of your project can be fetched from [resources page](https://console.cloud.google.com/cloud-resource-manager)
Fetch `location`, `registry_id` and `device_id` from the Google IoT core registry.
Fetch `location`, `registry_id` and `device_id` from the Google IoT Core registry.
### Flashing client application
@@ -186,4 +186,4 @@ A subscription to the topic `/devices/{device-id}/config` is established on star
A subscription to the wildcard topic `/devices/{device-id}/commands/#` is established in this example, you can send commands to the device by following instruction given [here](https://cloud.google.com/iot/docs/how-tos/commands).
- Set Output GPIO under `make menuconfig` -> `Example Configuration` -> `Output GPIO`
- Send `{"outlet": 0}` or `{"outlet": 1}` from Google Cloud IoT Core Device Console to change GPIO output.
- Send `{"outlet": 0}` or `{"outlet": 1}` from Google Cloud IoT Core Device Console to change GPIO output.

0 comments on commit 504a540

Please sign in to comment.
You can’t perform that action at this time.