lorawan doesnt support setting the FPort

Đang mở
#846 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
756
Fork
251
Merge trung bình
7 ngày 12 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tinygo-org/drivers

Tất cả issue của tinygo-org/drivers

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.