A new fog-enabled wireless sensor network architecture for industrial internet of things applications