Technical Communication: Angle-of-arrival localization based on antenna arrays for wireless sensor networks