A multi-cast algorithm for robust average consensus over internet of things environments