From 1fd310d6be023ec584a632e009930c1f3a823fb5 Mon Sep 17 00:00:00 2001 From: Peter Reitinger Date: Thu, 25 Jun 2026 16:31:19 +0200 Subject: [PATCH 1/2] Update BLEFS.md Version characteristic returns 16bit not 32bit as described. --- doc/BLEFS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/BLEFS.md b/doc/BLEFS.md index 5374fd8787..bbf7b110cc 100644 --- a/doc/BLEFS.md +++ b/doc/BLEFS.md @@ -14,7 +14,7 @@ There are two relevant UUIDs in this protocol: the version characteristic, and t UUID: `adaf0100-4669-6c65-5472-616e73666572` -The version characteristic returns the version of the protocol to which the sender adheres. It returns a single unsigned 32-bit integer. The latest version at the time of writing this is 4. +The version characteristic returns the version of the protocol to which the sender adheres. It returns a single unsigned 16-bit integer. The latest version at the time of writing this is 4. ### Transfer From afdaccbadacb6535a1984eed879b3391338bb485 Mon Sep 17 00:00:00 2001 From: Peter Reitinger Date: Fri, 26 Jun 2026 16:19:22 +0200 Subject: [PATCH 2/2] Fix typo in BLEFS.md regarding writing files From copy & paste it was "To continue reading" instead of "To continue writing". --- doc/BLEFS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/BLEFS.md b/doc/BLEFS.md index bbf7b110cc..3f620d7871 100644 --- a/doc/BLEFS.md +++ b/doc/BLEFS.md @@ -71,7 +71,7 @@ To begin writing to a file, a header must first be sent. The header packet shoul - Unsigned 32-bit integer encoding the size of the file that will be sent - File path: UTF-8 encoded string that is _not_ null terminated. -To continue reading the file after this initial packet, the following packet should be sent until all the data has been sent and a response had been received with 0 free space. No close command is required after the data has been received. +To continue writing the file after this initial packet, the following packet should be sent until all the data has been sent and a response had been received with 0 free space. No close command is required after the data has been received. - Command (single byte): `0x22` - Status: `0x01`