Add support for the more efficient ElmüSoft Candlelight Protocol
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- networking
Hướng nghiên cứu
Bắt đầu với mô tả dự án chi tiết được liên kết và bản demo Python trong ElmüSoft Candlelight 2.5 firmware repository để hiểu giao thức và chức năng cần thiết. Sau đó, xem xét hỗ trợ Candlelight hiện có của python-can và xác định các điểm đầu vào tích hợp. Được xem là hoàn tất khi python-can hỗ trợ các tính năng truyền USB và feedback của giao thức mới mà không làm mất hỗ trợ legacy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello
The legacy Candlelight protocol from Geschwister Schneider has not been designed very well.
It has several design errors.
The transfer over USB is far from optimal. For each CAN FD packet 80 bytes are transferred over USB no matter how many data bytes the CAN packet has.
There is no useful error feedback and there is no feedback if a Tx packet has been acknowledged on CAN bus.
The legacy Candlelight protocol only sends a FAKE echo back to the host computer, even if the Tx packet has never been sent to CAN bus.
You have a big problem to find out WHY CAN bus does not work without a useful feedback.
Therefore I designed the new ElmüSoft Candlelight 2.5 protocol with lots of improvements, lots of new features and the maximum USB transfer speed that is possible.
I wrote a Python demo application that contains ready-to-use classes that can be copied and pasted into any Python project. They could also be integrated into python-can.
The firmware runs on several CAN bus adapters with STM32G431, STM32G473 and STM32G0B1 processors.
The Python classes were tested on Windows where they use WinUSB and on Linux where they use libusb.
Here you find a detailed description of the entire project:
https://netcult.ch/elmue/CANable%20Firmware%20Update/
The sourcecode is on Github:
https://github.com/Elmue/CANable-2.5-firmware-Slcan-and-Candlelight
The Python demo shows all the functionality of the new firmware:
And here a snippet of my manual with comparison between legacy and ElmüSoft Candlelight protocol in my firmware:
- Ngôn ngữ chính
- Python
- Star
- 1.6k
- Fork
- 697
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hardbyte/python-can
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
hardbyte/python-can#2103 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
hardbyte/python-can#2077 · 1 bình luận · 1 reaction ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
hardbyte/python-can#1922 · 1 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
hardbyte/python-can#2092 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
hardbyte/python-can#2091 ·
Tất cả issue của hardbyte/python-can
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-webui/open-webui#30750 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100