Evaluation of an Electronically Switched Directional Antenna for Real-world Low-power Wireless Networks