I am using keil IDE and mqx 4.1. The board I am using is twr-k70f120m.
I wanted to use snmp httpserv and serial to eth in same project.
So this is how I wanted.
There will be three options displayed in the uart and if the user selects any one among the three that should start and if the user selects the other option the other should start, stopping the already running one.
1) Webpage (httpsrv example)
2) snmp (snmp example)
3) tcp (eth to serial)
I tried to integrate these into one project.
So far I am able to integrate snmp and webpage. But the issue is if I select webpage first it is working fine. If I select snmp then webpage stops and snmp starts working. But the issue is when I select 1 again the webpage is not starting again
It is displaying IPCFG: Device n.0 init failed. Error = 0x10419 error.
The same happens if I select snmp the second time. It is displaying Failed to initialize SNMP agent, error = 1140 error.
I tried using
when I select snmp to try to release the device which is initialized but it is not working.
How should I do it?