Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 2ada623

Browse files
authored
Update README.md
1 parent 3911842 commit 2ada623

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,11 @@ connecting to Google Cloud IoT Core.
55

66
This contains two parts: a library to make a JWT (json web token) which is used
77
to authenticate with Google Cloud IOT, and Arduino sketches that demonstrate
8-
how to connect to Google Cloud IOT using the available HTTP and MQTT bridges.
8+
how to connect to Google Cloud IOT using the available MQTT bridge.
99

1010
**This example is not an officially supported Google product, does not have a
1111
SLA/SLO, and should not be used in production.**
1212

13-
There's been a lot of confusion recently regarding which example to use,
14-
it's recommended that you start with the lwmqtt (light-weight MQTT) examples
15-
as they seem to be the most stable.
16-
1713
## Supported hardware targets
1814

1915
Currently, we support the following hardware targets:
@@ -133,32 +129,17 @@ board as [described on Hackster.io](https://www.hackster.io/arichetta/add-ssl-ce
133129
You can see the Arduino client library in action in [the Cloud IoT Demo from Google I/O 2018](https://www.youtube.com/watch?v=7kpE44tXQak#T=28m)
134130

135131
## Error codes
136-
If you're using a sample that uses PubSub MQTT, the error codes are listed
137-
[in this header file](https://github.com/knolleary/pubsubclient/blob/master/src/PubSubClient.h#L44-L54).
138132

139133
The error codes for the lwMQTT library are listed [in this header file](https://github.com/256dpi/arduino-mqtt/blob/master/src/lwmqtt/lwmqtt.h#L16-L29).
140134

141135
## Known issues
142136

143-
If you're using PlatformIO with the PubSub client, add the following line to your platformio.ini to increase the packet size in the build step.
144-
145-
```
146-
build_flags = -DMQTT_MAX_PACKET_SIZE=384
147-
```
148-
149137
Some private keys do not correctly encode to the Base64 format that required
150138
for the device bridge. If you've tried everything else, try regenerating your
151139
device credentials and registering your device again with
152140

153141
gcloud iot devices create ...
154142

155-
### HTTP Examples
156-
* We occasionally encounter 403 errors on these samples, not sure of the cause.
157-
In some cases, it seems this is occurring due to invalid / bad iss / exp fields
158-
in the JWT.
159-
* Transmitting telemetry seems less reliable than setting state and getting
160-
device configuration.
161-
162143
## License
163144

164145
Apache 2.0; see [LICENSE](LICENSE) for details.

0 commit comments

Comments
 (0)