Modeling and Fault Tolerance Analysis of ZigBee Protocol in IoT Networks