Median Access Control (MAC) protocols are designed to mitigate collisions and enhance the energy efficiency for sensor data collection. This paper reviews two basic categories of MAC protocols. The first class is the contention-based protocols, where nodes randomly compete for channel access. The second class is the schedule-based MAC protocols, in which nodes access the channel on the basis of the predetermined schedules. We focus on discussing the Time Division Multiple Access (TDMA) protocols and classify different TDMA schedulings into three categories according to the communication patterns in the network, i.e., the link scheduling, aggregate scheduling and non-aggregate scheduling. Link scheduling deals with the peer to peer communication pattern, where there is no central node in the network. In comparison, both the aggregate and non-aggregate schedulings handle the convergecast communication pattern, in which all traffic are destined to the sink. This survey provides a comprehensive overview of these three categories and provided a detailed briefing on how the TDMA schedules handle the network traffic dynamics in the network. Compared with other surveys in this domain, this review does not confine itself to deal with collecting a particular form of data, but provides a unified framework to integrate the data semantics in a broader sense into the design of TDMA scheduling algorithms.