Skip to content

nmt: Fix NmtSlave on a node without a heartbeat producer time#672

Open
acolomb wants to merge 1 commit into
canopen-python:masterfrom
acolomb:nmt-slave-no-1070
Open

nmt: Fix NmtSlave on a node without a heartbeat producer time#672
acolomb wants to merge 1 commit into
canopen-python:masterfrom
acolomb:nmt-slave-no-1070

Conversation

@acolomb
Copy link
Copy Markdown
Member

@acolomb acolomb commented May 29, 2026

The NMT state transition from INITIALISING to PRE-OPERATIONAL causes the heartbeat to start automatically if the parameter is non-zero in object 0x1017:00. This check however raises an exception if the object does not even exist.

Cover this state in tests and explicitly ignore a KeyError when asking for the object.

The NMT state transition from INITIALISING to PRE-OPERATIONAL causes
the heartbeat to start automatically if the parameter is non-zero in
object 0x1017:00.  This check however raises an exception if the
object does not even exist.

Cover this state in tests and explicitly ignore a KeyError when asking
for the object.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant