<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomo_watanabe</author_name>
  <author_url>https://blog.hatena.ne.jp/tomo_watanabe/</author_url>
  <blog_title>人と技術のマッシュアップ</blog_title>
  <blog_url>https://tomowatanabe.hatenablog.com/</blog_url>
  <categories>
    <anon>MQTT</anon>
  </categories>
  <description>久々にMQTTブローカーサーバ使ってたら、mosquittoがMQTTとWebSocketに対応していたのでメモ 何が嬉しいか 今まではMQTTとWebSocketをバインドするためにNode.jsなどを使い、MQTTからWebSocketへ変換していました。例えばこんな感じに。 まぁこの頃はSocket.IOとか使ってたので、すでに古いのですが・・・ // WebSocket -&gt; MQTT io.sockets.on('connection', function(socket) { socket.on('message', function(data) { // MQTTで送信 clien…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomowatanabe.hatenablog.com%2Fentry%2F2016%2F01%2F21%2F095007&quot; title=&quot;mosquittoでMQTTとWebSocket両方に対応させる - 人と技術のマッシュアップ&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>http://cdn-ak.f.st-hatena.com/images/fotolife/t/tomo_watanabe/20141031/20141031152141.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-21 09:50:07</published>
  <title>mosquittoでMQTTとWebSocket両方に対応させる</title>
  <type>rich</type>
  <url>https://tomowatanabe.hatenablog.com/entry/2016/01/21/095007</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
