The Media Access Control (Medium Access Control, MAC layer) implements the functions required by the IEEE802.15.4 specification and is responsible for the interaction with the physical layer. Access to a wireless channel using the CSMA-CA mechanism. His responsibilities include transmitting beacon frames, keeping synchronization, and providing reliable transmission mechanisms