Commit Graph

15 Commits

Author SHA1 Message Date
Simon Duquennoy
43adbbf6f9 Target cooja: added missing includes 2015-10-20 10:11:16 +02:00
Mattias Buelens
72aac552ef Cooja: Track CFS file size
Previously, the Cooja mote assumed that its file was always initially empty (file.endptr == 0). Therefore, a file uploaded to a mote's CFS could never be read by the mote, as the mote would prevent reads from going past the EOF (indicated by endptr).

By tracking the file size and making it accessible to Cooja, the correct size of the uploaded file can be reported to the mote and allow it to read the uploaded file.
2015-09-09 23:06:09 +02:00
Adam Dunkels
944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
adamdunkels
9446d37285 Increased the default Cooja CFS size to 4000 bytes so that examples work (found by Roger Larsson) 2010-11-15 21:44:37 +00:00
fros4943
b9bf06c2a7 decreased default cooja CFS size 2010-02-05 08:59:51 +00:00
zhitao
bdce08d39d augmented CFS compliance for a RAM-based, one-file-only file system in Cooja. 2009-09-08 15:08:20 +00:00
fros4943
286065b584 cfs updated 2009-03-02 09:34:47 +00:00
fros4943
9c8c4898f7 updating cooja cfs stubs according to recent commits 2009-02-27 16:06:25 +00:00
fros4943
4c56fce697 updated cfs_write arguments 2008-02-11 18:40:16 +00:00
fros4943
4436819336 updated interface 2007-11-25 22:44:06 +00:00
adamdunkels
d6dc8763e9 Fixed dereference of void * pointer 2007-11-17 18:28:23 +00:00
adamdunkels
66b5644e07 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:26:06 +00:00
fros4943
79c38ef8df minor updates in cooja cfs_ram 2007-11-16 09:21:49 +00:00
oliverschmidt
0e023b328a Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:37:54 +00:00
fros4943
e528b527e6 moved cooja cfs files from /dev to /cfs 2006-10-23 16:07:29 +00:00