Skip to content

Time Date Interfaces processes day SPN (962) wrong #634

@MxmlnStck

Description

@MxmlnStck

Describe the bug
The time date interface is calculating the day wrong. According to the specs https://www.isobus.net/isobus/pGNAndSPN/16421?type=PGN the implementation is correct, but the signal always must be rounded up.

Supporting Documentation
I'm using a ros2 node to request the time and date from the ISOBUS. My system timestamp resolves to the 4th of December, the interface is returning the 3rd of December:
[1764830769.779073577] [can.isobus_interface_node]: Received ISOBUS time/date: 2025-12-03 07:49:05 (from address 240)

Environment (please complete the following information):

  • OS: [Ubuntu 24.04.3]
  • Compiler [GCC 11.4.0]
  • CAN Driver [Socket CAN]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingiso: application messagesRelated to the ISO-11783:7 standard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions