Using µC/TELNETs
Module Reference
Include Files
Wherever you want to use µC/TELNETs, you should include the following header:
Include file | Description |
---|---|
Source/telnet-s.h | Contains TELNETs API definitions |
Module initialization
Function name | Description |
---|---|
TELNETs_Init() | Initialize µC/TELNETs module's objects and tasks. This function must be called prior to any other API |
Set TELNETs Callbacks
The following callbacks allows the users complete the TELNET server fonctionalities.
Function name | Description |
---|---|
TELNETs_AuthUser() | Called when there's a TELNET Session request to the server. The returned value of this callback indicate to the server to open the TELNET session or to abort the request. |
TELNETs_CmdHandlerExt() | Callback function processing received external command. |