342 tmp = (
char*)malloc(1000);
347 printf(F(
"RAM {\"RAM1\":{\"addr\":\"%08X\",\"chunk\":\""),0x000000);
349 for(uint32_t i = 0x00070000; i < 0x0007F000; i+=1){
354 if(i%32==0 && i != 0x00070000){
355 print(F(
"\",\"decode\":\""));
363 pct = 100.0 * ((float)(i-0x00070000)/(float)(0x0007F000));
364 Serial.printf(F(
"CLS\nM GET_RAM1 %08X %.0f pct "),i,pct);
365 for(uint16_t div = 0; div < (uint16_t)pct; div += 5){
371 printf(F(
"RAM {\"RAM1\":{\"addr\":\"%08X\",\"chunk\":\""),i);
374 printf(
"%02X ",(uint8_t)c);
375 const char* escape =
"\\";
377 strncat(tmp, escape, 1);
380 strncat(tmp, escape, 1);
382 }
else if (isprint((
int)c)){
384 }
else if (iscntrl((
int)c)){
393 println(F(
"RAM END"));
bool requestStartLZ4Message()
request to start a lz4 compressed message starts the message and returns true if available returns f...
bool throttle()
returns true if the available serial buffer falls below SERIAL_THROTTLE_BUFFER_REMAINING_THRESHOLD if...
void sendLZ4Message()
Calling this function signals the end of a compressed message. The txBuffer contents are lz4 compres...