Skip to content

Added new client methods #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

andreagilardoni
Copy link
Contributor

Added new client methods for TCP and SSL over TCP connection

@andreagilardoni andreagilardoni marked this pull request as draft March 13, 2024 14:38
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Mar 13, 2024
Copy link

Memory usage change @ dc55eb6

Board flash % RAM for global variables %
arduino:samd:mkr1000 🔺 +256 - +256 +0.1 - +0.1 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1310 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/ConnectionHandlerDemo
flash
% examples/ConnectionHandlerDemo
RAM for global variables
%
arduino:samd:mkr1000 256 0.1 0 0.0
arduino:samd:mkrwan1310 0 0.0 0 0.0
Click for full report CSV
Board,examples/ConnectionHandlerDemo<br>flash,%,examples/ConnectionHandlerDemo<br>RAM for global variables,%
arduino:samd:mkr1000,256,0.1,0,0.0
arduino:samd:mkrwan1310,0,0.0,0,0.0

@andreagilardoni andreagilardoni force-pushed the new-client-methods branch 4 times, most recently from 363fcbb to fbd4620 Compare March 14, 2024 09:22
Copy link

Memory usage change @ fbd4620

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +125848 - +125848 +4.0 - +4.0 🔺 +956 - +956 +0.29 - +0.29
arduino:mbed:envie_m7 N/A N/A N/A N/A
arduino:mbed_edge:edge_control 🔺 +200712 - +200712 +20.42 - +20.42 🔺 +320 - +320 +0.12 - +0.12
arduino:mbed_giga:giga 🔺 +152128 - +152128 +7.74 - +7.74 🔺 +224 - +224 +0.04 - +0.04
arduino:mbed_nano:nanorp2040connect 🔺 +216 - +216 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 🔺 +237688 - +237688 +12.09 - +12.09 🔺 +1680 - +1680 +0.32 - +0.32
arduino:mbed_opta:opta 🔺 +152136 - +152136 +7.74 - +7.74 🔺 +224 - +224 +0.04 - +0.04
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 🔺 +189712 - +189712 +9.05 - +9.05 🔺 +5400 - +5400 +1.03 - +1.03
arduino:renesas_uno:unor4wifi 🔺 +3000 - +3000 +1.14 - +1.14 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 🔺 +256 - +256 +0.1 - +0.1 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 🔺 +15056 - +15056 +5.74 - +5.74 🔺 +4 - +4 +0.01 - +0.01
arduino:samd:mkrnb1500 🔺 +14768 - +14768 +5.63 - +5.63 🔺 +4 - +4 +0.01 - +0.01
arduino:samd:mkrwan1300 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1310 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 +216 - +216 +0.08 - +0.08 0 - 0 0.0 - 0.0
Click for full report table
Board examples/ConnectionHandlerDemo
flash
% examples/ConnectionHandlerDemo
RAM for global variables
%
arduino:esp32:nano_nora 125848 4.0 956 0.29
arduino:mbed:envie_m7 N/A N/A N/A N/A
arduino:mbed_edge:edge_control 200712 20.42 320 0.12
arduino:mbed_giga:giga 152128 7.74 224 0.04
arduino:mbed_nano:nanorp2040connect 216 0.0 0 0.0
arduino:mbed_nicla:nicla_vision 237688 12.09 1680 0.32
arduino:mbed_opta:opta 152136 7.74 224 0.04
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 189712 9.05 5400 1.03
arduino:renesas_uno:unor4wifi 3000 1.14 0 0.0
arduino:samd:mkr1000 256 0.1 0 0.0
arduino:samd:mkrgsm1400 15056 5.74 4 0.01
arduino:samd:mkrnb1500 14768 5.63 4 0.01
arduino:samd:mkrwan1300 0 0.0 0 0.0
arduino:samd:mkrwan1310 0 0.0 0 0.0
arduino:samd:mkrwifi1010 216 0.08 0 0.0
Click for full report CSV
Board,examples/ConnectionHandlerDemo<br>flash,%,examples/ConnectionHandlerDemo<br>RAM for global variables,%
arduino:esp32:nano_nora,125848,4.0,956,0.29
arduino:mbed:envie_m7,N/A,N/A,N/A,N/A
arduino:mbed_edge:edge_control,200712,20.42,320,0.12
arduino:mbed_giga:giga,152128,7.74,224,0.04
arduino:mbed_nano:nanorp2040connect,216,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,237688,12.09,1680,0.32
arduino:mbed_opta:opta,152136,7.74,224,0.04
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,189712,9.05,5400,1.03
arduino:renesas_uno:unor4wifi,3000,1.14,0,0.0
arduino:samd:mkr1000,256,0.1,0,0.0
arduino:samd:mkrgsm1400,15056,5.74,4,0.01
arduino:samd:mkrnb1500,14768,5.63,4,0.01
arduino:samd:mkrwan1300,0,0.0,0,0.0
arduino:samd:mkrwan1310,0,0.0,0,0.0
arduino:samd:mkrwifi1010,216,0.08,0,0.0

@andreagilardoni andreagilardoni force-pushed the new-client-methods branch 2 times, most recently from 99cce24 to 7b4400e Compare March 14, 2024 09:33
Copy link

Memory usage change @ 7b4400e

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +125848 - +125848 +4.0 - +4.0 🔺 +956 - +956 +0.29 - +0.29
arduino:mbed:envie_m7 N/A N/A N/A N/A
arduino:mbed_edge:edge_control 🔺 +200712 - +200712 +20.42 - +20.42 🔺 +320 - +320 +0.12 - +0.12
arduino:mbed_giga:giga 🔺 +152128 - +152128 +7.74 - +7.74 🔺 +224 - +224 +0.04 - +0.04
arduino:mbed_nano:nanorp2040connect 🔺 +216 - +216 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 🔺 +237688 - +237688 +12.09 - +12.09 🔺 +1680 - +1680 +0.32 - +0.32
arduino:mbed_opta:opta 🔺 +152136 - +152136 +7.74 - +7.74 🔺 +224 - +224 +0.04 - +0.04
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 🔺 +189712 - +189712 +9.05 - +9.05 🔺 +5400 - +5400 +1.03 - +1.03
arduino:renesas_uno:unor4wifi 🔺 +3000 - +3000 +1.14 - +1.14 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 🔺 +256 - +256 +0.1 - +0.1 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 🔺 +15056 - +15056 +5.74 - +5.74 🔺 +4 - +4 +0.01 - +0.01
arduino:samd:mkrnb1500 🔺 +14768 - +14768 +5.63 - +5.63 🔺 +4 - +4 +0.01 - +0.01
arduino:samd:mkrwan1300 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1310 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 +216 - +216 +0.08 - +0.08 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 🔺 +216 - +216 +0.08 - +0.08 0 - 0 0.0 - 0.0
esp32:esp32:esp32 🔺 +129512 - +129512 +9.88 - +9.88 🔺 +972 - +972 +0.3 - +0.3
esp8266:esp8266:huzzah 🔺 +109668 - +109668 +10.5 - +10.5 🔺 +1528 - +1528 +1.87 - +1.87
Click for full report table
Board examples/ConnectionHandlerDemo
flash
% examples/ConnectionHandlerDemo
RAM for global variables
%
arduino:esp32:nano_nora 125848 4.0 956 0.29
arduino:mbed:envie_m7 N/A N/A N/A N/A
arduino:mbed_edge:edge_control 200712 20.42 320 0.12
arduino:mbed_giga:giga 152128 7.74 224 0.04
arduino:mbed_nano:nanorp2040connect 216 0.0 0 0.0
arduino:mbed_nicla:nicla_vision 237688 12.09 1680 0.32
arduino:mbed_opta:opta 152136 7.74 224 0.04
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 189712 9.05 5400 1.03
arduino:renesas_uno:unor4wifi 3000 1.14 0 0.0
arduino:samd:mkr1000 256 0.1 0 0.0
arduino:samd:mkrgsm1400 15056 5.74 4 0.01
arduino:samd:mkrnb1500 14768 5.63 4 0.01
arduino:samd:mkrwan1300 0 0.0 0 0.0
arduino:samd:mkrwan1310 0 0.0 0 0.0
arduino:samd:mkrwifi1010 216 0.08 0 0.0
arduino:samd:nano_33_iot 216 0.08 0 0.0
esp32:esp32:esp32 129512 9.88 972 0.3
esp8266:esp8266:huzzah 109668 10.5 1528 1.87
Click for full report CSV
Board,examples/ConnectionHandlerDemo<br>flash,%,examples/ConnectionHandlerDemo<br>RAM for global variables,%
arduino:esp32:nano_nora,125848,4.0,956,0.29
arduino:mbed:envie_m7,N/A,N/A,N/A,N/A
arduino:mbed_edge:edge_control,200712,20.42,320,0.12
arduino:mbed_giga:giga,152128,7.74,224,0.04
arduino:mbed_nano:nanorp2040connect,216,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,237688,12.09,1680,0.32
arduino:mbed_opta:opta,152136,7.74,224,0.04
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,189712,9.05,5400,1.03
arduino:renesas_uno:unor4wifi,3000,1.14,0,0.0
arduino:samd:mkr1000,256,0.1,0,0.0
arduino:samd:mkrgsm1400,15056,5.74,4,0.01
arduino:samd:mkrnb1500,14768,5.63,4,0.01
arduino:samd:mkrwan1300,0,0.0,0,0.0
arduino:samd:mkrwan1310,0,0.0,0,0.0
arduino:samd:mkrwifi1010,216,0.08,0,0.0
arduino:samd:nano_33_iot,216,0.08,0,0.0
esp32:esp32:esp32,129512,9.88,972,0.3
esp8266:esp8266:huzzah,109668,10.5,1528,1.87

Copy link

Memory usage change @ 554e29b

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +125848 - +125848 +4.0 - +4.0 🔺 +956 - +956 +0.29 - +0.29
arduino:mbed:envie_m7 N/A N/A N/A N/A
arduino:mbed_edge:edge_control 🔺 +200712 - +200712 +20.42 - +20.42 🔺 +320 - +320 +0.12 - +0.12
arduino:mbed_giga:giga 🔺 +152128 - +152128 +7.74 - +7.74 🔺 +224 - +224 +0.04 - +0.04
arduino:mbed_nano:nanorp2040connect 🔺 +216 - +216 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 🔺 +237688 - +237688 +12.09 - +12.09 🔺 +1680 - +1680 +0.32 - +0.32
arduino:mbed_opta:opta 🔺 +152136 - +152136 +7.74 - +7.74 🔺 +224 - +224 +0.04 - +0.04
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 🔺 +189712 - +189712 +9.05 - +9.05 🔺 +5400 - +5400 +1.03 - +1.03
arduino:renesas_uno:unor4wifi 🔺 +3000 - +3000 +1.14 - +1.14 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 🔺 +256 - +256 +0.1 - +0.1 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 🔺 +15056 - +15056 +5.74 - +5.74 🔺 +4 - +4 +0.01 - +0.01
arduino:samd:mkrnb1500 🔺 +14768 - +14768 +5.63 - +5.63 🔺 +4 - +4 +0.01 - +0.01
arduino:samd:mkrwan1300 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1310 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 +216 - +216 +0.08 - +0.08 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 🔺 +216 - +216 +0.08 - +0.08 0 - 0 0.0 - 0.0
esp32:esp32:esp32 🔺 +129512 - +129512 +9.88 - +9.88 🔺 +972 - +972 +0.3 - +0.3
esp8266:esp8266:huzzah 🔺 +109668 - +109668 +10.5 - +10.5 🔺 +1528 - +1528 +1.87 - +1.87
Click for full report table
Board examples/ConnectionHandlerDemo
flash
% examples/ConnectionHandlerDemo
RAM for global variables
%
arduino:esp32:nano_nora 125848 4.0 956 0.29
arduino:mbed:envie_m7 N/A N/A N/A N/A
arduino:mbed_edge:edge_control 200712 20.42 320 0.12
arduino:mbed_giga:giga 152128 7.74 224 0.04
arduino:mbed_nano:nanorp2040connect 216 0.0 0 0.0
arduino:mbed_nicla:nicla_vision 237688 12.09 1680 0.32
arduino:mbed_opta:opta 152136 7.74 224 0.04
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 189712 9.05 5400 1.03
arduino:renesas_uno:unor4wifi 3000 1.14 0 0.0
arduino:samd:mkr1000 256 0.1 0 0.0
arduino:samd:mkrgsm1400 15056 5.74 4 0.01
arduino:samd:mkrnb1500 14768 5.63 4 0.01
arduino:samd:mkrwan1300 0 0.0 0 0.0
arduino:samd:mkrwan1310 0 0.0 0 0.0
arduino:samd:mkrwifi1010 216 0.08 0 0.0
arduino:samd:nano_33_iot 216 0.08 0 0.0
esp32:esp32:esp32 129512 9.88 972 0.3
esp8266:esp8266:huzzah 109668 10.5 1528 1.87
Click for full report CSV
Board,examples/ConnectionHandlerDemo<br>flash,%,examples/ConnectionHandlerDemo<br>RAM for global variables,%
arduino:esp32:nano_nora,125848,4.0,956,0.29
arduino:mbed:envie_m7,N/A,N/A,N/A,N/A
arduino:mbed_edge:edge_control,200712,20.42,320,0.12
arduino:mbed_giga:giga,152128,7.74,224,0.04
arduino:mbed_nano:nanorp2040connect,216,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,237688,12.09,1680,0.32
arduino:mbed_opta:opta,152136,7.74,224,0.04
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,189712,9.05,5400,1.03
arduino:renesas_uno:unor4wifi,3000,1.14,0,0.0
arduino:samd:mkr1000,256,0.1,0,0.0
arduino:samd:mkrgsm1400,15056,5.74,4,0.01
arduino:samd:mkrnb1500,14768,5.63,4,0.01
arduino:samd:mkrwan1300,0,0.0,0,0.0
arduino:samd:mkrwan1310,0,0.0,0,0.0
arduino:samd:mkrwifi1010,216,0.08,0,0.0
arduino:samd:nano_33_iot,216,0.08,0,0.0
esp32:esp32:esp32,129512,9.88,972,0.3
esp8266:esp8266:huzzah,109668,10.5,1528,1.87

@andreagilardoni andreagilardoni requested a review from pennam March 14, 2024 09:49
@andreagilardoni andreagilardoni marked this pull request as ready for review March 14, 2024 09:49
@andreagilardoni andreagilardoni marked this pull request as draft March 14, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants