Commit Graph

294 Commits

Author SHA1 Message Date
fros4943
510eb54494 wrapping cc2420 byte delivery in MspMoteTimeEvent:s, to avoid scheduling problems when emulated mote is in lpm 2010-02-03 19:15:15 +00:00
fros4943
31b9369dff mspsim-specific time event that explicitly forces mspsim to synchronize its internal time to the current cooja time 2010-02-03 19:10:36 +00:00
fros4943
3786f2f5fb introduced execute method with duration argument 2010-02-03 19:08:40 +00:00
fros4943
0286e4115f removed obsolete tick method 2010-02-03 16:04:44 +00:00
fros4943
36ab835973 + calculates CRC for incoming packets (from cooja to cc2420). not yet checking outgoing packets for correct CRC 2010-02-03 14:07:45 +00:00
nifi
01502926d0 Better handling of cross-level radio packet. Minor code cleanup. 2010-02-03 13:47:33 +00:00
fros4943
e207f89307 added inter-byte delay for delivering cross-level packet bytes (250kbit/s) 2010-02-03 12:37:34 +00:00
fros4943
7025402510 removed unnecessary call to initEmulator (already called when the mote is first created) 2010-02-03 11:06:23 +00:00
fros4943
440ffae2a0 new project: adds two new plugins for forwarding data between a socket and a simulated serial port 2010-01-27 14:28:26 +00:00
fros4943
bdda5f1c29 bugfix: rescheduling mspsim-based after breakpoint stops simulation + disabled automatic CLI "trace" at exceptions 2010-01-21 22:32:32 +00:00
fros4943
fa5f1f73ab avoid java expection when debug pointer doesn't exist 2010-01-21 18:02:54 +00:00
fros4943
633405a73c experimental debugging output interface for mspsim-based motes 2010-01-21 17:43:59 +00:00
fros4943
758710cadd cvs ignore for build directory 2010-01-15 10:57:42 +00:00
fros4943
760818260c using new MotePlugin interface 2010-01-15 10:54:42 +00:00
fros4943
6669b52c61 automatically ending transmission if radio hw is turned off 2010-01-15 10:44:26 +00:00
fros4943
515f5c7f78 removed warning when packet conversion failed 2010-01-15 10:43:02 +00:00
fros4943
cc252e5c16 added support for multiple msp command line listeners 2009-12-14 13:22:57 +00:00
fros4943
5660d6c168 bugfix: returned radio on during boot 2009-12-07 12:31:19 +00:00
fros4943
5f88fac53c renamed serial port mote interface SkySerial to MspSerial + replaced ESB's log mote interface with the new MspSerial (ESB motes can now read serial port data) 2009-12-02 17:12:32 +00:00
fros4943
36d09eaa69 requesting mote wakeup when receiving radio data + code cleanup (faster code) 2009-12-02 16:39:42 +00:00
fros4943
51f210b37f removed unused and unneeded custom radio data classes 2009-12-02 16:29:36 +00:00
fros4943
2f9ccfa26d merged mspsim's compile dialogs 2009-12-02 16:27:32 +00:00
fros4943
8bd7187491 the simulation object now handles the motetype configuration for motes; common functionality that was earlier implemented in each mote.
this patch allows the simulator more freedom for hand-picking mote class loaders

+ some debug output in experimental ImportAppMoteType
2009-11-27 15:53:10 +00:00
fros4943
24d0330d2d radio connection update: radio should not be removed from destinations, but instead flagged as interfered 2009-11-25 15:43:03 +00:00
fros4943
7e6fbd9f7b output warning if radio shuts down during transmission 2009-11-25 15:18:11 +00:00
fros4943
c0e115895d when a receiving radio is interfered by another transmission, the actual data received is corrupted. 2009-11-25 10:01:55 +00:00
fros4943
cd8a407ee1 fix: mote id should not return memory value, but rather the configured value. 2009-11-25 09:17:16 +00:00
joxe
65a50f3d88 fixed MicaZ ID for contiki nodes by programming EEPROM 2009-11-17 14:30:26 +00:00
joxe
f5ae0b9c82 fixed mote id for micaz 2009-11-17 14:09:02 +00:00
joxe
add9d2a387 added write to memory from COOJA + fixed byte ordering 2009-11-13 09:50:25 +00:00
fros4943
9c861b486d minor fix: isTransmitting() flag should be true during transmissions + removed obsolete MSPSim setCCA interface 2009-11-13 08:32:01 +00:00
joxe
be313dd97d improved support for MicaZ emulation - added variable watcher functionality 2009-11-12 12:49:34 +00:00
joxe
27bca64fe0 improved micaz emulation - supports radio on/off states + moved over to used common emulation classes 2009-11-10 12:56:20 +00:00
fros4943
36eae6fcdf micaz port now extends AbstractWakeupMote and schedules itself to execute every millisecond.
still no memory access, so simulation of micaz motes remains limited
2009-10-30 09:42:50 +00:00
fros4943
82b8006c0c using MoteTimeEvent instead of TimeEvent: scheduled events are automatically removed when the mote is removed 2009-10-28 15:58:42 +00:00
fros4943
5c2fd30afb disabled micaz clock until new wakeup interface is implemented 2009-10-27 10:20:25 +00:00
fros4943
2911ea483b jipv6 jar path fix 2009-10-27 10:19:07 +00:00
fros4943
29f618836f new radio medium api 2009-10-27 10:14:09 +00:00
fros4943
2d7e188c77 using mspsim's new window manager, not fully implemented yet 2009-10-27 10:13:34 +00:00
fros4943
ed8867bcb5 new event scheduling api 2009-10-27 10:11:17 +00:00
fros4943
4715637b38 major update to mspsim-based emulated mote:
* fully event based scheduling instead of previous event-tick-hybrid model

->
* faster emulation of large mspsim-based networks
* enables variable clock frequency (no longer fixed to 3.9 Mhz)
2009-10-27 10:02:48 +00:00
fros4943
ae9aaea5f3 added build dependcy jipv6.jar 2009-10-27 09:58:18 +00:00
fros4943
8b136c0b35 removed obsolete until method 2009-10-27 08:52:49 +00:00
fros4943
4c1706bebb do not show dialog unless COOJA is visualized 2009-10-21 16:43:24 +00:00
fros4943
15c4cdaa3e on non-windows platforms: manually entering simulated gateway arp address
+ minor updates: introduced network interface wrapper class , extending vis plugin, showing number of bytes forwarded between native and simulated network (not just number of packets)
2009-10-20 09:22:07 +00:00
fros4943
b144b78478 increased slip data buffer size 2009-10-19 17:31:13 +00:00
fros4943
92eecd3e38 added method for more easily accessing the coffee filesystem interface 2009-10-08 14:41:20 +00:00
fros4943
21d1c5e939 added experimental functionality for mapping between debug info paths and real source locations.
useful when the firmware is not compiled on the cooja computer, or when the source files have been moved after compilation.

this functionality is not yet saved with simulation configs
2009-09-23 08:22:36 +00:00
fros4943
25767a1f0f faster repaint for large source files 2009-09-23 08:16:06 +00:00
fros4943
88b4e22aad fixed executable path 2009-09-18 16:45:26 +00:00