Text this: An adaptive joining mechanism for improving the connection ratio of ZigBee wireless sensor networks.