hardbyte / hardbyte/python-can

Error state indication for message with bitrate_switch=True

Đang mở
#1,055 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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

Mô tả

**Describe the bug**
Error state indication observed for can.Message with is_fd=True and bitrate_switch=True

**To Reproduce**
Steps to reproduce the behavior (please add longer code examples below):

If i create CAN bus with fd=True and create can.Message with is_fd=True
outgoing message printout looks ok:
ID: 0123 S F BS DLC: 8 ff ff ff ff ff ff ff ff

But if i try send can.Message with is_fd=True and bitrate_switch=True,
i get error indication
ID: 0123 S F BS EI DLC: 8 ff ff ff ff ff ff ff ff

**Expected behavior**
I expect that bitrate_switch defines BRS bit set or not,
and without any errors.
Or it can not be used to set BRS bit - just for indication?
What does it mean EI ?
What error can cause it?

**Additional context**
socketCAN used

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.