diff options
| author | Simon Budig <simon@budig.de> | 2024-02-06 22:54:47 +0100 |
|---|---|---|
| committer | Simon Budig <simon@budig.de> | 2024-02-06 22:54:47 +0100 |
| commit | 864a436a12effd5ac849465c607181de83b76d38 (patch) | |
| tree | 3df56586fca1478a12610da26117b97bca4a5af3 | |
| parent | 1acf6e639d3dc4a3e774b6da862f8a24aca3e152 (diff) | |
BadgeBLE: actually there is no need for an end-of-message package of zeroes
| -rw-r--r-- | BadgeBLE.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/BadgeBLE.md b/BadgeBLE.md index 5e3c473..56778c2 100644 --- a/BadgeBLE.md +++ b/BadgeBLE.md @@ -25,8 +25,7 @@ The badge supports up to 8 bitmaps which can have various features enabled. | uint8[4] | padding | 4 bytes zeroes of padding | uint8[16] | separator | zeroes to separate header from bitmap data | | uint8[11]\*N | bitmapdata | image data for all bitmaps. Each bitmap consists of a number of 11 byte chunks describing an 8x11 bitmap, each byte describes 8 pixels, starting with the most significant bit. The number of chunks is listed in the "sizes" fields above, N = sum(sizes). | -| uint8[?] | padding | the last 16-byte block of bitmap data is padded with zeroes. | -| uint8[16] | end-of-message | the last write to the characteristic is just zeroes. | +| uint8[?] | padding | the last 16-byte block of bitmap data is padded with zeroes if necessary. | #### Modes |