From e58ab059cb93ac57639d78a38cd9d8dbaeffc536 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Mon, 13 Apr 2015 10:03:45 +0000 Subject: [PATCH] akwizgran created page: TransportApp --- TransportApp.markdown | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 TransportApp.markdown diff --git a/TransportApp.markdown b/TransportApp.markdown new file mode 100644 index 0000000..0004040 --- /dev/null +++ b/TransportApp.markdown @@ -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