To use:
Run Bluetooth Wifi on two separate devices click the WiFi button on both of them.
Once this is done, you will be asked to accept the invitation to WiFI Direct from one of the devices. The receiver in a single-hop connection should click "Receive" in order to begin listening for connections. The sender in a single-hop connection should click "Send Data" once the receiver is ready to receive.
When the receiver wants to forward to device C, he should click "Button", which forwards the packet over the internet Device C (also running Bluetooth Wifi) clicks receive in order to begin listening for connections, and should receive the packet that was sent.