Skip to content

Commit c0af9cb

Browse files
committed
Update readme from dan and jeff feedback
1 parent 8913e9a commit c0af9cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The base UUID used in characteristics is `ADAFxxxx-4669-6C65-5472-616E73666572`.
8888
The service has two characteristics:
8989

9090
* version (`0x0100`) - Simple unsigned 32-bit integer version number. Always 1.
91-
* raw transfer (`0x0200`) - Bidirectional link with a custom protocol. The client does WRITE_NO_RESPONSE to the characteristic and then server replies via NOTIFY. (This is similar to the Nordic UART Service but on a single characteristic rather than two.) The commands over the transfer characteristic are idepotent and stateless. A disconnect during a command will reset the state.
91+
* raw transfer (`0x0200`) - Bidirectional link with a custom protocol. The client does WRITE_NO_RESPONSE to the characteristic and then server replies via NOTIFY. (This is similar to the Nordic UART Service but on a single characteristic rather than two.) The commands over the transfer characteristic are idempotent and stateless. A disconnect during a command will reset the state.
9292

9393
Commands
9494
---------
@@ -161,7 +161,7 @@ The header is two fixed entries and a variable length path:
161161

162162
The server will reply with:
163163
* Command: Single byte. Always `0x03`.
164-
* Status: Single byte. `0x81` if the file or directory was deleted or `0x82` if the path is a non-empty directory or non-existant.
164+
* Status: Single byte. `0x81` if the file or directory was deleted or `0x82` if the path is a non-empty directory or non-existent.
165165

166166
`0x04` - Make a directory
167167
+++++++++++++++++++++++++
@@ -197,7 +197,7 @@ The server will reply with n+1 entries for a directory with n files:
197197
* Flags: 8-bit number encoding data about the entries per-bit. Bit
198198
* Bit 0: Set when the entry is a directory
199199
* Bits 1-7: Reserved
200-
* File size: 32-bit number encoding the size of the file. 0 for directories.
200+
* File size: 32-bit number encoding the size of the file. Ignore for directories. Value may change.
201201
* Path length: 16-bit number encoding the encoded length of the path string.
202202
* Path: UTF-8 encoded string that is *not* null terminated. (We send the length instead.) These paths are relative so they won't contain `/` at all.
203203

0 commit comments

Comments
 (0)