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!

0