Realization of a mobile Agent variation in TinyOS

The scheme to realize mobile Agent variation in TinyOS was provided. The variation transfers the code space and data space respectively, and the energy consumption to send code space is decreased greatly making use of the broadcast characteristic of wireless channel. The simulation results show that, network performance in mobile Agent variation mode is better than that in traditional C/S mode when the nodes are numerous.