Skip to Main Content
The current popular wireless sensor network operating system to be large and complex, Leading to the size of program after compiling is too large and difficult to put into the memory of low-cost processors. In this paper, for the improvement of the program size too large problem, we propose a Lightweight wireless sensor network operating systems (LOS) that is based TinyOS. Our LOS adapts C programming language, static memory mapping mechanism, event-driven concurrent control and monolithic kernel architecture to achieve lightweight Through appropriate design concepts and code optimization to achieve the light weight of LOS. Experimental results show that under the same algorithm, LOS can save about 20K bytes in size, to achieve a light weight of the goal.