<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>misatospring</author_name>
  <author_url>https://blog.hatena.ne.jp/misatospring/</author_url>
  <blog_title>ソースコード日記</blog_title>
  <blog_url>https://tech.misatowater.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Constrained Application Protocol 前回の記事でCoAPのサーバサンプルを書きましたので、今回はクライアントのサンプルコードです。 tech.misatowater.com クライアントからのリクエストと、クライアントからRegistration送信後サーバから定期的に送信されるデータを受信する2パターン作成します。 リクエスト→レスポンスパターン 前回作成したサーバのパス&quot;/Hello&quot;にリクエストし、受信結果（レスポンスコード、オプション、レスポンステキスト）を表示します。 public class CaliforniumClient { public sta…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.misatowater.com%2Fentry%2F2020-08%2FCoAP-Client&quot; title=&quot;CoAP Client サンプルコード (Java) - ソースコード日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-25 00:30:00</published>
  <title>CoAP Client サンプルコード (Java)</title>
  <type>rich</type>
  <url>https://tech.misatowater.com/entry/2020-08/CoAP-Client</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
