rtlabs-com / c-open

CANopen stack for embedded devices
http://www.rt-labs.com
Other
79 stars 40 forks source link

Add RPDO deadline monitoring #63

Closed nattgris closed 7 months ago

nattgris commented 8 months ago

As described in CiA 301, Object 1400h to 15FFh: RPDO communication parameter, Subindex 05h.

The indication to the application is done via the EMCY callback. The EMCY transmission is not described, but since there is an EMCY code defined for RPDO timeout, it's assumed to be meant for this purpose.

nattgris commented 8 months ago

As I understand it, it's basically like the heartbeat service, but instead of monitoring nodes, it's monitoring specific PDOs that could be critical.

nattgris commented 8 months ago

And as usual, I haven't bothered to add test cases. I think the heartbeat consumer test would be a good starting point.

hefloryd commented 7 months ago

Merged, thanks