The Wireless iBeacon Receiver can work as Bluetooth 4.0 receiver. It will scan the iBeacon device nearby and post to the remote server side. The device work as Wi-Fi station status. It will connect the Wi-Fi AP and connect to internet.
Here's a function to calculate the distance of beacon. But it's also not accuracy. It's hard to get the exact distance by RSSI.