lorawan doesnt support setting the FPort

Aperta
#846 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
embedded-iot

Direzione di ricerca

Read the LoRaWAN implementation and locate where FPort is currently set to 1, then inspect the Session struct and its callers. Determine how a legal FPort could be supplied through the API and confirm the existing default behavior. Done means callers can set FPort through Session and the implementation uses it when legal; the issue names no test or file to run.

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

Descrizione

enhancement

A default FPort of 1 is used now.

The use of FPort (similar to port aka service in TCP) is quite widespread and can, formally, reduce the payload with 1 single byte.
The lorawan implementation should not hide the FPort from the API.

I'm happy to submit a pull-request where the Session struct has a extra field: FPort and the code where fport is set to 1 now consults the presence of a legal FPort in the Session struct first.

Lingua principale
Go
Stelle
756
Fork
251
Merge medio
7g 12h
PR unite (30g)
8

Preparare l'ambiente

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 tinygo-org/drivers

Tutte le issue di tinygo-org/drivers

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.