AnsweredAssumed Answered

TCP issues

Question asked by Camilo A Camacho D on Jan 30, 2013
Latest reply on Jan 31, 2013 by Garabo

Good morning everybody, today I have a couple of questions regarding TCP/IP functions and hopefully you could give me advices. My first problem is that I need to know if my RJ-45 cable is disconnected. I´ve tried a lot of things like: ipcfg_get_link_active, (which is always returning 0, whether the cable is connected or not) ipcfg_get_state(), which is responding 3 which stands for IPCFG_STATE_STATIC_IP, ipcfg_task_create() (everytime I call this sentence my program quits the task, so I can´t test if it actually works). I also tried to shutdown the socket and connecting it again afterwards, but never connects again. I really don´t know what to do because I`ve tried almost everything I know. On the other hand, does someone how to reset mi microcontroller with an mqx command?


Best Regards and thank you in advance for your cooperation.