Exploiting programmable architectures for WiFi/ZigBee inter-technology cooperation