[Tinyos-help] Read file in nesC

2010-01-14 Thread YUSNAIDI MD YUSOF
Hi All, Does anybody knows how to read a text file (contained binary data) in nesC (.nc) program?, and what the correct include file needed as well... I tried include the conio.h library from C and using FILE *fopen() but ncc compiler flags me with this errors: warning: type defaults to `int'

Re: [Tinyos-help] Read file in nesC

2010-01-14 Thread Henrik Mäkitaavola
Hi, I'm not exactly sure what you are trying to do. Are you trying to open a file on a mote? A mote doesn't have a file system of the type that you are asking, they usually have external flash storages which you can read more about here: http://docs.tinyos.net/index.php/Storage . If you are trying