Commit Graph

157 Commits

Author SHA1 Message Date
nifi
ddcda4582e ctimer initialized by contiki-esb-main 2008-03-13 15:59:43 +00:00
nifi
3ecd955f01 energest needs to be initialized before network 2008-03-13 15:58:44 +00:00
nifi
79cb912f7c reduced memory usage, removed procinit, general cleanup of initialization, enabled watchdog 2008-03-07 17:54:22 +00:00
oliverschmidt
2632f8f937 Removed finally unnecessary cast. 2008-02-10 22:36:36 +00:00
nifi
3e0e3d4965 added energest-arch.c 2008-01-18 18:26:02 +00:00
nifi
babb455dae More explicit assignment of Rime address from node ID 2007-12-17 13:04:10 +00:00
nifi
f4ddc371e8 changed the way that rime address is set 2007-12-17 12:17:23 +00:00
nifi
867f87d35a removed local watchdog (conflicts with cpu/msp430/watchdog.c) 2007-11-28 22:04:56 +00:00
nifi
c40a2071f0 changed to use radio_sensor directly instead of a variable depending on interrupts 2007-11-28 21:28:03 +00:00
nifi
377ad07d77 return the last decoded value instead of the last value read during an interrupt 2007-11-28 21:26:35 +00:00
nifi
0b44c75e94 added compiler error when compiled without nodeid=<the ID of the node> 2007-11-28 19:53:09 +00:00
nifi
cc51c0220b changed NETWORKDRIVERS to shorter NETSTACK 2007-11-26 19:35:06 +00:00
nifi
fa5a20f948 added ctimer init + printout of the autostarted processes 2007-11-26 19:34:23 +00:00
adamdunkels
477d39ce5b Fixed function prototypes to match radio API 2007-11-19 09:50:54 +00:00
nifi
a6d827fa1f moved initialization of ctimer to allow MAC layer to use ctimers 2007-11-15 13:07:42 +00:00
joxe
1d447dc043 added button sensing and leds-blinking for better sensor demo 2007-10-26 12:37:48 +00:00
adamdunkels
a9e4287cbe Changed the energy estimation type ENERGEST_TYPE_RECEIVE to ENERGEST_TYPE_LISTEN to highlight that energy is spent on idle listening, not just the actual reception of packets 2007-10-25 09:30:39 +00:00
nifi
2780aef873 Include msp430def.h for standard defines 2007-08-16 13:35:33 +00:00
nifi
296ad6cdb7 Updated to new radio_driver API 2007-08-07 11:20:11 +00:00
nifi
7e57cd240a Updated to new radio_driver and mac_driver APIs 2007-08-07 11:17:54 +00:00
nifi
cc80dbf546 removed obsolete rime code for tr1001 2007-08-07 11:16:19 +00:00
nifi
d74d8d176d Updated to new radio_driver API, removed obsolete rime code 2007-08-07 11:14:39 +00:00
nifi
fb54bba19e Updated to new radio_driver API + LPM4_EXIT instead of LPM_AWAKE() 2007-08-07 11:11:19 +00:00
nifi
39c12bad29 Added stdint.h 2007-08-07 11:09:38 +00:00
nifi
6b2cd5c2d4 LPM4_EXIT instead of LPM_AWAKE() 2007-08-07 11:06:14 +00:00
nifi
c4421c1d4b added Makefile option for choosing between rime and uip 2007-06-01 12:46:07 +00:00
adamdunkels
a473b6ff33 Made TR1001 work with Rime 2007-05-22 21:08:24 +00:00
adamdunkels
f33844bd9c Added energy estimation 2007-05-22 21:07:51 +00:00
adamdunkels
b32a9b9be5 Returning the actual value rather than something read during an interrupt 2007-05-22 21:06:57 +00:00
adamdunkels
de4ef02e49 Added energy estimation, size of queue buffers to two. 2007-05-22 21:06:30 +00:00
adamdunkels
42e84048f6 Added energy estimation, low power mode 2007-05-22 21:05:53 +00:00
oliverschmidt
9f97290665 Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:05:48 +00:00
adamdunkels
459d91512a Added rtimer initialization 2007-05-15 08:11:33 +00:00
adamdunkels
d9a4c02fab Platform-specific energy estimation code 2007-05-15 07:42:22 +00:00
oliverschmidt
4fd1e3ece0 Added signed 32 bit data type. 2007-05-12 20:58:12 +00:00
nifi
4601d620b9 network setup for uip without slip 2007-05-09 15:13:01 +00:00
nifi
0b4a7e1c3d network setup for uip with slip 2007-04-05 08:11:57 +00:00
fros4943
6910c4d311 starting the tr1001 rime process at init 2007-04-04 09:12:14 +00:00
nifi
472619fe9c changed notification printout to be one line 2007-04-02 13:35:54 +00:00
nifi
1432347ca5 typo 2007-03-30 11:07:11 +00:00
nifi
6aff1d2f57 changed to display contiki version + added notification about node id 2007-03-30 08:27:47 +00:00
adamdunkels
a8b3ec1a3b Added a small notification printout 2007-03-29 22:23:01 +00:00
adamdunkels
d1b791f693 Removed default reliance on uIP 2007-03-28 20:34:33 +00:00
adamdunkels
99f8221f3b Removed unused code 2007-03-28 19:53:48 +00:00
nifi
de2eb196c6 updated for new API, fixed include, and added activation of pir & vib sensors 2007-03-28 11:04:07 +00:00
nifi
97f660451f added initialization of flags 2007-03-28 09:58:47 +00:00
joxe
b6008e9821 fixed some buggy comments 2007-03-28 09:52:35 +00:00
adamdunkels
3eb156019e Documentation fix 2007-03-25 17:15:43 +00:00
nifi
f0ce3a5292 Moved buildscripts from cpu/msp430 to platform/esb. 2007-03-23 16:19:41 +00:00
nifi
b3ecbbd2ee fixed includes 2007-03-22 18:22:11 +00:00
adamdunkels
bba0485797 Experimental energy estimation code 2007-03-19 00:30:13 +00:00
fros4943
997a286b5d tr1001 init fix 2007-03-16 12:19:33 +00:00
adamdunkels
109a377a91 Renamed tr1001-drv to tr1001-uip 2007-03-16 11:34:05 +00:00
adamdunkels
21633663bc Added interface for using different TR1001 drivers 2007-03-15 21:57:35 +00:00
adamdunkels
00931bdf9d Moved to msp430/cpu/dev/ 2007-03-15 21:57:06 +00:00
adamdunkels
c47f810e39 Moved to core/dev 2007-03-15 21:56:52 +00:00
adamdunkels
2f36a43843 TR1001 Rime driver 2007-03-15 21:56:16 +00:00
adamdunkels
f569a888fa Renamed tr1001-drv.[ch] to tr1001-uip.[ch] 2007-03-15 21:55:59 +00:00
adamdunkels
de3cc062fc Moved all uIP initialization into network initialization code 2007-03-15 21:53:15 +00:00
adamdunkels
3000eeaaaa Added definition to make IRQ port 1 be compiled 2007-03-15 21:52:44 +00:00
adamdunkels
b8b47d2cc9 Added cfs-eeprom 2006-12-19 09:19:14 +00:00
adamdunkels
163541eaf5 Added note on burn-nodeid 2006-12-19 09:18:11 +00:00
nifi
be942b531b added counter for avg sstrength 2006-10-10 23:16:10 +00:00
nifi
11c1762a62 updated API and added active flags because some sensors react on radio activity 2006-10-10 12:37:04 +00:00
adamdunkels
8a3481d632 Removed old file 2006-10-10 10:10:40 +00:00
nifi
271968e104 added flag to enable/disable sensor event broadcast 2006-10-09 21:08:51 +00:00
nifi
30822b5703 added active flags because some sensors react on radio activity 2006-10-09 21:05:37 +00:00
adamdunkels
5e98ede3a3 Updated to not rely on uIP 2006-10-09 11:56:13 +00:00
adamdunkels
d9109e9e83 Two types of radio sensor data 2006-10-09 11:55:42 +00:00
adamdunkels
abfe686c6d Updated to latest uIP API 2006-10-09 11:55:30 +00:00
adamdunkels
43d567e5f3 Added node-id.h 2006-10-09 11:55:16 +00:00
adamdunkels
25ac16ff2c Added radio sniffer program 2006-10-09 10:08:40 +00:00
nifi
39098934a6 refactored putchar to make it replacable 2006-10-09 09:19:02 +00:00
adamdunkels
d2172da359 Added node ID EEPROM address, increased clock granularity 2006-10-06 07:58:39 +00:00
adamdunkels
83793da297 Removed automatic node ID generation, added TR1001 GCR version 2006-10-06 07:58:19 +00:00
adamdunkels
1c02dd5652 Initial documentation for node ID storing and restoring 2006-10-06 07:57:41 +00:00
adamdunkels
56fe6ec4a9 Made debugging output easier configurable 2006-10-06 07:57:14 +00:00
adamdunkels
60c7228675 Moved mandatory low-level initialization into main file, moved all uIP and network initialization into int_net() 2006-10-06 07:49:31 +00:00
adamdunkels
d239998175 Node IDs are stored in EEPROM and restored on bootup 2006-10-06 07:47:02 +00:00
adamdunkels
1f49bd4cd2 Makefile for ESB applications 2006-10-06 07:01:14 +00:00
adamdunkels
a3adb76b31 Program for 'permanently' burning a node ID to EEPROM 2006-10-06 07:00:36 +00:00
adamdunkels
8f203cd2c9 TR1001 driver using GCR instead of manchester encoding 2006-10-05 09:20:00 +00:00
adamdunkels
ca1045700e Updated documentation 2006-10-02 20:07:05 +00:00
adamdunkels
cffc41ff27 Updated documentation 2006-10-02 20:05:07 +00:00
adamdunkels
7b58a3212f Updated documentation 2006-10-02 20:05:07 +00:00
adamdunkels
b1ba41842f moved text to esb.txt 2006-10-02 20:04:38 +00:00
nifi
ce5b45da48 turn of ADC12 during reconfiguration 2006-08-30 07:45:56 +00:00
nifi
d16b9ad15d bug fix: LPM_AWAKE() on MSP430 modifies the stack and may only be called in the interrupt 2006-08-17 08:27:54 +00:00
oliverschmidt
62fa3b8c01 Changed the Contiki Interface declaration macros from CCI/CLI to CCIF/CLIF because of already existing macros: Both CCI and CLI :-( 2006-08-15 14:46:33 +00:00
oliverschmidt
48609fb3a3 Added defines for declaring functions/data which are part of the CCI (Contiki Core Interface) and CLI (Contiki Loadable Interface). Both defines are empty for all platforms but the upcoming Win32 port. 2006-08-13 15:06:08 +00:00
bg-
fb94d50410 Change typedef of uip_ipaddr_t from a vector type to a union.
typedef union uip_ip4addr_t {
  u16_t u16[2];
  u8_t  u8[4];
} uip_ip4addr_t;

typedef uip_ip4addr_t uip_ipaddr_t;

This implies that one must consistently pass pointers to
uip_ipaddr_t:s and not mix and match pointers with
uip_ipaddr_t:s as was done earlier.
2006-08-09 16:13:39 +00:00
nifi
fa9a97e9db removed unneeded constants (BEEP_ON/BEEP_OFF) and simplified the code for beep_on()/beep_off() 2006-07-07 06:36:38 +00:00
nifi
d376b3fe9d fixed doxygen warnings, problems with the images, and updated for contiki-2.x 2006-06-29 19:04:37 +00:00
nifi
effc657baf removed unused file (use contiki-conf.h instead) 2006-06-29 08:00:58 +00:00
nifi
c2ae514a13 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-21 13:39:11 +00:00
nifi
9eb477f8f5 added autostart + replaced codeprop_event_quit with PROCESS_EVENT_EXIT 2006-06-21 12:40:14 +00:00
adamdunkels
62e32d2b23 Added missing includes and made Ethernut 1 & 2 ports to compile again 2006-06-20 21:23:09 +00:00
adamdunkels
7100179654 Deleted unused files 2006-06-18 08:22:12 +00:00
adamdunkels
d7305d07f5 Code imported from the SICS CVS server 2006-06-18 08:19:10 +00:00
adamdunkels
394c93219e Removed explicit TCP window setting to make ELF loading work 2006-06-18 08:15:26 +00:00