mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 03:05:14 +00:00
72aac552ef
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. |
||
---|---|---|
.. | ||
cfs | ||
dev | ||
lib | ||
net | ||
sys | ||
testapps | ||
contiki-conf.h | ||
contiki-cooja-main.c | ||
Makefile.cooja | ||
Makefile.customrules-cooja | ||
mtarch.c | ||
mtarch.h | ||
netstack-conf-example.h | ||
rtimer-arch.c | ||
rtimer-arch.h | ||
slip-arch.c |