Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.
This repository was archived by the owner on Nov 23, 2025. It is now read-only.

SBC-CAN byte stuffing? #5

@ltzehan

Description

@ltzehan

SBC-CAN is converting CAN messages and sending to UART in the following format:

+------+------+------+-------+--------------------------+
| 0xFE | 0xFE | <id> | <len> | <data> ... (<len> bytes) |
+------+------+------+-------+--------------------------+

Potentially has issues if serial connection to SBC is not synced properly and data field has back-to-back 0xFEs since current code does not handle this:
https://github.com/BumblebeeAS/hardware/blob/c5d72d18ec5411fc7a0584f09b5f08db84447e58/AUV-4/SBC-CAN/Core/Src/main.c#L394

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions