rtcs HTTPSRV twrk60fa120m

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

rtcs HTTPSRV twrk60fa120m

812件の閲覧回数
andreeasafta
Contributor I

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

タグ(3)
0 件の賞賛
返信
1 返信

715件の閲覧回数
Luis_Garabo
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信