This repository was archived by the owner on Jan 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ how to connect to Google Cloud IOT using the available HTTP and MQTT bridges.
10
10
** This example is not an officially supported Google product, does not have a
11
11
SLA/SLO, and should not be used in production.**
12
12
13
- There's been a lot of confusion recently regarding which example to use,
13
+ There's been a lot of confusion recently regarding which example to use,
14
14
it's recommended that you start with the lwmqtt (light-weight MQTT) examples
15
15
as they seem to be the most stable.
16
16
@@ -116,9 +116,15 @@ The error codes for the lwMQTT library are listed [in this header file](https://
116
116
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.
117
117
118
118
```
119
- build_flags = -DMQTT_MAX_PACKET_SIZE=384
119
+ build_flags = -DMQTT_MAX_PACKET_SIZE=384
120
120
```
121
121
122
+ Some private keys do not correctly encode to the Base64 format that required
123
+ for the device bridge. If you've tried everything else, try regenerating your
124
+ device credentials and registering your device again with
125
+
126
+ gcloud iot devices create ...
127
+
122
128
### HTTP Examples
123
129
* We occasionally encounter 403 errors on these samples, not sure of the cause.
124
130
In some cases, it seems this is occurring due to invalid / bad iss / exp fields
You can’t perform that action at this time.
0 commit comments