We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I have MCB2300 board. Using RL-ARM example LEDClient, all are OK. When I create new project and add all files of LEDClient project to my project (include LPC2300.s, main file,...), it does not work. I have not written any additional code line! Is it because of Project Option? What can I do with it? Please help. Thanks very much.
Let me explain :
First, I do as RL-ARM user's guide (Example for Sending Data of RL-TCPnet\TCP Socket help). - tcp_get_socket is OK. - tcp_get_state returns TCP_STATE_CLOSED - after call tcp_connect function, socket state is TCP_STATE_SYN_SENT and stay in this state for ever. I think tcp_callback is not called.
I test LEDClient, it run OK (connect to PC server program and send data OK) After that I create another project as above for testing (new project with all files of LEDClient project. after calling tcp_connect, tcp_callback return event TCP_EVT_ABORT
I am new in RL-TCPnet. Please help. Thanks
Have you included the correct 'net_config.c' file in your project...?
Yes, I copy it from Client Example (with some modifictions about IP,... that works in LEDClient example)