A IEEE 802.15.4 PHY layer emulator over Ethernet links