Re: [Tinyos-help] Can I open and read file by using fopen(), or open() in TinyOS 2.0 Testbed ?

2007-12-26 Thread Michael Schippling
It's possible that you could use stdio functions in a simulated program, but you are trying to make a micaz executable, and there isn't any support for such in the embedded code. If you build for the simulator, you could try putting include stdio.h in your source file to take care of the fopen()

[Tinyos-help] Can I open and read file by using fopen(), or open() in TinyOS 2.0 Testbed ?

2007-12-25 Thread DAE HEE KIM
Hello. I am using Micaz, TinyOS 2.0.2, Mib510(or Mib520). I want to open and read data from file. For this reason, I used fopen(). However, When I tried to do make micaz, It complains implicit declaration of function `fopen' Can I use fopen() or open() for TinyOS Testbed ? Thanks. --