diff --git a/docs/common/communication.md b/docs/common/communication.md deleted file mode 100644 index c93505917a..0000000000 --- a/docs/common/communication.md +++ /dev/null @@ -1,5 +0,0 @@ -# Communication - -We use [Protobuf v2](https://developers.google.com/protocol-buffers/) for host-device communication. The communication cycle is very simple, Trezor receives a message, acts on it and responds with another message. Trezor on its own is incapable of initiating the communication. - -The Protobuf definitions can be found in `common/protob`. diff --git a/docs/communication/index.md b/docs/common/communication/index.md similarity index 100% rename from docs/communication/index.md rename to docs/common/communication/index.md diff --git a/docs/communication/passphrase.md b/docs/common/communication/passphrase.md similarity index 89% rename from docs/communication/passphrase.md rename to docs/common/communication/passphrase.md index 8e63915467..064f3f5165 100644 --- a/docs/communication/passphrase.md +++ b/docs/common/communication/passphrase.md @@ -61,4 +61,4 @@ As long as the session_id in `Initialize` is the same as the one Trezor stores i User might want to enforce the passphrase entry on the device every time without the hassle of instructing the Host to do so. -For such cases the user may apply the *Passphrase always on device* setting TODO: Name. As the name suggests, with this setting the passphrase is prompted on the device right away and no PassphraseRequest/PassphraseAck messages are exchanged. +For such cases the user may apply the *Passphrase always on device* setting. As the name suggests, with this setting the passphrase is prompted on the device right away and no PassphraseRequest/PassphraseAck messages are exchanged. Note that the passphrase is prompted only once for given session id. If the user wishes to enter another passphrase they need to either send Initialize(session_id=None) or replug the device. diff --git a/docs/communication/sessions.md b/docs/common/communication/sessions.md similarity index 100% rename from docs/communication/sessions.md rename to docs/common/communication/sessions.md