I believe that’s because you are using the wrong format specifier with printf:
+ printf("==>>>>>>>>>>>>>>>RX LEN : %d\r\n", lBytes);
+ printf("==>>>>>>>>>>>>>>>RX DATA: %.*s\n", lBytes, pucRxBuffer);
the above logging prints the exact data sent by the client at the server side.
Logs and diffs for reference:
client_log.zip (2.0 KB)
server_log.zip (1.7 KB)
client_logging.patch (1.5 KB)
server_logging.patch (1.1 KB)
Note - I set ipconfigHAS_DEBUG_PRINTF
to zero to have the logs less verbose.