hardbyte / hardbyte/python-can
Standard frames are cut at 10th bit, instead of 11th
Abierto
bug
- Lenguaje dominante
- Python
- Estrellas
- 1.6k
- Forks
- 697
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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!"
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.