To improve communication reliability and protocols'portability on the nodes of wireless sensor network and ease the development difficulty, a new system design scheme based on the embedded operating system μC/OS-II is proposed in this paper. According to operating system modular design strategy, the way of task partitioning for network protocol stack is present and the operating system is transplanted on the LPC2138. An analysis about error data acknowledgement on data link layer was also put up, together with a corresponding improvement. The experiment shows that, basing on the operating system, the protocol stack runs smoothly, reliably. What's more, the platform meets the applications of location etc.
展开▼