Fire_PDU with an ExpendableDescriptor do not round-trip, because ExpendableDescriptor does not encode the 64-bits of padding the standard requires, so a Fire_PDU with an ExpendableDescriptor is the wrong size.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-03-07
Note that the same will apply to the Detonation PDU with an ExpendableDescriptor.
This is the end-result of Bug #64. The ExpendableDescriptor is defined in Descriptor.h as being only the Descriptor base type, which is really only the first half of a Munition, Expendable, or Explosion -Descriptor.
Substitutiing a MunitionDescriptor or an ExplosionDescriptor will give you an immediate workaround until you implement the fix for Bug #64.
--Jim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note that the same will apply to the Detonation PDU with an ExpendableDescriptor.
This is the end-result of Bug #64. The ExpendableDescriptor is defined in Descriptor.h as being only the Descriptor base type, which is really only the first half of a Munition, Expendable, or Explosion -Descriptor.
Substitutiing a MunitionDescriptor or an ExplosionDescriptor will give you an immediate workaround until you implement the fix for Bug #64.
--Jim