Chenyang Lu CSE 467S 1
Announcements
- HW2: Due on 3/16 (Wed), 2:30pm
- Hard deadline!
- Midterm
- Open book, note
Chenyang Lu CSE 467S 2
Middleware for Wireless Reprogramming
- Maté: mobile code
- Agilla: mobile agent
Chenyang Lu CSE 467S 3
Motivation for Mobile Code
- Need to reprogram sensors after deployment
- Change parameters
- Change/add/remove modules
- Change whole program
- Manual installation on a large number of nodes
is impractical
Chenyang Lu CSE 467S 4
Summary: Maté
- Instruction Set
- Concise: utilizes the least amount of network
bandwidth
- Tailorable: can be modified for special operations
- Virtual Machine
- Small footprint: fits in rene2 (1KB data, 16KB code)
- Resilient: cannot crash the mote
- Energy: tradeoff between deployment and execution
Chenyang Lu CSE 467S 5
Limitations of (Just) Mobile Code
- Whole network runs one application
- Cannot adapt to changes in
- Goals
- Environment
- Network
- Lack coordination between nodes
Chenyang Lu CSE 467S 6
Mobile Agents : A Motivation Example
1 2 3 4