Project

General

Profile

Actions

Feature #458

closed

generate_packets.py: Support changing dataio type of a field through capabilities

Added by Alina Lenk 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Bootstrap
Target version:
Start date:
04/15/2024
Due date:
% Done:

0%

Estimated time:

Description

This is intended to make future fixes like #304 simpler. Make it so that fields like

uint16(int) unit_id; remove-cap(ids32)
uint32(int) unit_id; add-cap(ids32)

in packets.def are recognized as mutually exclusive versions of the same field and get just one declaration in the packet struct, dsend and handle-by-fields, but are transmitted differently in different capability variants.


Files

Actions #1

Updated by Alina Lenk 7 months ago

Actions #2

Updated by Alina Lenk 7 months ago

Decided to backport this to S3_2 as well, in case we end up needing it.

Actions #3

Updated by Alina Lenk 7 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF