Text this: Trade-off between energy efficiency and collisions for MAC protocols of wireless sensor network