Hi,
I'm working on a project whose purpose is to write something from the keyboard (using serial terminal Hterm), send that data on the RS232 serial and receive it and show it on a webserver.
I'm trying to modify the httpsrv code from rtcs folder in order to obtain on the webserver the data I'm sending from my serial terminal on the computer .
I managed to do this but I have a problem. When I write something like "abcdefg" it shows ok on the webserver but when I transmit "abc defg" (with a space between letters), it splits my string and shows on a line "abc" and on the next line "defg". I want to transmit it as a whole, including the space.
Do you have any idea how can I fix this issue?
Thanks a lot
Hi Andreea,
Have you tried to add in the user_confing.h file this:
#define BSP_DEFAULT_IO_OPEN_MODE (pointer) (IO_SERIAL_XON_XOFF | IO_SERIAL_ECHO)
Notice that the flag IO_SERIAL_TRANSLATION was removed from the original. This might help.
Hope this solves the issue.
Regards,
Garabo