<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>licheng</author_name>
  <author_url>https://blog.hatena.ne.jp/licheng/</author_url>
  <blog_title>滴了庵日録</blog_title>
  <blog_url>https://lipoyang.hatenablog.com/</blog_url>
  <categories>
    <anon>組み込み系</anon>
    <anon>IoT</anon>
  </categories>
  <description>今さらですが、BLEの最大データサイズって (BLE4.2以降のデータ長拡張は別として) 何バイトでしょう？ 27バイト？ 23バイト？ 22バイト？ 20バイト？資料によってまちまちで混乱しませんか？ 中には「20バイト程度」とかボカして書かれてたり。これ、図解すると下図のようになります。27バイトというのはLLのペイロードの最大サイズ、23バイトというのはL2CAPのペイロードの最大サイズ、22バイトや20バイトというのはATTのペイロードの最大サイズです。BLEもEthernetとかと同様に何段にもプロトコルが積み重なってるので、上にいくほどヘッダが削ぎ落されてペイロードが小さくなってい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flipoyang.hatenablog.com%2Fentry%2F2020%2F06%2F09%2F101819&quot; title=&quot;BLEの最大データサイズ？ - 滴了庵日録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/l/licheng/20200609/20200609094836.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-06-09 10:18:19</published>
  <title>BLEの最大データサイズ？</title>
  <type>rich</type>
  <url>https://lipoyang.hatenablog.com/entry/2020/06/09/101819</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
