Skip to content

Commit 7071fdf

Browse files
committed
Add notes
1 parent 3392029 commit 7071fdf

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

README.ja.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ Bash スクリプトを実行することによって、コマンドラインか
490490
公開されたポートに HTTP リクエストを行うことで、IoT Agent が実行されているか
491491
どうかを確認できます。
492492

493-
#### :one: リクエスト:
493+
#### 1️⃣ リクエスト:
494494

495495
```console
496496
curl -X GET \
@@ -594,7 +594,7 @@ IoT Agent は提供された `<device-id>` を使用してこれをコンテキ
594594
一連のデバイスが `IOTA_HTTP_PORT` (IoT Agent が **Northbound **通信を
595595
リッスンしているポート) にメッセージを送信することを伝えます。
596596

597-
#### :two: リクエスト:
597+
#### 2️⃣ リクエスト:
598598

599599
```console
600600
curl -iX POST \
@@ -657,7 +657,7 @@ NGSI-LD [仕様](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.07.01_6
657657
> **注**: 個々の `id` が不要な場合、または集約データで十分な場合、
658658
> `attributes` は個別ではなくプロビジョニング・サービス内で定義できます
659659
660-
#### :three: リクエスト:
660+
#### 3️⃣ リクエスト:
661661
662662
```console
663663
curl -iX POST \
@@ -713,7 +713,7 @@ curl -iX POST \
713713
次のリクエストを行うことで、**Motion Sensor** デバイス `motion001` からの
714714
ダミー IoT デバイスの測定値をシミュレートできます。
715715

716-
#### :four: リクエスト:
716+
#### 4️⃣ リクエスト:
717717

718718
```console
719719
curl -iX POST \
@@ -739,7 +739,7 @@ Context Broker からエンティティのデータを取得することで、
739739
ことを確認できます。`fiware-service``fiware-service-path` ヘッダを
740740
追加することを忘れないでください。
741741

742-
#### :five: リクエスト:
742+
#### 5️⃣ リクエスト:
743743

744744
```console
745745
curl -X GET \
@@ -804,7 +804,7 @@ curl -X GET \
804804
`http://iot-sensors:3001/iot/bell001` であり、`ring` コマンドを受け入れる
805805
ことができます。`transport=HTTP` 属性は、使用される通信プロトコルを定義します。
806806

807-
#### :six: リクエスト:
807+
#### 6️⃣ リクエスト:
808808

809809
```console
810810
curl -iX POST \
@@ -838,7 +838,7 @@ IoT Agent のノースポートに直接 REST リクエストを行うことで
838838
Context Broker によって最終的に呼び出されます。設定をテストするには、次のよう
839839
にコマンドを直接実行できます:
840840

841-
#### :seven: リクエスト:
841+
#### 7️⃣ リクエスト:
842842

843843
```console
844844
curl -iX POST \
@@ -868,7 +868,7 @@ curl -iX POST \
868868
ベルを鳴らすコマンドの結果は、Orion Context Broker 内のエンティティをクエリ
869869
することで読み取ることができます。
870870

871-
#### :eight: リクエスト:
871+
#### 8️⃣ リクエスト:
872872

873873
```console
874874
curl -X GET \
@@ -906,7 +906,7 @@ IoT Agent 自体に委任されます。コマンドと測定値の両方を提
906906
プロビジョニングは、リクエストの本文に `attributes``command` の両方の属性
907907
を指定して HTTP POST リクエストを行うだけです。
908908

909-
#### :nine: リクエスト:
909+
#### 9️⃣ リクエスト:
910910

911911
```console
912912
curl -iX POST \
@@ -947,7 +947,7 @@ curl -iX POST \
947947
同様に、2つのコマンド (`on``off`) と2つの属性を持つ**Smart Lamp**
948948
は、次のようにプロビジョニングできます。
949949

950-
#### :one::zero: リクエスト:
950+
#### 1️⃣0️⃣ リクエスト:
951951

952952
```console
953953
curl -iX POST \
@@ -983,7 +983,7 @@ curl -iX POST \
983983
プロビジョニングされたデバイスの完全なリストは、`/iot/devices`
984984
エンドポイントに GET リクエストを行うことで取得できます。
985985

986-
#### :one::one: リクエスト:
986+
#### 1️⃣1️⃣ リクエスト:
987987

988988
```console
989989
curl -X GET \
@@ -1023,7 +1023,7 @@ IoT Agent のノース・ポートを出入りするすべての通信は、標
10231023
`ring` コマンドを呼び出すには、コンテキストで` ring` 属性を更新する必要が
10241024
あります。
10251025

1026-
#### :one::two: リクエスト:
1026+
#### 1️⃣2️⃣ リクエスト:
10271027

10281028
```console
10291029
curl -iX PATCH \
@@ -1050,7 +1050,7 @@ curl -iX PATCH \
10501050
`open` コマンドを呼び出すには、コンテキストで `open` 属性を更新する必要が
10511051
あります。
10521052

1053-
#### :one::three: リクエスト:
1053+
#### 1️⃣3️⃣ リクエスト:
10541054

10551055
```console
10561056
curl -iX PATCH \
@@ -1072,7 +1072,7 @@ curl -iX PATCH \
10721072
**Smart Lamp** をオンにするには、コンテキストで `on` 属性を更新する必要が
10731073
あります。
10741074

1075-
#### :one::four: リクエスト:
1075+
#### 1️⃣4️⃣ リクエスト:
10761076

10771077
```console
10781078
curl -iX PATCH \

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ The device monitor can be found at: `http://localhost:3000/device/monitor`
408408

409409
You can check if the IoT Agent is running by making an HTTP request to the exposed port:
410410

411-
#### :one: Request:
411+
#### 1️⃣ Request:
412412

413413
```console
414414
curl -X GET \
@@ -494,7 +494,7 @@ within this tutorial as we will be provisioning each device separately.
494494
This example provisions an anonymous group of devices. It tells the IoT Agent that a series of devices will be sending
495495
messages to the `IOTA_HTTP_PORT` (where the IoT Agent is listening for **Northbound** communications)
496496

497-
#### :two: Request:
497+
#### 2️⃣ Request:
498498

499499
```console
500500
curl -iX POST \
@@ -549,7 +549,7 @@ Three types of measurement attributes can be provisioned:
549549
> **Note**: in the case where individual `id`s are not required, or aggregated data is sufficient the `attributes` can
550550
> be defined within the provisioning service rather than individually.
551551

552-
#### :three: Request:
552+
#### 3️⃣ Request:
553553

554554
```console
555555
curl -iX POST \
@@ -604,7 +604,7 @@ reading `c` with the context attribute `count` (which is defined as an `Integer`
604604
You can simulate a dummy IoT device measurement coming from the **Motion Sensor** device `motion001`, by making the
605605
following request
606606

607-
#### :four: Request:
607+
#### 4️⃣ Request:
608608

609609
```console
610610
curl -iX POST \
@@ -627,7 +627,7 @@ raising a request with the Orion Context Broker.
627627
You can see that a measurement has been recorded, by retrieving the entity data from the context broker. Don't forget to
628628
add the `fiware-service` and `fiware-service-path` headers.
629629

630-
#### :five: Request:
630+
#### 5️⃣ Request:
631631

632632
```console
633633
curl -X GET \
@@ -686,7 +686,7 @@ invoked. The example below provisions a bell with the `deviceId=bell001`. The en
686686
`http://iot-sensors:3001/iot/bell001` and it can accept the `ring` command. The `transport=HTTP` attribute defines the
687687
communications protocol to be used.
688688

689-
#### :six: Request:
689+
#### 6️⃣ Request:
690690

691691
```console
692692
curl -iX POST \
@@ -719,7 +719,7 @@ directly to the IoT Agent's North Port using the `/v2/op/update` endpoint. It is
719719
invoked by the context broker once we have connected it up. To test the configuration you can run the command directly
720720
as shown:
721721

722-
#### :seven: Request:
722+
#### 7️⃣ Request:
723723

724724
```console
725725
curl -iX POST \
@@ -748,7 +748,7 @@ If you are viewing the device monitor page, you can also see the state of the be
748748

749749
The result of the command to ring the bell can be read by querying the entity within the Orion Context Broker.
750750

751-
#### :eight: Request:
751+
#### 8️⃣ Request:
752752

753753
```console
754754
curl -X GET \
@@ -782,7 +782,7 @@ parsing NGSI to JSON is delegated to the IoT Agent itself. Provisioning a device
782782
measurements is merely a matter of making an HTTP POST request with both `attributes` and `command` attributes in the
783783
body of the request.
784784

785-
#### :nine: Request:
785+
#### 9️⃣ Request:
786786

787787
```console
788788
curl -iX POST \
@@ -820,7 +820,7 @@ curl -iX POST \
820820

821821
Similarly, a **Smart Lamp** with two commands (`on` and `off`) and two attributes can be provisioned as follows:
822822

823-
#### :one::zero: Request:
823+
#### 1️⃣0️⃣ Request:
824824

825825
```console
826826
curl -iX POST \
@@ -855,7 +855,7 @@ curl -iX POST \
855855

856856
The full list of provisioned devices can be obtained by making a GET request to the `/iot/devices` endpoint.
857857

858-
#### :one::one: Request:
858+
#### 1️⃣1️⃣ Request:
859859

860860
```console
861861
curl -X GET \
@@ -886,7 +886,7 @@ Therefore this section of registering and invoking commands **duplicates** the i
886886

887887
To invoke the `ring` command, the `ring` attribute must be updated in the context.
888888

889-
#### :one::two: Request:
889+
#### 1️⃣2️⃣ Request:
890890

891891
```console
892892
curl -iX PATCH \
@@ -910,7 +910,7 @@ If you are viewing the device monitor page, you can also see the state of the be
910910

911911
To invoke the `open` command, the `open` attribute must be updated in the context.
912912

913-
#### :one::three: Request:
913+
#### 1️⃣3️⃣ Request:
914914

915915
```console
916916
curl -iX PATCH \
@@ -930,7 +930,7 @@ curl -iX PATCH \
930930

931931
To switch on the **Smart Lamp**, the `on` attribute must be updated in the context.
932932

933-
#### :one::four: Request:
933+
#### 1️⃣4️⃣ Request:
934934

935935
```console
936936
curl -iX PATCH \

0 commit comments

Comments
 (0)