arduino-libraries / Arduino_ConnectionHandler

GNU General Public License v3.0
97 stars 36 forks source link

Add CatM1ConnectionHandler to support Portenta CAT.M1/NB IoT GNSS Shield #104

Closed pennam closed 12 months ago

pennam commented 12 months ago

This PR adds support for the Portenta CAT.M1/NB IoT GNSS Shield. The shield provides CatM1 and NB-IoT connectivity in a very similar way the SARA-R410M-02B module of the MKRNB1500 does.

Even if it was possible to reuse the already present NBConnectionHandler i preferred to create a new one to avoid messing up the NBConnectionHandler with too much #ifdef

github-actions[bot] commented 12 months ago

Memory usage change @ f6c1b06718d701614ff8e265331dedc92b0c11f5

Board flash % RAM for global variables %
arduino:esp32:nano_nora 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:envie_m7 N/A N/A N/A N/A
arduino:mbed_giga:giga 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 0 - 0 0.0 - 0.0 :green_heart: -12 - -12 -0.0 - -0.0
arduino:renesas_uno:unor4wifi 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
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 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah :green_heart: -4 - -4 -0.0 - -0.0 :green_heart: -4 - -4 -0.0 - -0.0
Click for full report table Board|`examples/ConnectionHandlerDemo`
flash|%|`examples/ConnectionHandlerDemo`
RAM for global variables|% -|-|-|-|- `arduino:esp32:nano_nora`|0|0.0|0|0.0 `arduino:mbed:envie_m7`|N/A|N/A|N/A|N/A `arduino:mbed_giga:giga`|0|0.0|0|0.0 `arduino:mbed_nano:nanorp2040connect`|0|0.0|0|0.0 `arduino:mbed_nicla:nicla_vision`|0|0.0|0|0.0 `arduino:mbed_opta:opta`|0|0.0|0|0.0 `arduino:mbed_portenta:envie_m7`|N/A|N/A|N/A|N/A `arduino:renesas_portenta:portenta_c33`|0|0.0|-12|-0.0 `arduino:renesas_uno:unor4wifi`|0|0.0|0|0.0 `arduino:samd:mkr1000`|0|0.0|0|0.0 `arduino:samd:mkrgsm1400`|0|0.0|0|0.0 `arduino:samd:mkrnb1500`|0|0.0|0|0.0 `arduino:samd:mkrwan1300`|0|0.0|0|0.0 `arduino:samd:mkrwan1310`|0|0.0|0|0.0 `arduino:samd:mkrwifi1010`|0|0.0|0|0.0 `arduino:samd:nano_33_iot`|0|0.0|0|0.0 `esp32:esp32:esp32`|0|0.0|0|0.0 `esp8266:esp8266:huzzah`|-4|-0.0|-4|-0.0
Click for full report CSV ``` Board,examples/ConnectionHandlerDemo
flash,%,examples/ConnectionHandlerDemo
RAM for global variables,% arduino:esp32:nano_nora,0,0.0,0,0.0 arduino:mbed:envie_m7,N/A,N/A,N/A,N/A arduino:mbed_giga:giga,0,0.0,0,0.0 arduino:mbed_nano:nanorp2040connect,0,0.0,0,0.0 arduino:mbed_nicla:nicla_vision,0,0.0,0,0.0 arduino:mbed_opta:opta,0,0.0,0,0.0 arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A arduino:renesas_portenta:portenta_c33,0,0.0,-12,-0.0 arduino:renesas_uno:unor4wifi,0,0.0,0,0.0 arduino:samd:mkr1000,0,0.0,0,0.0 arduino:samd:mkrgsm1400,0,0.0,0,0.0 arduino:samd:mkrnb1500,0,0.0,0,0.0 arduino:samd:mkrwan1300,0,0.0,0,0.0 arduino:samd:mkrwan1310,0,0.0,0,0.0 arduino:samd:mkrwifi1010,0,0.0,0,0.0 arduino:samd:nano_33_iot,0,0.0,0,0.0 esp32:esp32:esp32,0,0.0,0,0.0 esp8266:esp8266:huzzah,-4,-0.0,-4,-0.0 ```