Skip to content

Legacy SC via element DDI 141 set for Müller SC BOX - #65

Open
gunicsba wants to merge 5 commits into
developfrom
mueller_SCbox
Open

Legacy SC via element DDI 141 set for Müller SC BOX#65
gunicsba wants to merge 5 commits into
developfrom
mueller_SCbox

Conversation

@gunicsba

Copy link
Copy Markdown
Contributor

With this we got it working and it's bidirectional.

@gunicsba

gunicsba commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Windows Installer.zip

Adding so we can fetch it on the tablet

Comment thread src/task_controller.cpp
// For legacy per-element devices: propagate to section actual states
// so the heartbeat (PGN 0xF0) can report them to AOG
std::uint8_t sectionIndex;
if (clients[partner].try_get_section_for_element(elementNumber, sectionIndex))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to enforce clients[partner].uses_per_element_control() check here as well. It works for legacy per-element devices, but I believe a modern implement can report the condensed work state (161/290) and DDI 141 on the same element, and then this block runs for it too which might messed up some section actual state for modern implement.

@sujandumaru sujandumaru linked an issue Jul 22, 2026 that may be closed by this pull request
Comment thread include/settings.hpp Outdated
constexpr static std::array<std::uint8_t, 3> DEFAULT_SUBNET = { 192, 168, 5 };
constexpr static bool DEFAULT_TECU_ENABLED = true;
constexpr static bool DEFAULT_AOG_HEARTBEAT_ENABLED = true;
constexpr static bool DEFAULT_AOG_HEARTBEAT_ENABLED = false;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to change this default value?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes because there's a bug somewhere in AgOpenGPS and we often need to have this as false.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there more detail regarding this bug?

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.

Müller SECTION Control BOX from 2006

3 participants