akwizgran created page: TransportApp

akwizgran
2015-04-13 10:03:45 +00:00
parent 5748f71ab5
commit e58ab059cb

24
TransportApp.markdown Normal file

@@ -0,0 +1,24 @@
TransportApp is an application layer protocol that uses [BSP] to synchronise information about how to connect to devices over various transports.
### Message types
TransportApp uses a single message type:
**0: PROPERTIES** - The content consists of a [BDF] list. The first element of the list is a string identifying the transport. The second element is an integer that is incremented whenever the transport properties change. The third element is a dictionary containing the transport properties.
The following transports have been defined:
* bt: Bluetooth RFCOMM
* lan: TCP over local area networks, including Wi-Fi
* tor: Tor hidden services
* file: Removable storage devices
### Storage policy
* The local message with the highest version number for each transport is stored and other versions are deleted
* For each remote device, the remote message with the highest version number for each transport is stored and other versions are deleted
### Sharing policy
* Local messages are shared with all remote devices
* Remote messages are not shared with other remote devices