An open source Zigbee protocol stack for embedded platforms.
Be the first to post a text review of FreakZ. Rate and review a project by clicking thumbs up or thumbs down in the right column.
- Added #include <stdlib.h> in node_list.c for simulator.
- Changed types in misc.c/h, zdo_nwk_mgr.c, and test_sim.c from unsigned char to char to remove warnings of 'signedness' differences. Going from unsigned to signed should only affect the stack behavior in the sim, and mostly just used for printing out character messages. - Added headers to remove compiler warnings (string.h, signal.h, sys/stat.h, sys/wait.h, fstat.h) - Added -lpthread switch to LDFLAGS in the Makefile in /platform/cpu/native so that pthreads can be used in Linux - Changed the order of fifo opening in test_sim.c so that the public fifo is created and opened first. The order of opening fifos needs to match the simulator due to the blocking behavior when opening the fifos. Also changed the order of private fifo opening. - Added 1 second delay in sim_add_node because it was trying to open pipes before the node could create them. - Added short delay after writing to the private fifo in sim_pipe_data_out() in test_sim.c. During association, two frames are written almost simultaneously to the fifo and one frame gets lost. The short delay allows the simulator to process one frame, and then get the next one. - Replaced gets() with fgets() in cli.c. Compiler complains about using gets due to security issues (and rightly so).
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?