Definition at line 571 of file svcSerialCommandInterface.cpp.
574 char cmd[128], param[128],param2[128];
575 total_read = sscanf(
p_received_chars,
"%127s %127s %127s" , cmd, param,param2);
576 while(Serial.availableForWrite() < 6000){
588 workingBuffer = (
char*)malloc(SERIAL_WORKING_BUFFER_SIZE);
601 while(
token != NULL ) {
603 else Serial.print(F(
",\""));
605 Serial.print(F(
"\""));
609 Serial.println(F(
"]"));
610 Serial.println(F(
"DIR_EOF"));
630 sd->ls(
this,param,
false);
635 else Serial.print(F(
",\""));
638 Serial.print(F(
"\""));
645 Serial.println(F(
"]"));
646 Serial.println(F(
"DIR_EOF"));
bool throttle()
returns true if the available serial buffer falls below SERIAL_THROTTLE_BUFFER_REMAINING_THRESHOLD if...
void send()
immediately transmit then clear the txBuffer
char * p_multipart_header
void empty()
zero out the transmit buffer and reset the write index
volatile bool tx_buffer_overflow_flag
int FLASHMEM replacechar(char *str, char orig, char rep)
References empty(), index_tx_buffer, newline, p_multipart_header, p_received_chars, p_tx_Buffer, p_working_buffer, replacechar(), AppBaseClass::sd, send(), throttle(), token, and tx_buffer_overflow_flag.
Referenced by update().