diff --git a/.github/workflows/arduino_examples.yml b/.github/workflows/arduino_examples.yml index c042d61..856bf2f 100644 --- a/.github/workflows/arduino_examples.yml +++ b/.github/workflows/arduino_examples.yml @@ -46,9 +46,9 @@ jobs: - name: Compile Examples for Arduino-ESP32@2.0.17 run: | arduino-cli core install esp32:esp32@2.0.17 - ./.github/workflows/scripts/compile_arduino_examples.sh --clean + ./scripts/compile_arduino_examples.sh --clean - name: Compile Examples for Arduino-ESP32@3.0.2 run: | arduino-cli core install esp32:esp32@3.0.2 - ./.github/workflows/scripts/compile_arduino_examples.sh --clean + ./scripts/compile_arduino_examples.sh --clean diff --git a/.github/workflows/pio_examples.yml b/.github/workflows/pio_examples.yml index 6d04a58..abe62d6 100644 --- a/.github/workflows/pio_examples.yml +++ b/.github/workflows/pio_examples.yml @@ -27,4 +27,4 @@ jobs: - name: Compile Examples run: | - ./.github/workflows/scripts/compile_pio_examples.sh --clean + ./scripts/compile_pio_examples.sh --clean diff --git a/compile_output.txt b/compile_output.txt new file mode 100644 index 0000000..85499d2 --- /dev/null +++ b/compile_output.txt @@ -0,0 +1,247 @@ +/home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/ +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/ for board: esp32:esp32:esp32doit-devkit-v1 +Sketch uses 1034953 bytes (78%) of program storage space. Maximum is 1310720 bytes. +Global variables use 45756 bytes (13%) of dynamic memory, leaving 281924 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +Ethernet 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Ethernet +Networking 1.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Network +SPI 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/SPI +WiFi 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/WiFi +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/ for board: esp32:esp32:esp32doit-devkit-v1 +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/ for board: esp32:esp32:esp32wroverkit +Sketch uses 1047085 bytes (79%) of program storage space. Maximum is 1310720 bytes. +Global variables use 45844 bytes (13%) of dynamic memory, leaving 281836 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +Ethernet 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Ethernet +Networking 1.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Network +SPI 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/SPI +WiFi 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/WiFi +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/ for board: esp32:esp32:esp32wroverkit +Cleaning example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/ +Cleaning successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/ +/home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_get_sim7600/ +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_get_sim7600/ for board: esp32:esp32:esp32doit-devkit-v1 +Sketch uses 507701 bytes (38%) of program storage space. Maximum is 1310720 bytes. +Global variables use 21424 bytes (6%) of dynamic memory, leaving 306256 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_get_sim7600/ for board: esp32:esp32:esp32doit-devkit-v1 +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_get_sim7600/ for board: esp32:esp32:esp32wroverkit +Sketch uses 519097 bytes (39%) of program storage space. Maximum is 1310720 bytes. +Global variables use 21496 bytes (6%) of dynamic memory, leaving 306184 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_get_sim7600/ for board: esp32:esp32:esp32wroverkit +Cleaning example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_get_sim7600/ +Cleaning successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_get_sim7600/ +/home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/ +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/ for board: esp32:esp32:esp32doit-devkit-v1 +Sketch uses 499837 bytes (38%) of program storage space. Maximum is 1310720 bytes. +Global variables use 22216 bytes (6%) of dynamic memory, leaving 305464 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/ for board: esp32:esp32:esp32doit-devkit-v1 +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/ for board: esp32:esp32:esp32wroverkit +Sketch uses 511477 bytes (39%) of program storage space. Maximum is 1310720 bytes. +Global variables use 22288 bytes (6%) of dynamic memory, leaving 305392 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/ for board: esp32:esp32:esp32wroverkit +Cleaning example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/ +Cleaning successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/ +/home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM800/ +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM800/ for board: esp32:esp32:esp32doit-devkit-v1 +Sketch uses 517297 bytes (39%) of program storage space. Maximum is 1310720 bytes. +Global variables use 22624 bytes (6%) of dynamic memory, leaving 305056 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +Wire 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Wire +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM800/ for board: esp32:esp32:esp32doit-devkit-v1 +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM800/ for board: esp32:esp32:esp32wroverkit +Sketch uses 529125 bytes (40%) of program storage space. Maximum is 1310720 bytes. +Global variables use 22696 bytes (6%) of dynamic memory, leaving 304984 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +Wire 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Wire +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM800/ for board: esp32:esp32:esp32wroverkit +Cleaning example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM800/ +Cleaning successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_gsm_SIM800/ +/home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_post_sim7600/ +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_post_sim7600/ for board: esp32:esp32:esp32doit-devkit-v1 +Sketch uses 509861 bytes (38%) of program storage space. Maximum is 1310720 bytes. +Global variables use 21424 bytes (6%) of dynamic memory, leaving 306256 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_post_sim7600/ for board: esp32:esp32:esp32doit-devkit-v1 +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_post_sim7600/ for board: esp32:esp32:esp32wroverkit +Sketch uses 521265 bytes (39%) of program storage space. Maximum is 1310720 bytes. +Global variables use 21496 bytes (6%) of dynamic memory, leaving 306184 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_post_sim7600/ for board: esp32:esp32:esp32wroverkit +Cleaning example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_post_sim7600/ +Cleaning successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_post_sim7600/ +/home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_wifi/ +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_wifi/ for board: esp32:esp32:esp32doit-devkit-v1 +Sketch uses 988593 bytes (75%) of program storage space. Maximum is 1310720 bytes. +Global variables use 45556 bytes (13%) of dynamic memory, leaving 282124 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +WiFi 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/WiFi +Networking 1.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Network +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_wifi/ for board: esp32:esp32:esp32doit-devkit-v1 +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_wifi/ for board: esp32:esp32:esp32wroverkit +Sketch uses 1000545 bytes (76%) of program storage space. Maximum is 1310720 bytes. +Global variables use 45636 bytes (13%) of dynamic memory, leaving 282044 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +ArduinoHttpClient 0.6.0 /home/robbyrnes/Arduino/libraries/ArduinoHttpClient +WiFi 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/WiFi +Networking 1.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Network +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_wifi/ for board: esp32:esp32:esp32wroverkit +Cleaning example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_wifi/ +Cleaning successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/https_wifi/ +/home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_gsm_SIM800L_Azure_x509_Device_Twin/ +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_gsm_SIM800L_Azure_x509_Device_Twin/ for board: esp32:esp32:esp32doit-devkit-v1 +Sketch uses 519453 bytes (39%) of program storage space. Maximum is 1310720 bytes. +Global variables use 22584 bytes (6%) of dynamic memory, leaving 305096 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +Wire 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Wire +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient +PubSubClient 2.8 /home/robbyrnes/Arduino/libraries/PubSubClient +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_gsm_SIM800L_Azure_x509_Device_Twin/ for board: esp32:esp32:esp32doit-devkit-v1 +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_gsm_SIM800L_Azure_x509_Device_Twin/ for board: esp32:esp32:esp32wroverkit +Sketch uses 531417 bytes (40%) of program storage space. Maximum is 1310720 bytes. +Global variables use 22656 bytes (6%) of dynamic memory, leaving 305024 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +Wire 2.0.0 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2/libraries/Wire +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient +PubSubClient 2.8 /home/robbyrnes/Arduino/libraries/PubSubClient +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_gsm_SIM800L_Azure_x509_Device_Twin/ for board: esp32:esp32:esp32wroverkit +Cleaning example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_gsm_SIM800L_Azure_x509_Device_Twin/ +Cleaning successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_gsm_SIM800L_Azure_x509_Device_Twin/ +/home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_secure_gsm_SIM7000/ +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_secure_gsm_SIM7000/ for board: esp32:esp32:esp32doit-devkit-v1 +Sketch uses 499005 bytes (38%) of program storage space. Maximum is 1310720 bytes. +Global variables use 22176 bytes (6%) of dynamic memory, leaving 305504 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient +PubSubClient 2.8 /home/robbyrnes/Arduino/libraries/PubSubClient +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_secure_gsm_SIM7000/ for board: esp32:esp32:esp32doit-devkit-v1 +Compiling example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_secure_gsm_SIM7000/ for board: esp32:esp32:esp32wroverkit +Sketch uses 510761 bytes (38%) of program storage space. Maximum is 1310720 bytes. +Global variables use 22248 bytes (6%) of dynamic memory, leaving 305432 bytes for local variables. Maximum is 327680 bytes. + +Used library Version Path +GovoroxSSLClient 1.3.1 /home/robbyrnes/Arduino/libraries/GovoroxSSLClient +PubSubClient 2.8 /home/robbyrnes/Arduino/libraries/PubSubClient +TinyGSM 0.12.0 /home/robbyrnes/Arduino/libraries/TinyGSM + +Used platform Version Path +esp32:esp32 3.0.2 /home/robbyrnes/.arduino15/packages/esp32/hardware/esp32/3.0.2 +Compilation successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_secure_gsm_SIM7000/ for board: esp32:esp32:esp32wroverkit +Cleaning example in directory: /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_secure_gsm_SIM7000/ +Cleaning successful for /home/robbyrnes/git-repos/SSLClient/examples/Esp32-Arduino-IDE/mqtt_secure_gsm_SIM7000/ +Compilation Summary: +==================== +Example: https_post_sim7600, Board: esp32:esp32:esp32wroverkit, Result: Passed +Example: https_wifi, Board: esp32:esp32:esp32doit-devkit-v1, Result: Passed +Example: mqtt_gsm_SIM800L_Azure_x509_Device_Twin, Board: esp32:esp32:esp32doit-devkit-v1, Result: Passed +Example: mqtt_secure_gsm_SIM7000, Board: esp32:esp32:esp32doit-devkit-v1, Result: Passed +Example: https_get_sim7600, Board: esp32:esp32:esp32wroverkit, Result: Passed +Example: https_post_sim7600, Board: esp32:esp32:esp32doit-devkit-v1, Result: Passed +Example: https_eth_LilyGo-T-ETH-POE, Board: esp32:esp32:esp32doit-devkit-v1, Result: Passed +Example: https_gsm_SIM7000, Board: esp32:esp32:esp32doit-devkit-v1, Result: Passed +Example: https_gsm_SIM7000, Board: esp32:esp32:esp32wroverkit, Result: Passed +Example: mqtt_secure_gsm_SIM7000, Board: esp32:esp32:esp32wroverkit, Result: Passed +Example: mqtt_gsm_SIM800L_Azure_x509_Device_Twin, Board: esp32:esp32:esp32wroverkit, Result: Passed +Example: https_gsm_SIM800, Board: esp32:esp32:esp32wroverkit, Result: Passed +Example: https_get_sim7600, Board: esp32:esp32:esp32doit-devkit-v1, Result: Passed +Example: https_eth_LilyGo-T-ETH-POE, Board: esp32:esp32:esp32wroverkit, Result: Passed +Example: https_gsm_SIM800, Board: esp32:esp32:esp32doit-devkit-v1, Result: Passed +Example: https_wifi, Board: esp32:esp32:esp32wroverkit, Result: Passed +All examples processed. Check compile_errors.log for any compilation errors. diff --git a/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/https_eth_LilyGo-T-ETH-POE.ino b/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/https_eth_LilyGo-T-ETH-POE.ino index 225d292..d01d691 100644 --- a/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/https_eth_LilyGo-T-ETH-POE.ino +++ b/examples/Esp32-Arduino-IDE/https_eth_LilyGo-T-ETH-POE/https_eth_LilyGo-T-ETH-POE.ino @@ -3,52 +3,52 @@ * ESP32 LilyGo-T-ETH-POE Example * * HTTPS (TLS/SLL) with CA Certificate via "ETH.h" - * This example use the WiFiClient class to integrate ETH functionality + * This example uses the WiFiClient class to integrate ETH functionality * * About board: https://github.com/Xinyuan-LilyGO/LilyGO-T-ETH-POE * Base example: https://github.com/Xinyuan-LilyGO/LilyGO-T-ETH-POE/blob/master/example/eth/eth.ino * **************************************************************/ +// To make HTTP request easy: https://github.com/arduino-libraries/ArduinoHttpClient +#include #include #include "WiFi.h" #include "SSLClient.h" -//To make http request esay: https://github.com/arduino-libraries/ArduinoHttpClient -#include -//Please enter your CA certificate in ca_cert.h +// Please enter your CA certificate in ca_cert.h #include "ca_cert.h" -//ESP32 LilyGo-T-ETH-POE Board Ethernet pins definition +// ESP32 LilyGo-T-ETH-POE Board Ethernet pins definition #define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT #define ETH_POWER_PIN -1 #define ETH_TYPE ETH_PHY_LAN8720 -#define ETH_ADDR 0 +#define ETH_ADDR 1 // Update this according to the required value #define ETH_MDC_PIN 23 #define ETH_MDIO_PIN 18 const char hostname[] = "www.howsmyssl.com"; int port = 443; -//Layers stack -WiFiClient eth_transpor_layer; -SSLClient secure_presentation_layer(ð_transpor_layer); +// Layers stack +WiFiClient eth_transport_layer; +SSLClient secure_presentation_layer(ð_transport_layer); HttpClient http_client = HttpClient(secure_presentation_layer, hostname, port); static bool eth_connected = false; -//Ethernet events -void ETHEvent(WiFiEvent_t event) +// Ethernet events +void ETHEvent(WiFiEvent_t event, WiFiEventInfo_t info) { switch (event) { - case SYSTEM_EVENT_ETH_START: + case ARDUINO_EVENT_ETH_START: Serial.println("ETH Started"); ETH.setHostname("esp32-ethernet"); break; - case SYSTEM_EVENT_ETH_CONNECTED: + case ARDUINO_EVENT_ETH_CONNECTED: Serial.println("ETH Connected"); break; - case SYSTEM_EVENT_ETH_GOT_IP: + case ARDUINO_EVENT_ETH_GOT_IP: Serial.print("ETH MAC: "); Serial.print(ETH.macAddress()); Serial.print(", IPv4: "); @@ -62,11 +62,11 @@ void ETHEvent(WiFiEvent_t event) Serial.println("Mbps"); eth_connected = true; break; - case SYSTEM_EVENT_ETH_DISCONNECTED: + case ARDUINO_EVENT_ETH_DISCONNECTED: Serial.println("ETH Disconnected"); eth_connected = false; break; - case SYSTEM_EVENT_ETH_STOP: + case ARDUINO_EVENT_ETH_STOP: Serial.println("ETH Stopped"); eth_connected = false; break; @@ -81,15 +81,15 @@ void setup() Serial.println("Starting ETH"); WiFi.onEvent(ETHEvent); - ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE); + ETH.begin(ETH_TYPE, ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_CLK_MODE); while (!eth_connected) { - Serial.println("connecting to ETH.."); + Serial.println("Connecting to ETH.."); delay(1000); } Serial.println("Connected"); - //Add CA Certificate + // Add CA Certificate secure_presentation_layer.setCACert(root_ca); } diff --git a/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/https_gsm_SIM7000.ino b/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/https_gsm_SIM7000.ino index e820005..c0c746f 100644 --- a/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/https_gsm_SIM7000.ino +++ b/examples/Esp32-Arduino-IDE/https_gsm_SIM7000/https_gsm_SIM7000.ino @@ -12,9 +12,9 @@ * https://github.com/Xinyuan-LilyGO/LilyGO-T-SIM7000G/blob/master/examples/Arduino_Azure_IoTHub/Arduino_Azure_IoTHub.ino * **************************************************************/ -#include "SSLClient.h" //To make http request esay: https://github.com/arduino-libraries/ArduinoHttpClient #include +#include "SSLClient.h" //Please enter your CA certificate in ca_cert.h #include "ca_cert.h" diff --git a/examples/Esp32-Arduino-IDE/https_gsm_SIM800/https_gsm_SIM800.ino b/examples/Esp32-Arduino-IDE/https_gsm_SIM800/https_gsm_SIM800.ino index 2e3f829..9991bc8 100644 --- a/examples/Esp32-Arduino-IDE/https_gsm_SIM800/https_gsm_SIM800.ino +++ b/examples/Esp32-Arduino-IDE/https_gsm_SIM800/https_gsm_SIM800.ino @@ -10,10 +10,10 @@ * Base example: https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/tree/master/examples/Arduino_TinyGSM * **************************************************************/ -#include -#include "SSLClient.h" //To make http request esay: https://github.com/arduino-libraries/ArduinoHttpClient #include +#include +#include "SSLClient.h" //Please enter your CA certificate in ca_cert.h #include "ca_cert.h" diff --git a/examples/Esp32-Arduino-IDE/https_wifi/https_wifi.ino b/examples/Esp32-Arduino-IDE/https_wifi/https_wifi.ino index 4000431..6b56d49 100644 --- a/examples/Esp32-Arduino-IDE/https_wifi/https_wifi.ino +++ b/examples/Esp32-Arduino-IDE/https_wifi/https_wifi.ino @@ -6,10 +6,10 @@ * **************************************************************/ -#include "WiFi.h" -#include "SSLClient.h" //To make http request esay: https://github.com/arduino-libraries/ArduinoHttpClient #include +#include "WiFi.h" +#include "SSLClient.h" //Please enter your CA certificate in ca_cert.h #include "secrets.h" diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 0000000..fe2d76f --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,91 @@ +[![Back to README](https://img.shields.io/badge/Back_to-_README-blue?style=for-the-badge)](../README.md) + +# Scripts + +This directory contains scripts to help with the development of the SSLClient library. + +## Table of Contents +1. [Library Installation Script](#SSLClient-Library-Installation-Script) - Automates the installation of the SSLClient library. +2. [Arduino CLI Utility Script](#Arduino-CLI-Utility-Script) - Provides a convenient way to manage Arduino libraries, platforms, and frameworks. +3. [PlatformIO CLI Utility Script](#PlatformIO-CLI-Utility-Script) - Provides a convenient way to manage libraries, platforms, and frameworks using the PlatformIO CLI. + +## SSLClient Library Installation Script + +This script automates the process of cloning and installing the `SSLClient` library from a specified branch of the repository. It prepares the library for use with the Arduino CLI. + +### Usage + +Run from the root of the repository: + +`./scripts/install_sslclient_for_testing.sh` [--branch ] + +#### Parameters + +`--branch `: (Optional) Specify the branch to checkout. Defaults to master. + +### Script Overview + +1. Cloning the Repository: The script clones the SSLClient repository from GitHub. +2. Branch Checkout: It checks out the specified branch (or defaults to master). +3. Library Preparation: The script prepares the library by moving necessary files and creating a zip archive. +4. Installation: Finally, the script installs the library using the Arduino CLI. + +### Requirements + +`git` +`bash` +`arduino-cli` + +## Arduino CLI Utility Script + +This script provides a convenient way to manage Arduino libraries, platforms, and frameworks using the Arduino CLI. It also allows you to switch between different versions of the ESP32-Arduino core. + +### Usage + +`./scripts/arduino_cli_utility.sh` - Run the script to manage libraries, platforms, frameworks, and ESP32-Arduino versions. + +### Menu Options + +**List Installed Libraries:** Displays a list of all libraries currently installed. +**List Installed Platforms:** Displays a list of all platforms currently installed. +**List Installed Frameworks for Boards:** Displays a list of all available frameworks for boards. +**Switch ESP32-Arduino Version:** Prompts you to enter a specific version of the ESP32-Arduino core to install. +**Exit:** Exits the script. + +### Requirements + +`arduino-cli` - Ensure that arduino-cli is installed and properly configured on your system before running the script. + +### Script Overview +1. Library Management: List all installed libraries. +2. Platform Management: List all installed platforms. +3. Framework Management: List all available frameworks for boards. +4. ESP32 Version Management: Switch to a specific version of the ESP32-Arduino core. + +## PlatformIO CLI Utility Script + +This script provides a convenient way to manage libraries, platforms, and frameworks using the PlatformIO CLI. It also allows you to switch between different versions of the Arduino-ESP32 core. + +### Usage + +`./scripts/platformio_cli_utility.sh` - Run the script to manage libraries, platforms, frameworks, and Arduino-ESP32 versions. + +### Menu Options + +**List Installed Libraries:** Displays a list of all libraries currently installed. +**List Installed Platforms:** Displays a list of all platforms currently installed. +**List Installed Frameworks for Boards:** Displays a list of all available frameworks for boards that use the Arduino framework. +**Switch Arduino-ESP32 Version:** Prompts you to enter a specific version of the Arduino-ESP32 core to install. +**Exit:** Exits the script. + +### Requirements + +`bash` +`platformio-cli` (pio) + +### Script Overview + +1. Library Management: List all installed libraries using PlatformIO. +2. Platform Management: List all installed platforms using PlatformIO. +3. Framework Management: List all available frameworks for boards that support the Arduino framework using PlatformIO. +4. Arduino-ESP32 Version Management: Switch to a specific version of the Arduino-ESP32 core using PlatformIO. diff --git a/.github/workflows/scripts/compile_arduino_examples.sh b/scripts/compile_arduino_examples.sh similarity index 100% rename from .github/workflows/scripts/compile_arduino_examples.sh rename to scripts/compile_arduino_examples.sh diff --git a/.github/workflows/scripts/compile_pio_examples.sh b/scripts/compile_pio_examples.sh similarity index 100% rename from .github/workflows/scripts/compile_pio_examples.sh rename to scripts/compile_pio_examples.sh diff --git a/.github/workflows/scripts/install_sslclient_for_testing.sh b/scripts/install_sslclient_for_testing.sh similarity index 100% rename from .github/workflows/scripts/install_sslclient_for_testing.sh rename to scripts/install_sslclient_for_testing.sh diff --git a/.github/workflows/scripts/test_arduino_platform.sh b/scripts/test_arduino_platform.sh similarity index 100% rename from .github/workflows/scripts/test_arduino_platform.sh rename to scripts/test_arduino_platform.sh diff --git a/.github/workflows/scripts/test_pio_platform.sh b/scripts/test_pio_platform.sh similarity index 100% rename from .github/workflows/scripts/test_pio_platform.sh rename to scripts/test_pio_platform.sh