Patent ID: 8438250

Claim:
A system for updating script images in wireless sensor networks, comprising: memory configured to store a list of nodes of a wireless sensor network; and logic configured to display the list of nodes and to display a script source of a first script image stored at one of the nodes in response to a selection of the one node from the displayed list of nodes, wherein the one node has a virtual machine for interpreting bytecode within the first script image, a first function for writing script images to memory of the one node, and a second function for invoking script images stored at the one node, the logic further configured to modify the script source based on user input and to convert the modified script source to a second script image having bytecode compatible with the virtual machine, the logic further configured to transmit a first remote procedure call through the wireless sensor network to the one node, the first remote procedure call comprising payload data defining the second script image and identifying the first function, wherein the one node is configured to execute the first function in response to the first remote procedure call such that the first function writes the second script image in the memory of the one node, wherein the one node is configured to execute the second function in response to a second remote procedure call received by the one node from the wireless sensor network such that the second function invokes the second script image for running on the virtual machine, wherein the second remote procedure call identifies the second function, and wherein the virtual machine is configured to interpret the bytecode of the second script image.