Implementing software on resource-constrained mobile sensors | Synapse