hardbyte / hardbyte/python-can
Standard frames are cut at 10th bit, instead of 11th
Aperta
bug
- Lingua principale
- Python
- Stelle
- 1.6k
- Fork
- 697
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Describe the bug
If standard frames are tried to send, the can id is cut at the 10th bit instead of 11th bit
### To Reproduce
send a message with can id 0x7FF (any data), and set the property is_extended_id to False -> at the can output the id is set to 0x3FF instead of 0x7FF.
### Expected behavior
id must be 0x7FF
### Additional context
OS and version: Raspbian GNU/Linux 11 (bullseye)
Python version: 3.9.2
python-can version: 4.2.2
python-can interface/s (if applicable):
Traceback and logs
```python
def func():
return "hello, world!"
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.