Commit graph

2810 commits

Author SHA1 Message Date
adamdunkels 4fe5b37d87 Added debugging statements 2008-07-09 20:56:25 +00:00
adamdunkels 304a4cfa0b Broke out serial-shell from the shell app into its own app. Project can use the serial-shell to get a shell running over the serial line, just like a project can use the telnetd to get a shell running over Telnet/TCP/IP. 2008-07-09 20:53:30 +00:00
nifi 0d87322a18 minor documentation update and removed unused function prototypes 2008-07-09 20:45:06 +00:00
adamdunkels 329cea44d7 Replaced the sky-shell with the new sky-shell-collect and removed sky-shell-collect 2008-07-09 20:39:27 +00:00
adamdunkels 710f9cf54b Removed debug printout 2008-07-09 09:37:50 +00:00
adamdunkels 2023a692d4 Added clock_second() implementation to make th shell work 2008-07-09 09:34:29 +00:00
adamdunkels 9a4e5dfabf Rewrote the neighbor discovery code so that messages are suppressed if a lower rtmetric is received. This reduces the overall number of broadcast packets. 2008-07-09 09:33:58 +00:00
adamdunkels a40791e6c4 Flush energy estimates before reading them 2008-07-09 09:32:54 +00:00
nifi f93f501a4d updated tr1001_send and tr1001_read to match radio driver api 2008-07-08 13:22:31 +00:00
nifi e92b7178b9 fixed compiler warning 2008-07-08 12:54:41 +00:00
nifi 8718c41945 Fixed compiler warning. 2008-07-08 12:35:05 +00:00
nifi 8db3671d65 - Replaced TR1001 statistics with rimestats
- Fixed typo in constant name
- Changed all occurences of u8_t and u16_t to uint8_t and uint16_t
2008-07-08 12:27:22 +00:00
nifi 6e657ad3d8 Moved old Makefile from platform/esb to backyard/platform/esb 2008-07-08 11:21:51 +00:00
adamdunkels 9318117429 Fixed function prototype compiler warning 2008-07-08 10:59:31 +00:00
nifi 16f7888b52 changed clock resolution to 64 (needs to be a power of 2) and updated uIP settings 2008-07-08 09:36:48 +00:00
adamdunkels f58b387bd3 Code style fixes 2008-07-08 08:23:47 +00:00
adamdunkels 8e5d255b5b Moved initialization of the SHT11 until after other initialization: this seems to fix a bug where the SHT11 temperature and humidity values started varying wildly. 2008-07-08 08:23:24 +00:00
adamdunkels ee4862f082 Remove XXX todo comment: this has now been fixed 2008-07-07 23:47:07 +00:00
adamdunkels 9cc5a0098e Use the clock_second() function to get time in seconds 2008-07-07 23:46:12 +00:00
adamdunkels 082efade5b Removed netfile command, added net debug commands 2008-07-07 23:45:35 +00:00
adamdunkels 84e4bf7a15 Changed order of initialization to make light sensors work again: a previous change to irq.c seems to have conflicted with light sensor initialization 2008-07-07 23:44:58 +00:00
adamdunkels 10f3964be1 Added an AJAX-style web server app that continously updates a web page with data from the Tmote Sky on-board sensors 2008-07-07 23:42:32 +00:00
adamdunkels e04e49999d Added a clock_seconds() function prototype to core/sys/clock.h, that returns seconds in 32 bit format. 2008-07-07 23:38:46 +00:00
adamdunkels fc6d059d24 Added a clock_seconds() function prototype to core/sys/clock.h, that returns seconds in 32 bit format. On platforms like the MSP430, which has a 16 bit native datatype, this cannot be implemented with an interrupt tick that increments a 32 bit value because access is not atomic. Instead, the MSP430 code increments 16 bit seconds value and converts this into a 32 bit value through an offset calculation. If the new value is smaller than the last check, the offset is incremented by 65536. This change also means that CLOCK_CONF_SECOND must be a power of two because a modulo operation is used inside the periodic tick interrupt handler. 2008-07-07 23:38:09 +00:00
adamdunkels ba5c18a468 Rewrote the trickle code to run directly over the broadcast primitive: the previous implementation did not work as expected, because packets were not supressed correctly by the previous underlying netflood primitive 2008-07-07 23:29:30 +00:00
adamdunkels df33cb6e16 Only send ACK if it was possible to allocate a queuebuf to hold the data packet. 2008-07-07 23:27:57 +00:00
adamdunkels 4d35b905d3 Bugfix: check should cover min(hdrsize, datalen), not max 2008-07-07 23:27:05 +00:00
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