[FEATURE] MCUmgr support

Aperta
#2,545 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
c

Direzione di ricerca

La issue non indica file, test o punti di ingresso di NuttX. Inizia confrontando le implementazioni di mcumgr di Apache Mynewt e Zephyr, inclusi i relativi comandi di gestione e il supporto ai trasporti. Per considerare il lavoro completato, è necessario aver deciso l'approccio alla sorgente e alla manutenzione e aver definito l'ambito dell'integrazione con NuttX.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Type: Enhancement
Is your feature request related to a problem? Please describe.

Hi, does anyone have mcumgr ported on NuttX?

If not, I think it's a project worth porting, as it would provide a tool for managing remote devices and, most importantly, DFU over the Simple Management Protocol (e.g., over BLE). An out-of-the-box tool for managing remote devices is something I feel is missing in NuttX.

If no one has implemented this yet, I might look into it one day. However, I have a few concerns about this task.

Describe the solution you'd like

Currently there are 2 implementations of mcumgr:

  1. The original project from Mynwet - https://github.com/apache/mynewt-mcumgr/
  2. Zephyr version, developed in parallel - https://github.com/zephyrproject-rtos/zephyr/tree/main/subsys/mgmt/mcumgr
    Initially, Zephyr used the Mynewt version directly, but they decided to incorporate
    the code directly into Zephyr. Details can be found here:

Currently Zephyr version has more functionalities (such as mcumgr client and additional
management commands).

So my questions are:

  1. Which code should we port: the Mynewt version or the Zephyr version ?
    Both have Apache licenses, so the license is not an issue. Zephyr has more
    functionalities, but the porting requires more effort.

  2. Should we adopt an approach similar to Zephyr, where we maintain our own version of the
    code, or should we clone active project ?
    If we choose the second approach (git clone), the Zephyr version is probably out of
    the question - cloning the entire Zephyr project is a bad idea.

    Keeping its entire code in our repo could offer benefits, such as implementing NuttX-specific commands,
    transports and optimizations. All the arguments from the discussion in Zephyr issue above also apply here.

Describe alternatives you've considered

No response

Verification
  • I have verified before submitting the report.
Lingua principale
C
Stelle
475
Fork
811
Merge medio
1g 11h
PR unite (30g)
181

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/nuttx-apps

Tutte le issue di apache/nuttx-apps

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.