DelfiSpace / PQ9EGSE

The PQ9 EGSE is the Electric Ground Support Equipment used to connect the PQ9 bus to a computer for testing.
GNU General Public License v3.0
3 stars 1 forks source link

Command structure #23

Open StefanoSperetta opened 4 years ago

StefanoSperetta commented 4 years ago

Response to services can be positive (SERVICE_RESPONSE_REPLY = 2) and negative (SERVICE_RESPONSE_ERROR = 0) while the request is always 1 (SERVICE_RESPONSE_REQUEST).

The annoying part of this is that we need to create two separate frames for responses which is annoying in XTCE (and in operations). I was thinking about potentially defining the error field in a slightly different way to allow to "mask" the reply flags together with error...

The change might be simply changing the SERVICE_ERROR define to a different value. This issue is also related to https://github.com/DelfiSpace/DelfiPQcore/issues/35