0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Nordic nRF9160 DKをはじめよう9~1nceOS編5~nce_lwm2m_demo編

0
Posted at

Nordic nRF9160 DKをはじめよう8~1nceOS編4~nce_coap_demoの続きです。

Nordic nRF9160 DKをはじめよう5~1nceOS編1~を基に初期設定を行います。

nce_lwm2m_demo

nce_lwm2m_demo を選択し Openクリック します。
image.png
+Add build configuratorクリック してビルド設定をします。
image.png
Nordic Kitsチェック を入れ
Board target⇒nrf9160/nrf9160ns を選択
Base configurationprj.conf を選択します。
image.png
image.png

image.png

Unsecureモード

Nordic nRF9160 DKをはじめよう5~1nceOS編1~と同じようにUnsecureモードに変更します。
96・97行目をコメントアウト しICCIDとPSKを使用しない Unsecureモード にします。

CONFIG_LWM2M_DTLS_SUPPORT=n
CONFIG_LWM2M_CLIENT_UTILS_SERVER="coap://lwm2m.os.1nce.com:5683"

image.png
Base Devicetree ovelays,Extra Devicetree ovelaysは以下にしました。
image.png
Generate Build をクリックします。
編集後、Build⇒Flash します。
image.png

1nce OS

Nordic nRF9160 DKをはじめよう6~1nceOS編2~を参考に接続します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?