Commit graph

6989 commits

Author SHA1 Message Date
adamdunkels 5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
kasunch 5a46c629de Added missing slip.c file to CONTIKI_TARGET_SOURCEFILES 2010-10-19 17:05:45 +00:00
adamdunkels 34cba78ca8 Bugfix: bump advertisements only when a parent changes, not because of an upstream parent change 2010-10-19 07:34:29 +00:00
adamdunkels 665eaba2df Added function for creating a message in a separate buffer 2010-10-19 07:33:47 +00:00
adamdunkels d55079e7ba Arch-specific code template that works on all platforms 2010-10-19 07:33:09 +00:00
joxe 71d5c5f3c1 removed servreg_hack from the rpl-udp example 2010-10-18 13:43:41 +00:00
Mariano Alvira 581e2b10d9 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2010-10-16 13:28:59 -04:00
Jim Paris d5118ba63d Always make directories before building files in OBJDIR
This lets us put things like fatfs/ff.o in COBJS
2010-10-16 13:28:20 -04:00
Jim Paris 1b4de5d8e7 Add gpio_set and gpio_reset
Use them like gpio_set(GPIO_xx) and gpio_reset(GPIO_xx).
These macros efficiently set the DATA_SET and DATA_RESET bits without
reading the registers first, as a direct GPIO->DATA_SET.GPIO_xx would do
2010-10-16 13:28:20 -04:00
Jim Paris e6bd2a1318 Name the GPIO structure so we can set multiple bits at once 2010-10-16 13:28:20 -04:00
Mariano Alvira 0bdcac3457 add a memory section for RAM so that the linker will warn when you've
made your program too big.
2010-10-16 13:28:20 -04:00
Jim Paris b2c64dc233 Provide a function to change timer interrrupt handlers
Function irq_register_timer_handler(int timer, void (*isr)(void))
lets you change the handler at runtime.  This lets us set handlers
without necessarily knowing the name at link-time.  The old way of
having weakly-linked tmr0_isr functions should still work.
2010-10-16 13:28:20 -04:00
Jim Paris 76563958fe Add the disable_int({}) macro
This is similar to safe_irq_enable and disable
2010-10-16 13:27:20 -04:00
oliverschmidt f4e2c41c76 Added support for the FTP standalone client to the atari target. 2010-10-16 11:42:40 +00:00
oliverschmidt abe360e9fb Added support for the FTP standalone client to the apple2enh target. 2010-10-16 10:41:46 +00:00
oliverschmidt 3c655eed6f Added CTK standalone FTP client example. 2010-10-16 10:36:20 +00:00
oliverschmidt b91bc69653 - Allow to configure window dimensions.
- Added usage text in fullscreen windowless scenario.
2010-10-16 09:55:06 +00:00
oliverschmidt 3eadd924ea - Activated toggle between download/upload and upload dialog. However removed actual upload button. This seems reasonable as otherwiese the whole UI concept with remote and local directory listing doesn't make sense to the user.
- Made sure that the "low level" keystroke events are only handled if no dialog is displayed.
- Changed anonymous to 'anonymous'.
- Added option to run in fullscreen windowless mode by replacing in that scenario the dialogs with windows.
2010-10-16 08:15:40 +00:00
oliverschmidt b943e73b9b Made default IP config identical to minimal-net and log the IP config similar to minimal-net. 2010-10-15 21:14:18 +00:00
nifi e2b4956a7f Bug fix: release the packet and notify the sender if RDC returned an error 2010-10-14 19:08:39 +00:00
nifi 5a94145f7e Bug fix: corrected sort with average numbers 2010-10-14 18:53:08 +00:00
nifi b49db633f3 Added button to connect to serial in the node control panel 2010-10-14 18:13:09 +00:00
nifi 0322b4ed22 Bug fix (typo) 2010-10-14 17:00:56 +00:00
nifi 603a475584 Added beacon interval to node info panel 2010-10-14 16:49:34 +00:00
nifi c522b9333c Marked the row with avereage values with bold font 2010-10-14 06:45:45 +00:00
nifi a5fe4ae1c3 Changed average values to always be floating-point 2010-10-14 06:31:38 +00:00
nifi 0d7f895744 Added configuration of max item count in time charts 2010-10-13 22:55:47 +00:00
nifi 1ca83eb314 Added average values 2010-10-13 22:55:14 +00:00
fros4943 131d0b5853 minor bugfix: reverse search (ctrl+f, shift+enter) 2010-10-13 11:31:10 +00:00
fros4943 8c3f4859b4 removed log data string caches (reduces memory usage), added mote highlighting by clicking on Mote column 2010-10-13 08:33:22 +00:00
nifi 9a4d17fe7c Bug fix: put device in standby mode at startup in case it has previously been put in deep power-down mode; patch by Martin Bor 2010-10-12 22:55:11 +00:00
nifi a292ff9fe6 Added legend 2010-10-12 22:26:56 +00:00
oliverschmidt a5df3e8d00 Removed unnecessary include. 2010-10-12 19:57:44 +00:00
oliverschmidt 2f89e69ff7 Fixed build for platforms which use the default value for QUEUEBUF_NUM. 2010-10-12 19:51:28 +00:00
nifi af3f4ae679 Added warning if the plugin fails to start the CollectView application 2010-10-12 16:48:43 +00:00
nifi d2f7f62a34 Added quick start help text, added explicit save settings in menu, fixed bug in the background image selection. 2010-10-12 16:28:19 +00:00
adamdunkels 3edd8ff316 Updated tests to match new collect-view-data command syntax 2010-10-12 12:05:43 +00:00
adamdunkels ed2228ff6f Replaced the old sky-alldata command with the new collect-view-data command. Added the new shell powertrace command. Cleaned up. 2010-10-12 11:42:37 +00:00
adamdunkels 91565347a7 Removed the default immediate initialization of the network (the collect & netcmd commands). This should be done via the GUI instead now. 2010-10-12 11:41:44 +00:00
adamdunkels cc33fa0249 Replaced the sky-alldata command with the new collect-view-data command. Also added an explicit killall command before sending a new collect command. 2010-10-12 11:39:59 +00:00
adamdunkels a5d34a4fab Reordered the data items to match the new collect-view-data shell command instead of the old sky-alldata command 2010-10-12 11:39:10 +00:00
adamdunkels a4a69aea82 Added a panel showing the beacon interval 2010-10-12 11:38:34 +00:00
adamdunkels f82279c299 Made the collect-view application that was preivously hidden inside examples/sky-shell into its own application. This makes it possible for other platforms to use the same nica Java gui from the sky-shell application. 2010-10-12 11:37:41 +00:00
adamdunkels 0c5f9992c1 Increased the default number of retransmissions for the send command 2010-10-12 11:36:42 +00:00
adamdunkels 3f6dc30373 Added a powertrace command as an interface to the powertrace app 2010-10-12 11:34:49 +00:00
adamdunkels 04ede258d0 Bugfix: rfchannel did not print out over the correct command structure 2010-10-12 11:34:08 +00:00
oliverschmidt 284f7166b7 Allow standalone win32 programs to exit the Contiki process by calling LOAD_UNLOAD(). 2010-10-12 11:03:53 +00:00
fros4943 ece7919f49 added removed()-method for mote objects 2010-10-12 10:58:31 +00:00
fros4943 d470c20029 print test script progress for long running tests 2010-10-12 10:57:22 +00:00
fros4943 e56dccb840 save time formatting to config 2010-10-12 10:56:25 +00:00