Lines Matching +full:frame +full:- +full:format
17 - **Service UUID**: ``8D53DC1D-1DB7-4CD3-868B-8A527460AA84``
18 - **Characteristic UUID**: ``DA2E7828-FBCE-4E01-AE9E-261174997C48``
38 prefixing each frame with two byte marker and terminating it with newline.
39 Currently MCUmgr imposes a 127 byte limit on frame size, although there
48 Frame fragmenting
52 frame consists of two byte start marker, body and terminating newline
55 There are four types of types of frames: initial, partial, partial-final
56 and initial-final; each frame type differs by start marker and/or body
59 Frame formats
60 -------------
62 Initial frame requires to be followed by optional sequence of partial
63 frames and finally by partial-final frame.
65 MTU - 3, is able to actually carry N = (MTU - 3) / 4 * 3 bytes
68 Body of initial frame is preceded by two byte total packet length,
71 initial frame is N - 2.
73 If a body size is smaller than N - 4, than it is possible to carry
75 frame, here called initial-final; for the description of initial-final
76 frame look below.
78 Initial frame format:
83 +---------------+---------------+---------------------------+
86 | 0x06 0x09 | 2 bytes | Frame start marker |
87 +---------------+---------------+---------------------------+
88 | <base64-i> | no more than | Base64 encoded body |
89 | | MTU - 3 bytes | |
90 +---------------+---------------+---------------------------+
91 | 0x0a | 1 byte | Frame termination |
92 +---------------+---------------+---------------------------+
94 ``<base64-i>`` is Base64 encoded body of format:
99 +---------------+---------------+---------------------------+
102 | total length | 2 bytes | Big endian 16-bit value |
109 +---------------+---------------+---------------------------+
111 | | MTU - 5 | |
112 +---------------+---------------+---------------------------+
114 Initial-final frame format is similar to initial frame format,
115 but differs by ``<base64-i>`` definition.
117 ``<base64-i>`` of initial-final frame, is Base64 encoded data taking
123 +---------------+---------------+---------------------------+
126 | total length | 2 bytes | Big endian 16-bit value |
133 +---------------+---------------+---------------------------+
135 | | MTU - 7 | |
136 +---------------+---------------+---------------------------+
140 +---------------+---------------+---------------------------+
142 Partial frame is continuation after previous initial or other partial
143 frame. Partial frame takes form:
148 +---------------+---------------+---------------------------+
151 | 0x04 0x14 | 2 bytes | Frame start marker |
152 +---------------+---------------+---------------------------+
153 | <base64-i> | no more than | Base64 encoded body |
154 | | MTU - 3 bytes | |
155 +---------------+---------------+---------------------------+
156 | 0x0a | 1 byte | Frame termination |
157 +---------------+---------------+---------------------------+
159 The ``<base64-i>`` of partial frame is Base64 encoding of data,
165 +---------------+---------------+---------------------------+
169 | | MTU - 3 | |
170 +---------------+---------------+---------------------------+
172 The ``<base64-i>`` of partial-final frame is Base64 encoding of data,
178 +---------------+---------------+---------------------------+
182 | | MTU - 5 | |
183 +---------------+---------------+---------------------------+
187 +---------------+---------------+---------------------------+
191 -----------