* fixed invalid overwriting of downlink power on command
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

* overwriting of delay cycles for cam take pic command
* extended parsing of verification status codes
This commit is contained in:
Jakob Meier
2023-02-28 18:12:22 +01:00
parent 90b4b7c0f4
commit 809626b6e3
2 changed files with 17 additions and 1 deletions

View File

@ -115,8 +115,10 @@ static const size_t MAX_DATA_SIZE = 1016;
static const uint16_t TC_WRITE_SEQ_EXECUTION_DELAY = 80;
// Requires approx. 2 seconds for execution. 8 => 4 seconds
static const uint16_t TC_DOWNLINK_PWR_ON_EXECUTION_DELAY = 8;
static const uint16_t TC_CAM_TAKE_PIC_EXECUTION_DELAY = 20;
namespace status_code {
static const uint16_t DEFAULT_ERROR_CODE = 0x1;
static const uint16_t UNKNOWN_APID = 0x5DD;
static const uint16_t INCORRECT_LENGTH = 0x5DE;
static const uint16_t INCORRECT_CRC = 0x5DF;