Empirical study of the performance of ZigBee MAC Protocol