Commit graph

2583 commits

Author SHA1 Message Date
adamdunkels
c0c26262c4 No need to send strobes for broadcast packets: just send the actual packet instead 2008-07-07 23:25:12 +00:00
adamdunkels
35261f5208 Added a function for computing the CRC16 over a portion of data 2008-07-07 23:24:36 +00:00
adamdunkels
9f08d7c6de Add a CRC checksum to all collect packets to ensure that they are valid, even if they are running on top of a radio link with bit errors 2008-07-07 23:22:59 +00:00
adamdunkels
144927c12b Add a CRC checksum to all netcmd packets to ensure that they are valid, even if they are running on top of a radio link with bit errors 2008-07-07 23:22:38 +00:00
adamdunkels
ba2323f9ed Include CRC16 library in sources 2008-07-07 23:21:50 +00:00
oliverschmidt
5ac52ec4d1 Added VC++ compatibility. 2008-07-06 11:08:07 +00:00
oliverschmidt
9ac4123f00 Adjusted VC++ project file to recent change regarding cfs implementation (and added preprocessor define _CRT_NONSTDC_NO_DEPRECATE). 2008-07-06 11:06:14 +00:00
oliverschmidt
9d5ae4864e Added preprocessor define _CRT_NONSTDC_NO_DEPRECATE to allow usage of open(), close(), read(), write() and lseek(). 2008-07-06 11:04:33 +00:00
oliverschmidt
0d8e8136e9 Avoid compiler warning. 2008-07-06 10:34:44 +00:00
oliverschmidt
c60e91bf59 Moved Win32 cfs directory functions from cfs-win32.c to cfs-win32-dir.c. 2008-07-06 10:24:38 +00:00
oliverschmidt
bf3c92e98c Leverage split of cfs-posix and cfs-posix-dir by reusing cfs-posix for win32 and replacing only cfs-posix-dir with cfs-win32-dir. 2008-07-06 08:29:37 +00:00
oliverschmidt
86bd7e9829 Added lseek dummy. 2008-07-06 07:34:34 +00:00
oliverschmidt
fa956117f7 Dummies should rather return errors. 2008-07-06 07:32:20 +00:00
oliverschmidt
c00de08dec Added lseek dummy. 2008-07-06 07:28:42 +00:00
oliverschmidt
c9a8eea371 Added cfs_seek to the preprocessor level implementation of the cfs API. 2008-07-06 07:28:05 +00:00
adamdunkels
ec773fb63b Separated the 'debug' commands (unicast and broadcast) from shell-rime into a separate shell-rime-debug 2008-07-04 08:23:00 +00:00
nvt-se
6440c3de81 removed unnecessary inclusion 2008-07-04 03:03:41 +00:00
nvt-se
133a314b1c energest.h moved to sys/ 2008-07-04 02:58:58 +00:00
nvt-se
671f5c6393 Major performance boost to directory listings and non-cached file openings. 2008-07-04 02:54:30 +00:00
adamdunkels
62b7ef5173 Moved energest from lib/ to sys/ 2008-07-04 00:02:21 +00:00
adamdunkels
b88b231c62 Removed ps command to make code fit in memory 2008-07-04 00:01:06 +00:00
adamdunkels
64b6663b11 moved energest from lib/ to sys/ 2008-07-03 23:59:20 +00:00
nvt-se
45c6d92377 exclude log files from directory list 2008-07-03 23:50:54 +00:00
adamdunkels
4395efeb4f Make cfs-coffee compiled on all platforms 2008-07-03 23:43:21 +00:00
nvt-se
3fc9c96ac2 should be comparison, not assignment 2008-07-03 23:41:28 +00:00
adamdunkels
985fb009bf Rename static function log2 to ilog2 to avoid clashes (and compiler warnings) with built-in function called log2 2008-07-03 23:40:12 +00:00
adamdunkels
1f005b6299 Moved energest.{c,h} from core/lib to core/sys: power profiling is a system mechanism, not a library 2008-07-03 23:36:30 +00:00
adamdunkels
93ce938d8d enable coffee code coffee and netcmd commands 2008-07-03 23:32:03 +00:00
adamdunkels
aed5ea1720 Bugfix in netsend commands 2008-07-03 23:31:38 +00:00
nvt-se
8f64a71362 Simplified file finding code.
Renamed fd_set to coffee_fd_set in order to avoid name clash on the native
platform.
2008-07-03 23:29:58 +00:00
adamdunkels
c6579d4f08 CFS Coffee arch file for the native platform 2008-07-03 23:13:55 +00:00
adamdunkels
cfcdac3122 Avoid crashing if Rime/Chameleon is not initialized when Rime code is run 2008-07-03 23:13:31 +00:00
adamdunkels
51f4ab8b2c Changed type from off_t (that potentially conflicts with existing types.h typedefs) to unsigned long 2008-07-03 23:12:10 +00:00
adamdunkels
84a42a0bb3 xmem implementation for the native platform 2008-07-03 23:11:27 +00:00
adamdunkels
871598fb24 Added dummy watchdog.c to allow compiling and running code that calls the watchdog functions 2008-07-03 23:10:25 +00:00
nvt-se
379b09d576 Fixed bug that occured after the node had been rebooted. 2008-07-03 22:59:10 +00:00
adamdunkels
4687c2c948 Renamed Rime module mh to multihop 2008-07-03 22:36:02 +00:00
adamdunkels
d9b3097037 Renamed Rime nf module to netflood 2008-07-03 22:25:22 +00:00
adamdunkels
ec22f3c2fc Renamed Rime nf module to netflood 2008-07-03 22:02:09 +00:00
adamdunkels
c2c3835110 Changed name of Rime module ruc to unicast 2008-07-03 21:52:25 +00:00
adamdunkels
eddf71f534 Changed name of suc module to stunicast 2008-07-03 21:35:46 +00:00
adamdunkels
8a1ed696d9 Slightly nicer formatting 2008-07-03 21:34:12 +00:00
adamdunkels
cd6ab0ec47 Shave off whitespace at the end of a command (they would otherwise cause problems with filenames having 'invisible' trailing spaces). 2008-07-03 21:15:12 +00:00
adamdunkels
f4f812d81a Better error handling if the file could not be opened 2008-07-03 21:14:29 +00:00
adamdunkels
fa9a34993f Added an optional 'offset' parameter to the read command. With the offset parameter, reading starts 'offset' bytes into the file 2008-07-03 21:13:54 +00:00
adamdunkels
56fd2519f7 Slightly more informative output 2008-07-03 21:13:13 +00:00
adamdunkels
8b91a56a4e Added target for sky-shell-collect.c data collection 2008-07-03 18:48:53 +00:00
adamdunkels
96fb8163e6 Shell program that sends a lot of data: sensor data, power data, neighbor data 2008-07-03 18:40:18 +00:00
adamdunkels
a6682c4bfd originator address is const 2008-07-03 17:58:10 +00:00
adamdunkels
86bbb86ed9 If the reps argument to the repeat command is 0, it means to repeat infinitely 2008-07-03 17:56:56 +00:00