C&C for sensors and smart objects