Skip to content

Add extra hdlc_landis_gyr_e450_cyprus packet dump#15

Merged
PolarGoose merged 1 commit into
mainfrom
fix_hdlc_landis_gyr_e450_cyprus_long_packet
Jul 4, 2026
Merged

Add extra hdlc_landis_gyr_e450_cyprus packet dump#15
PolarGoose merged 1 commit into
mainfrom
fix_hdlc_landis_gyr_e450_cyprus_long_packet

Conversation

@PolarGoose

@PolarGoose PolarGoose commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

hdlc_landis_gyr_e450_cyprus sends two different packets. We only added one to our dumps. This is another one that the meter sends only once per 20 full transmissions.

Copilot AI review requested due to automatic review settings July 3, 2026 22:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new HDLC “long packet” test fixture (raw dump plus decoded outputs) intended to exercise General Block Transfer reassembly and subsequent DATA-NOTIFICATION / AXDR decoding for a Landis+Gyr E450 Cyprus capture.

Changes:

  • Added a new raw HDLC dump for hdlc_landis_gyr_e450_cyprus_long_packet.
  • Added expected decoded XML for the dump.
  • Added a human-readable decoded trace log for the dump.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.

File Description
tests/dumps/hdlc_landis_gyr_e450_cyprus_long_packet.log Adds the raw HDLC byte stream fixture for a longer multi-frame capture.
tests/dumps/hdlc_landis_gyr_e450_cyprus_long_packet_decoded.xml Adds the expected decoded XML (DATA-NOTIFICATION payload).
tests/dumps/hdlc_landis_gyr_e450_cyprus_long_packet_decoded.log Adds the expected step-by-step decoded trace for frames/APDUs/AXDR.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PolarGoose
PolarGoose force-pushed the fix_hdlc_landis_gyr_e450_cyprus_long_packet branch from 6587418 to 18faff5 Compare July 4, 2026 12:08
@PolarGoose
PolarGoose requested a review from Copilot July 4, 2026 12:08
@PolarGoose PolarGoose changed the title [Work in progress] Make dump hdlc_landis_gyr_e450_cyprus_long_packet work [Work in progress] Add extra hdlc_landis_gyr_e450_cyprus packet dump Jul 4, 2026
@PolarGoose PolarGoose changed the title [Work in progress] Add extra hdlc_landis_gyr_e450_cyprus packet dump Add extra hdlc_landis_gyr_e450_cyprus packet dump Jul 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.

Comment thread tests/test_meter_dumps.cpp
@PolarGoose
PolarGoose merged commit cc108a6 into main Jul 4, 2026
8 checks passed
@PolarGoose
PolarGoose deleted the fix_hdlc_landis_gyr_e450_cyprus_long_packet branch July 4, 2026 12:15
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.

2 participants