Skip to content

pdo: Fix lower bound check in access by index#628

Merged
acolomb merged 1 commit intocanopen-python:masterfrom
acolomb:pdo-index-lower-bound
Mar 12, 2026
Merged

pdo: Fix lower bound check in access by index#628
acolomb merged 1 commit intocanopen-python:masterfrom
acolomb:pdo-index-lower-bound

Conversation

@acolomb
Copy link
Member

@acolomb acolomb commented Mar 12, 2026

The extended access patterns by communication parameter record index only work for TPDOs. The lower bound check on the number range excludes anything below 0x1600, thus RPDO communication parameters do not work.

Extend test to cover access via 0x1400 and 0x1600 yielding the same object.

Extend test to cover access via 0x1400 and 0x1600 yielding the same
object.
@acolomb acolomb merged commit 9685880 into canopen-python:master Mar 12, 2026
3 of 4 checks passed
@acolomb acolomb deleted the pdo-index-lower-bound branch March 12, 2026 19:07
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