This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Don't work RL-TCP NET

I want use RL TCPnet on lpc2368. I use it such as this example: www.keil.com/.../rlarm_tn_using_tcpsoc_example.htm

GSM module connect via COM, because, I implemet next functions in my programm:

void init_serial (void)
BOOL com_tx_active (void)
int com_getchar (void)
BOOL com_putchar (U8 c)

I can tested work thouse functions via send AT-command to GSM module - it's OK!

I have two problem:

1. On run, my program hung on call function "init_TcpNet". Why it's may be?

2. If commented "init_TcpNet", programm is run, but functions com_getchar and com_putchar don't call from TCPnet library. Why?
And result of functions "tcp_get_state" is TCP_STATE_SYN_SENT (SYN packet sent to establish a connect) on step 2 and 3 (see "soc_state" in example www.keil.com/.../rlarm_tn_using_tcpsoc_example.htm).

Thank you!

Parents
  • Not sure what you are answering there. That the project compiles and runs aren't the same thing as it having enough heap or stack space.

    On the other hand, your first post most definitely indicates that it does not run correctly - you write "On run, my program hung on call function "init_TcpNet".

Reply
  • Not sure what you are answering there. That the project compiles and runs aren't the same thing as it having enough heap or stack space.

    On the other hand, your first post most definitely indicates that it does not run correctly - you write "On run, my program hung on call function "init_TcpNet".

Children
No data