50 lines
1.2 KiB
C
50 lines
1.2 KiB
C
//
|
|
// Created by cfif on 11.04.2024.
|
|
//
|
|
|
|
#ifndef SMART_COMPONENTS_EGTSINPUTCOMMANDS_H
|
|
#define SMART_COMPONENTS_EGTSINPUTCOMMANDS_H
|
|
|
|
#include "EgtsProcessing.h"
|
|
|
|
typedef enum {
|
|
EGTS_AURUS_COMMAND_RESULT_OK = 0x00,
|
|
EGTS_AURUS_COMMAND_RESULT_ERROR = 0x01,
|
|
|
|
EGTS_AURUS_COMMAND_RESULT_TIMESTAMP_TELE_STOP_OK = 0xFC,
|
|
EGTS_AURUS_COMMAND_RESULT_TIMESTAMP_TELE_RUN_OK = 0xFD,
|
|
|
|
EGTS_AURUS_COMMAND_RESULT_RESTART_OK = 0xFE,
|
|
EGTS_AURUS_COMMAND_RESULT_UNKNOWN = 0xFF,
|
|
} egtsAurusCommandResult;
|
|
|
|
typedef enum {
|
|
EGTS_SET_RESTART = 0x0008,
|
|
EGTS_SET_TIME = 0xFAC4,
|
|
|
|
EGTS_SET_PERMANENT_TELEMATICA = 0xFAD0,
|
|
|
|
EGTS_GET_REPORT = 0xFAC2,
|
|
|
|
EGTS_GPRS_APN = 0x0203,
|
|
EGTS_SERVER_ADDRESS = 0x0204,
|
|
EGTS_SIM_PIN = 0x0205,
|
|
|
|
EGTS_GPRS_USER = 0x051A
|
|
|
|
|
|
} egtsAurusCommands;
|
|
|
|
|
|
egtsAurusCommandResult egtsAurusAnalizCommands(tEgtsProcessing *env);
|
|
|
|
egtsAurusCommandResult egtsAurusSetTimestamp(tEgtsProcessing *env);
|
|
|
|
void addCommandQueue(tEgtsProcessing *env, tEgtsCommand *egtsCommand);
|
|
|
|
uint8_t VariablesTable_ExGetVarTypeLength(tVariableDescriptor *var);
|
|
|
|
_Noreturn void EgtsProcessing_TransmitterTaskInputCommand(tEgtsProcessing *env);
|
|
|
|
#endif //SMART_COMPONENTS_EGTSINPUTCOMMANDS_H
|