Selecting sensors and edge devices