Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Dec 10, 2022
1 parent f2d7f49 commit 8737d74
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
4 changes: 1 addition & 3 deletions examples/HTTP/HTTP/HTTP.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ const char* manifest_url = "http://server/fota/fota.json";
void setup_wifi()
{
delay(10);
Serial.print("Connecting to ");
Serial.println(ssid);

Serial.print("Connecting to WiFi");
WiFi.begin(); // no WiFi creds in this demo :-)

while (WiFi.status() != WL_CONNECTED)
Expand Down
3 changes: 1 addition & 2 deletions examples/HTTP/HTTPS/HTTPS.ino
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ CryptoFileAsset *MyRootCA = new CryptoFileAsset( "/root_ca.pem", &SPIFFS );
void setup_wifi()
{
delay(10);
Serial.print("Connecting to ");
Serial.println(ssid);
Serial.print("Connecting to WiFi");

WiFi.begin(); // no WiFi creds in this demo :-)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ const char* manifest_url = "http://server/fota/fota.json";
void setup_wifi()
{
delay(10);
Serial.print("Connecting to ");
Serial.println(ssid);
Serial.print("Connecting to WiFi");

WiFi.begin(); // no WiFi creds in this demo :-)

Expand Down
3 changes: 1 addition & 2 deletions examples/HTTP/HTTP_signature_check/HTTP_signature_check.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ CryptoFileAsset *MyRSAKey = new CryptoFileAsset( "/rsa_key.pub", &SPIFFS );
void setup_wifi()
{
delay(10);
Serial.print("Connecting to ");
Serial.println(ssid);
Serial.print("Connecting to WiFi");

// Need to provide SPIFFS with rsa_key.pub inside.
SPIFFS.begin( true );
Expand Down
3 changes: 1 addition & 2 deletions examples/forceUpdate/forceUpdate.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ const char* manifest_url = "http://server/fota/fota.json";
void setup_wifi()
{
delay(10);
Serial.print("Connecting to ");
Serial.println(ssid);
Serial.print("Connecting to WiFi");

WiFi.begin(); // no WiFi creds in this demo :-)

Expand Down
3 changes: 1 addition & 2 deletions examples/withDeviceID/withDeviceID.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ const char* manifest_url = "http://server/fota/fota.json";
void setup_wifi()
{
delay(10);
Serial.print("Connecting to ");
Serial.println(ssid);
Serial.print("Connecting to WiFi");

WiFi.begin(); // no WiFi creds in this demo :-)

Expand Down

0 comments on commit 8737d74

Please sign in to comment.