new feature: only send messages to SWAP network when motes are awake.