adamdunkels
a20202231d
Minor type change
2008-01-08 08:00:13 +00:00
adamdunkels
d2be099c0e
Bugfix: queue buffers were not freed when a new packet was sent, leading to memory leakage. Added debug output.
2008-01-08 07:59:51 +00:00
adamdunkels
c6a43333d2
Call the timeout function only if it is non-NULL
2008-01-08 07:58:49 +00:00
adamdunkels
40d6216ec9
Added API for reading the routing table
2008-01-08 07:58:23 +00:00
adamdunkels
601560b1eb
Added hopcount to callbacks
2008-01-08 07:55:56 +00:00
adamdunkels
0c748d7dd2
Debug formatting fixes
2008-01-08 07:55:15 +00:00
adamdunkels
f737127cca
Minor type change
2008-01-08 07:55:00 +00:00
adamdunkels
16142f12c7
Removed unused code
2008-01-08 07:54:40 +00:00
adamdunkels
1640b11972
The radio driver now takes care of adjusting for the transmission time
2008-01-08 07:54:16 +00:00
adamdunkels
88a010acdc
Added a simple sniffer callback, which currently is a hack - a better solution would be a list of sniffers for both outgoing and incoming packets, but this will do for now.
2008-01-08 07:53:02 +00:00
adamdunkels
5b454bbd5f
Added a simple sniffer callback, which currently is a hack - a better solution would be a list of sniffers for both outgoing and incoming packets, but this will do for now. Added trickle, neighbor & route includes.
2008-01-08 07:52:31 +00:00
adamdunkels
b356ebe009
Increased the default input line length from 40 to 80
2008-01-08 07:49:51 +00:00
adamdunkels
25a5434fb5
Sending with interval 0 made explicit
2008-01-07 14:53:04 +00:00
adamdunkels
d33871facc
Bugfix: hops should be at least one for all packets that are sent over the radio
2008-01-07 14:52:23 +00:00
adamdunkels
a0a524e128
Added watchdog_reboot() prototype
2008-01-07 14:42:35 +00:00
adamdunkels
cc6c6eee62
Added prototype for _on() and _off() functions
2008-01-07 14:41:34 +00:00
adamdunkels
d8e84abaae
Made estimation of departure time better by locally measuring the average time per byte and adding this to the incoming timestamp.
2008-01-07 14:08:02 +00:00
oliverschmidt
00d75c8d16
Made use of uip_ipaddr_to_quad().
2008-01-04 23:28:33 +00:00
oliverschmidt
af6d9a59be
Adjusted value (without distinguishing between Ethernet, SLIP, ...).
2007-12-23 20:24:46 +00:00
oliverschmidt
1ecf65d6c2
Allow to implement cfs API on preprocessor level. The benefits are:
...
- Less overhead.
- Switching implementations without makefile changes.
- Compatibility with specific declaration needs. (I.e. the cc65 module loader expects the read() function to be defined as fastcall but that contradicts the cfs API declaration.)
2007-12-23 15:22:33 +00:00
oliverschmidt
a9ebc469b8
Avoid usage of POSIX function names even for static functions as some indirectly included system header might declare them.
2007-12-23 14:56:54 +00:00
oliverschmidt
f67506ba2a
Set truncate flag to make sure that overwriting a existing file doesn't result in a mix of old and new content.
2007-12-23 14:12:44 +00:00
oliverschmidt
8a4e2ec268
Fixed typo.
2007-12-22 12:02:43 +00:00
oliverschmidt
0564cc50fd
Splitted POSIX based cfs implementation to avoid pulling in potentially large POSIX directory I/O functions without needing them at all.
2007-12-21 01:36:01 +00:00
oliverschmidt
878f56837d
Did more aggressive fullscreen ctk codesize optimization. Now ctk draw implementations need adjustment as the struct window member x and y are gone. Another potential optimization would be to remove clipping...
2007-12-20 20:45:06 +00:00
oliverschmidt
1b5ae78a95
Easily avoided double (meant to be a forward ?) definition of timesynch_driver.
2007-12-20 20:30:55 +00:00
adamdunkels
3033b86753
Made the number of routing table entries configurable
2007-12-17 09:20:16 +00:00
adamdunkels
758411d06d
Cleaned up #includes to avoid cyclic dependencies - the Rime includes no longer depend on rime.h
2007-12-17 09:14:08 +00:00
adamdunkels
8287215c82
Removed obsolete, unused files
2007-12-17 09:12:16 +00:00
adamdunkels
d80052c0e7
Removed debug output
2007-12-16 14:48:33 +00:00
adamdunkels
07e2ca9287
Documentation updates
2007-12-16 14:33:32 +00:00
adamdunkels
5c5775e93b
Ensure that receiver_callback is set before calling it
2007-12-16 14:31:43 +00:00
adamdunkels
c948c97b4f
Fixed timestamping to support the simple implicit network time synchronization mechanism
2007-12-16 14:30:36 +00:00
adamdunkels
8bf9a08a70
A simple implicit network time synchronization mechanism
2007-12-16 14:29:56 +00:00
oliverschmidt
4b11df81ba
Mustn't include libconio header as this is just one possible implementation of the conio API (and further code exlusion for fullscreen ctk).
2007-12-16 13:00:51 +00:00
oliverschmidt
dca1f5cc19
Exclude unnecessary code in ctk fullscreen mode.
2007-12-15 22:18:13 +00:00
oliverschmidt
80d47e851f
Have the fullscreen mode (triggered by not setting CTK_CONF_WINDOWS) work with mouse support.
2007-12-15 21:29:46 +00:00
oliverschmidt
9c9e336f45
Some source reformatting.
2007-12-15 21:04:20 +00:00
oliverschmidt
4671ee3d10
Have ctk (at least on conio) work correctly without menus.
2007-12-15 20:46:15 +00:00
oliverschmidt
6fd3b0dbae
Removed CTK_CONF_HYPERLINK from shared code as its use is still unclear (and the implementation was incomplete anyway).
2007-12-15 11:34:59 +00:00
oliverschmidt
3e1431b854
Ooops, forgot to remove debug printfs before committing :-(
2007-12-14 23:38:00 +00:00
oliverschmidt
2da3a926a2
Introduced CTK_CONF_WINDOWS.
...
If it is set the behaviour is (supposed to be) as before. Otherwise ctk supports just one window in fullscreen mode: No windows, no borders, no menu, no dialogs, no desktop.
The ctk draw interface stays stable but obviously further code savings are possible by making ctk draw implementations CTK_CONF_WINDOWS aware.
Currently the fullscreen mode doesn't work with mouse support - this is supposed to come later...
2007-12-14 23:34:19 +00:00
fros4943
2c67936d6d
including uaodv-rt
2007-12-13 10:04:59 +00:00
adamdunkels
43d394f758
Maximum rtmetric now defined by the collect module - a bit of a hack since this probably should be configured elsewhere (and be referenced by both the collect and the neighbor module) but it will do for now
2007-12-09 15:44:21 +00:00
adamdunkels
5a89c19b5e
Changed to store neighbors' rtmetrics as 16 bit valued
2007-12-09 15:43:51 +00:00
adamdunkels
01da62aa25
Changed local rtmetric name from 'local_rtmetric' to 'rtmetric' and updated the neighbor discovery module from nbh to neighbor-discovery
2007-12-09 15:43:09 +00:00
adamdunkels
4e1d2906b7
Changed name on the neighbor discovery module from (cryptic) 'nbh' to 'neighbor-discovery'
2007-12-09 15:40:43 +00:00
oliverschmidt
29b2d1d236
Allow to link with UIP_CONF_ACTIVE_OPEN set to 0.
2007-12-08 23:06:02 +00:00
oliverschmidt
3b95e284fc
Allow to actually configure active open support via UIP_CONF_ACTIVE_OPEN.
...
Is there any reason I don't understand why this wasn't allowed? At least it seems to work...
2007-12-08 23:04:34 +00:00
adamdunkels
761ad7dd57
Updated debug output
2007-12-05 13:40:34 +00:00