Text this: Lightweight and delay-aware resource management scheme in smart grid IoT networks