Commit graph

2627 commits

Author SHA1 Message Date
oliverschmidt
1b5ae78a95 Easily avoided double (meant to be a forward ?) definition of timesynch_driver. 2007-12-20 20:30:55 +00:00
oliverschmidt
14fa993204 Define an empty rtimer_arch_now() macro to keep compiler happy. 2007-12-20 20:28:34 +00:00
nvt-se
f0891be218 added clear channel assessment timeout. long to begin with. 2007-12-20 14:44:31 +00:00
fros4943
d8f6f03edc moving radio init to init-net files 2007-12-20 13:43:24 +00:00
fros4943
d0997c2dab major bugfix: padding synch with zero 2007-12-20 13:36:59 +00:00
nvt-se
abb2731ed7 corrected comparison when bits don't need shifting. 2007-12-20 10:48:01 +00:00
nvt-se
7a6a9e62e4 improved logic. 2007-12-19 13:25:41 +00:00
nvt-se
1f00c20815 state variable must be volatile. 2007-12-19 13:09:01 +00:00
oliverschmidt
70fe24817e Added target-specifc ctk (and www) configuration values. 2007-12-18 17:51:20 +00:00
nvt-se
b4a8641dda removed printf's. 2007-12-18 15:27:43 +00:00
nvt-se
f9d24f0d24 Wake up from sleep in the interrupt when the receiver process is going
to be polled.
2007-12-18 15:26:25 +00:00
fros4943
d21572da02 configurable port 2007-12-18 11:55:01 +00:00
nvt-se
ab115e4b10 Removed deprecated function. 2007-12-17 20:18:29 +00:00
nvt-se
1566f55e04 use smaller payload buffer size and provision for synchronization word in
the total buffer.
2007-12-17 20:15:53 +00:00
nvt-se
bcefffb0e7 set ev to valid value. 2007-12-17 18:48:50 +00:00
nvt-se
692da8fd47 swapped the currents for lpm and cpu. 2007-12-17 18:47:17 +00:00
nvt-se
004143b6b8 set rxlen to zero before enabling interrupts. 2007-12-17 16:37:15 +00:00
nvt-se
2288cdecbb small cleanup. 2007-12-17 16:23:32 +00:00
nvt-se
2d5f331b34 new line. 2007-12-17 16:20:34 +00:00
fros4943
479d74ce6a added receiver process outside interrupt 2007-12-17 15:53:57 +00:00
fros4943
7886d51045 removed old dma_init 2007-12-17 15:47:55 +00:00
fros4943
3936e0c275 updated version 2007-12-17 15:47:40 +00:00
nvt-se
5f1ca4ccdf use synchronous transmission. 2007-12-17 15:26:47 +00:00
nvt-se
2a0351afb4 improved uip support and cleaned up the source. 2007-12-17 13:33:09 +00:00
nvt-se
86ce511469 Separate files for network initialization. 2007-12-17 13:20:54 +00:00
nifi
babb455dae More explicit assignment of Rime address from node ID 2007-12-17 13:04:10 +00:00
adamdunkels
381f5dc4cc Initialize Rime address from hardware MAC address if no node ID has been configured. Be more explicit on how Rime address is assigned from node ID. Set time synch authority level from Rime address rather than node ID. Fix bug that put CPU in LPM2 instead of LPM3. 2007-12-17 12:35:23 +00:00
nifi
f4ddc371e8 changed the way that rime address is set 2007-12-17 12:17:23 +00:00
fros4943
4da695ce72 bugfix: adding cc1020_init again, node hangs at cc1020_on (calib) otherwise 2007-12-17 11:23:57 +00:00
nvt-se
6a42706847 removed duplicate. 2007-12-17 11:15:21 +00:00
nvt-se
a305e3ccbb removed lpm_on. 2007-12-17 11:14:28 +00:00
fros4943
3969ea6f9d not using usb port to program the msb 2007-12-17 11:10:45 +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
oliverschmidt
e991edc24d Added route handling to the Cygwin build. It is done similiar to the other builds by simply shelling out to 'route'. However the coding isn't placed in the driver but in the netsim node main method - and it is fully parametrized.
Cygwin doesn't seem to call exit functions on SIGTERM so I needed to go for a signal handler in order to delete the route.
2007-12-17 01:12:09 +00:00
oliverschmidt
333ad36a4a Added general ctk support to the cc65 build. 2007-12-16 17:03:27 +00:00
oliverschmidt
f55b3cfe0e So we're finally back at reducing the memory footprint be avoiding to pull in large C-library enitities. 2007-12-16 17:02:37 +00:00
adamdunkels
2b4f33a4dd Enabled support for CC2420 timestamps 2007-12-16 15:05:04 +00:00
adamdunkels
d13648292e Added initialization of the time synchronization module 2007-12-16 15:03:35 +00:00
adamdunkels
d80052c0e7 Removed debug output 2007-12-16 14:48:33 +00:00
adamdunkels
6708450749 Added timesynch.c 2007-12-16 14:37:26 +00:00
adamdunkels
b71224b438 tree.h -> collect.h 2007-12-16 14:37:02 +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
8644822a34 Soe we're finally back at reducing the memory footprint be avoiding to pull in large C-library enitities. 2007-12-16 13:08:09 +00:00
oliverschmidt
c7a24bf6cf Soe we're finally bak at reducing the memory footprint be avoiding to pull in large C-library enitities. 2007-12-16 13:07:35 +00:00
oliverschmidt
805f3f87d3 Make the "empty" error_exit implementation the default to be optionally overridden. 2007-12-16 13:05:23 +00:00