The BASTION app
Peer-to-peer sharing
Pass content straight from one device to another, with no server.
What it's for
Peer-to-peer sharing sends content directly from one BASTION device to another. It needs no server and no internet.
On a personal device it is also the only way to pass your own content to someone else, because a personal device does not upload content to a server.
Before you start
- Both devices need the Network Gate armed, because hosting and joining both transmit. See Syncing.
- Both devices need to be on the same network. That can be the same Wi-Fi, or one device's hotspot with the other joined to it.
Open Sync, then PEER-TO-PEER SHARING, then Open Peer-to-Peer Sharing.
Use the Same network mode. The other mode, Wi-Fi Direct, is experimental and unreliable on many phones.
On the device that shares
- Choose Host a session.
- Choose what to share, then Share selected or Share all.
- When the screen says Ready — peers can join and pull, it shows a 6-digit code. Read the code to the other person.
The screen stays awake while you host. It also shows this device's IP address, in case the other device can't find it by itself.
On the device that receives
- Choose Join a session.
- Pick the host under Hosts on this network. If it isn't listed, choose Connect by IP instead and type the address the host shows.
- Enter the host's 6-digit code.
- Choose Pull content.
Progress shows the count, the percentage and the time left. A file that fails is skipped and reported; the rest carry on.
If you pull from the same host again, only what's new is transferred.
How it's protected
The link between the two devices is encrypted, and the 6-digit code confirms each device is talking to the right one.