TCPmaker : Visual Tour    Exploring and Customizing the Generated Code  

TCPmaker just adds a few important files on top of the very capable Microchip TCP-IP Stack, as shown in the diagram below.

The column on the left shows how we have added a bit to the main module of the application: Microchip's file MainDemo.c.  The main() function in this module normally contains some initialization code that starts things up in your board as well in various parts of the Microchip Stack.  We have added a line that initializes our "message pump," called mtServer.c, shown in the middle column.

After the main() function initializes things, it enters an infinite loop that periodically calls various servers in the Stack. We have added a line to that infinite loop, that calls our mtServer() message pump regularly.

 

 

open full sized image

4 of 21
Copyright Notice and Author Information