ERIS CORE

◆ SvcSerialCommandInterface()

SvcSerialCommandInterface::SvcSerialCommandInterface ( )
inline

Definition at line 55 of file svcSerialCommandInterface.h.

55  :AppBaseClass(){
56  update_priority = 20;
57  et_since_poll = 0;
60  index_rx_buffer = 0;
61  index_tx_buffer = 0;
63  stream_pos = 0;
64  is_streaming_file = false;
65  is_capturing_bulk_data = false;
68 #ifdef USE_EXTMEM
69  p_capture_buffer = (char*)extmem_malloc(SERIAL_RX_CAPTURE_BUFFER_SIZE);
70  p_working_buffer = (char*)extmem_malloc(SERIAL_WORKING_BUFFER_SIZE);
71 
72  p_multipart_header = (char*)extmem_malloc(SERIAL_TX_HEADER_BUFFER_SIZE);
73  p_received_chars = (char*)extmem_malloc(SERIAL_RX_BUFFER_SIZE); // an array to store the received data
74  p_stream_path = (char*)extmem_malloc(SERIAL_PARAM_BUFFER_SIZE);
75  p_stream_file = (char*)extmem_malloc(SERIAL_PARAM_BUFFER_SIZE);
76  p_tx_Buffer = (char*)extmem_malloc(SERIAL_OUTPUT_BUFFER_SIZE);
77 #else
78  captureBuffer = 0;
79  workingBuffer = 0;
80 #endif
81  strcpy(p_multipart_header,"");
82  strcpy(p_stream_path,"");
83  strcpy(p_stream_file,"");
84  stream_pos = 0;
86  strcpy(name,"SCI");
87  memset(p_tx_Buffer,0,SERIAL_OUTPUT_BUFFER_SIZE);
88  memset(p_received_chars,0,SERIAL_RX_BUFFER_SIZE);
89  };
char name[MAX_NAME_LENGTH]
Definition: AppBaseClass.h:74
uint16_t update_priority
Definition: AppBaseClass.h:52
SdFs * getSD()
provides an interface for apps to request the SdFs object
Definition: AppManager.cpp:366
static AppManager * getInstance()
Definition: AppManager.h:66

References et_since_periodic_data_dict_tx, et_since_periodic_stats_tx, et_since_poll, AppManager::getInstance(), AppManager::getSD(), index_capture_buffer, index_rx_buffer, index_tx_buffer, is_capturing_bulk_data, is_periodic_messages_enabled, is_streaming_file, AppBaseClass::name, p_capture_buffer, p_multipart_header, p_received_chars, p_SD, p_stream_file, p_stream_path, p_tx_Buffer, p_working_buffer, stream_pos, tx_buffer_overflow_flag, and AppBaseClass::update_priority.

+ Here is the call graph for this function: