How can I add Telnet functionality to MPLAB® Harmony TCP/IP framework?
Follow these steps to add Telnet functionality to the MPLAB® Harmony TCP/IP framework:
- Open a Harmony TCP/IP project (e.g., <install-dir>/apps/tcpip/tcpip_tcp_server)
- Open the MPLAB® Harmony Configurator (MHC) in the MPLAB X IDE:
- Go to Tools > Embedded > MPLAB Harmony Configurator.
- Expand the following selection tree and check the 'Use Telnet Server' box:
- Go to Harmony Framework Configuration > TCPIP Stack.
- Click the Generate Code icon (top of the MHC window).
- Open the app.c file (found in the Projects window in the Source Files/app folder).
- Locate the App_Tasks() function.
- Add the TCPIP_TELNET_Task() function at the end of the App_Tasks state machine.
- Compile and run the project.