Skip to content

Commit

Permalink
add support to recv data AWS_Iot
Browse files Browse the repository at this point in the history
  • Loading branch information
knupGB committed Sep 10, 2024
1 parent aa9cc2f commit 49e6a45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ESP8266_Aws_IoT/ESP8266_Aws_IoT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ void setup() {
uint8_t binaryCA[caPemCrt.length() * 3 / 4];
len = b64decode(caPemCrt, binaryCA);
wiFiClient.setCACert(binaryCA, len);

pubSubClient.setCallback(msgReceived);
}

unsigned long lastPublish;
Expand Down

0 comments on commit 49e6a45

Please sign in to comment.