Methods of establishing communication in a sensor network, and apparatus thereof