[Tinyos-help] Can I open and read file by using fopen(), or open()
in TinyOS 2.0 Testbed ?
Michael Schippling
schip at santafe.edu
Wed Dec 26 10:09:45 PST 2007
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() declaration, but I'm
not sure that it will actually link and execute.
MS
DAE HEE KIM wrote:
> 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.
>
> --
> DaeHee Kim (Danny)
> Department of Computer Science, State University of NewYork at Binghamton.
> Cell Phone : 1-607-321-9574
> Address : 13-A Andrea Dr, Vestal, NY, 13850
> email-address : dkim11 at binghamton.edu <mailto:dkim11 at binghamton.edu>,
> dahkim77 at gmail.com <mailto:dahkim77 at gmail.com>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
More information about the Tinyos-help
mailing list