Skip to content

CAN transmit strategy can be improved #78

@bertbroer

Description

@bertbroer

Dear @foxBMS team,

Not so much an bug here, but something that IMHO can be improved.

The current strategy for sending CAN messages is to put periodic messages on the transmit queue when they can't be sent. Single shot messages are not placed on the queue when they can't be sent.

I think this should be the other way around. Periodic messages will be sent again every x milliseconds. So if one misses it's generally not the end of the world. Single shot messages are lost however, when the transmit mailboxes are full. The chances of this happening also increases when periodic messages with short time periods are placed on the queue continuously.

Kind regards,
Bert

Metadata

Metadata

Assignees

No one assigned

    Labels

    CANRelated to the CAN, either on the embedded platform of the fox CLIembeddedRelated to the embedded software

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions