Skip to content

Handle migration from Provisioning 1.0 to Provisioning 2.0 #6

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fabik111
Copy link
Collaborator

@fabik111 fabik111 commented Apr 28, 2025

Changes:

  • added the message structure for sending to the connected peer (mobile App or FE) the public key of the board through the Arduino Board Configuration Protocol

@per1234 per1234 added the topic: code Related to content of the project itself label Apr 29, 2025
Copy link

codecov bot commented May 7, 2025

Codecov Report

Attention: Patch coverage is 93.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 90.16%. Comparing base (f5184f7) to head (ff37a98).

Files with missing lines Patch % Lines
...agents/boardConfigurationProtocol/cbor/Encoder.cpp 77.77% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   90.04%   90.16%   +0.11%     
==========================================
  Files           7        7              
  Lines         713      742      +29     
  Branches       86       89       +3     
==========================================
+ Hits          642      669      +27     
- Misses         71       73       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

github-actions bot commented May 7, 2025

Memory usage change @ cfe492e

Board flash % RAM for global variables %
arduino:mbed_giga:giga 🔺 +360 - +360 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_nano:nanorp2040connect 🔺 +330 - +330 0.0 - 0.0 🔺 +24 - +24 +0.01 - +0.01
arduino:mbed_nicla:nicla_vision 🔺 +360 - +360 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_opta:opta 🔺 +296 - +296 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 🔺 +320 - +320 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:renesas_uno:unor4wifi 🔺 +312 - +312 +0.12 - +0.12 🔺 +24 - +24 +0.07 - +0.07
arduino:samd:mkrwifi1010 🔺 +328 - +328 +0.13 - +0.13 🔺 +24 - +24 +0.07 - +0.07
arduino:samd:nano_33_iot 🔺 +336 - +336 +0.13 - +0.13 🔺 +24 - +24 +0.07 - +0.07
Click for full report table
Board examples/NetworkConfiguratorDemo
flash
% examples/NetworkConfiguratorDemo
RAM for global variables
%
arduino:mbed_giga:giga 360 0.02 32 0.01
arduino:mbed_nano:nanorp2040connect 330 0.0 24 0.01
arduino:mbed_nicla:nicla_vision 360 0.02 32 0.01
arduino:mbed_opta:opta 296 0.02 32 0.01
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 320 0.02 32 0.01
arduino:renesas_uno:unor4wifi 312 0.12 24 0.07
arduino:samd:mkrwifi1010 328 0.13 24 0.07
arduino:samd:nano_33_iot 336 0.13 24 0.07
Click for full report CSV
Board,examples/NetworkConfiguratorDemo<br>flash,%,examples/NetworkConfiguratorDemo<br>RAM for global variables,%
arduino:mbed_giga:giga,360,0.02,32,0.01
arduino:mbed_nano:nanorp2040connect,330,0.0,24,0.01
arduino:mbed_nicla:nicla_vision,360,0.02,32,0.01
arduino:mbed_opta:opta,296,0.02,32,0.01
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,320,0.02,32,0.01
arduino:renesas_uno:unor4wifi,312,0.12,24,0.07
arduino:samd:mkrwifi1010,328,0.13,24,0.07
arduino:samd:nano_33_iot,336,0.13,24,0.07

@fabik111 fabik111 force-pushed the migration branch 2 times, most recently from 87e2693 to 80ece65 Compare May 15, 2025 15:11
Copy link

Memory usage change @ 80ece65

Board flash % RAM for global variables %
arduino:mbed_giga:giga 🔺 +296 - +296 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_nano:nanorp2040connect 🔺 +330 - +330 0.0 - 0.0 🔺 +24 - +24 +0.01 - +0.01
arduino:mbed_nicla:nicla_vision 🔺 +360 - +360 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_opta:opta 🔺 +360 - +360 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 🔺 +320 - +320 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:renesas_uno:unor4wifi 🔺 +312 - +312 +0.12 - +0.12 🔺 +24 - +24 +0.07 - +0.07
arduino:samd:mkrwifi1010 🔺 +328 - +328 +0.13 - +0.13 🔺 +24 - +24 +0.07 - +0.07
arduino:samd:nano_33_iot 🔺 +336 - +336 +0.13 - +0.13 🔺 +24 - +24 +0.07 - +0.07
Click for full report table
Board examples/NetworkConfiguratorDemo
flash
% examples/NetworkConfiguratorDemo
RAM for global variables
%
arduino:mbed_giga:giga 296 0.02 32 0.01
arduino:mbed_nano:nanorp2040connect 330 0.0 24 0.01
arduino:mbed_nicla:nicla_vision 360 0.02 32 0.01
arduino:mbed_opta:opta 360 0.02 32 0.01
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 320 0.02 32 0.01
arduino:renesas_uno:unor4wifi 312 0.12 24 0.07
arduino:samd:mkrwifi1010 328 0.13 24 0.07
arduino:samd:nano_33_iot 336 0.13 24 0.07
Click for full report CSV
Board,examples/NetworkConfiguratorDemo<br>flash,%,examples/NetworkConfiguratorDemo<br>RAM for global variables,%
arduino:mbed_giga:giga,296,0.02,32,0.01
arduino:mbed_nano:nanorp2040connect,330,0.0,24,0.01
arduino:mbed_nicla:nicla_vision,360,0.02,32,0.01
arduino:mbed_opta:opta,360,0.02,32,0.01
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,320,0.02,32,0.01
arduino:renesas_uno:unor4wifi,312,0.12,24,0.07
arduino:samd:mkrwifi1010,328,0.13,24,0.07
arduino:samd:nano_33_iot,336,0.13,24,0.07

@fabik111 fabik111 requested a review from pennam May 20, 2025 08:38
@fabik111 fabik111 marked this pull request as ready for review May 20, 2025 08:38
Copy link

Memory usage change @ ff37a98

Board flash % RAM for global variables %
arduino:mbed_giga:giga 🔺 +296 - +296 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_nano:nanorp2040connect 🔺 +330 - +330 0.0 - 0.0 🔺 +24 - +24 +0.01 - +0.01
arduino:mbed_nicla:nicla_vision 🔺 +360 - +360 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_opta:opta 🔺 +360 - +360 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 🔺 +320 - +320 +0.02 - +0.02 🔺 +32 - +32 +0.01 - +0.01
arduino:renesas_uno:unor4wifi 🔺 +328 - +328 +0.13 - +0.13 🔺 +24 - +24 +0.07 - +0.07
arduino:samd:mkrwifi1010 🔺 +328 - +328 +0.13 - +0.13 🔺 +24 - +24 +0.07 - +0.07
arduino:samd:nano_33_iot 🔺 +336 - +336 +0.13 - +0.13 🔺 +24 - +24 +0.07 - +0.07
Click for full report table
Board examples/NetworkConfiguratorDemo
flash
% examples/NetworkConfiguratorDemo
RAM for global variables
%
arduino:mbed_giga:giga 296 0.02 32 0.01
arduino:mbed_nano:nanorp2040connect 330 0.0 24 0.01
arduino:mbed_nicla:nicla_vision 360 0.02 32 0.01
arduino:mbed_opta:opta 360 0.02 32 0.01
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 320 0.02 32 0.01
arduino:renesas_uno:unor4wifi 328 0.13 24 0.07
arduino:samd:mkrwifi1010 328 0.13 24 0.07
arduino:samd:nano_33_iot 336 0.13 24 0.07
Click for full report CSV
Board,examples/NetworkConfiguratorDemo<br>flash,%,examples/NetworkConfiguratorDemo<br>RAM for global variables,%
arduino:mbed_giga:giga,296,0.02,32,0.01
arduino:mbed_nano:nanorp2040connect,330,0.0,24,0.01
arduino:mbed_nicla:nicla_vision,360,0.02,32,0.01
arduino:mbed_opta:opta,360,0.02,32,0.01
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,320,0.02,32,0.01
arduino:renesas_uno:unor4wifi,328,0.13,24,0.07
arduino:samd:mkrwifi1010,328,0.13,24,0.07
arduino:samd:nano_33_iot,336,0.13,24,0.07

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
topic: code Related to content of the project itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants