Skip to content

Commit

Permalink
Add Notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Dec 18, 2023
1 parent 403389a commit 28b8108
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ cUrl コマンドを入力する前にオーディオを有効にしてくださ
この例は、実際の IoT Agent がコマンドをアクチュエータに送信する方法を示しています。**Irrigation System** は、
エンドポイント `/iot/water001` を提供し、コマンドを待機しています。

#### :one: リクエスト:
#### 1️⃣ リクエスト:

```console
curl -iX POST 'localhost:3001/iot/water001' \
Expand Down Expand Up @@ -420,7 +420,7 @@ urn:ngsi-ld:Device:water001@on| on OK
この例は、irrigation system をオフにする方法を示しています。この場合、デバイスは単一のエンドポイントから
複数のコマンドをリッスンし、ペイロード・ボディを解釈します。
#### :two: リクエスト:
#### 2️⃣ リクエスト:
```console
curl -L -X POST 'localhost:3001/iot/water001' \
Expand Down Expand Up @@ -457,7 +457,7 @@ Tractor のダッシュボードの **FMIS System** は、アクチュエータ
移行する方法を示しています。**Tractor** 自体を備えたユニットは、コマンドを待機するエンドポイント `/iot/tractor001`
をすでに提供しています。

#### :three: リクエスト:
#### 3️⃣ リクエスト:

```console
curl -iX POST \
Expand Down Expand Up @@ -486,7 +486,7 @@ Tractor が作動すると、内部 GPS が動きを検出するかどうかに
この例は、実際の IoT Agent が Ultralight コマンドを **Tractor** FMIS に送信して、車両をアイドル状態に戻す方法を
示しています。**Tractor** はすでにエンドポイント `/iot/tractor001` を提供していて、コマンドを待機しています。

#### :four: リクエスト:
#### 4️⃣ リクエスト:

```console
curl -iX POST \
Expand All @@ -510,7 +510,7 @@ urn:ngsi-ld:Device:tractor001@stop| stop OK

**Tractor** を再びオンにするには、次のコマンドを繰り返します:

#### :five: リクエスト:
#### 5️⃣ リクエスト:

```console
curl -iX POST \
Expand Down Expand Up @@ -542,7 +542,7 @@ urn:ngsi-ld:Device:tractor001@start| start OK
この例は、実際の IoT Agent が Ultralight コマンドを **Filling Station** に送信して、納屋から干し草を取り除く方法を
示しています。**Filling Station** は、すでにエンドポイント `/iot/filling001` を提供していて、コマンドを待機しています。

#### :five: リクエスト:
#### 5️⃣ リクエスト:

```console
curl -iX POST \
Expand Down Expand Up @@ -581,7 +581,7 @@ urn:ngsi-ld:Device:filling001@remove| remove OK
以前にプロビジョニングされたリソース `iot/d` へのリクエストは UltraLight 2.0 形式であり、デバイスの `humidity`
(湿度) を識別し、既知の API キーを渡します。

#### :six: リクエスト:
#### 6️⃣ リクエスト:

```console
curl -L -X POST 'http://localhost:7896/iot/d?k=4jggokgpepnvsb2uv4s40d59ov&i=humidity001' \
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ git checkout NGSI-LD
This command will also import seed data from the previous
[Farm Management example](https://github.com/FIWARE/tutorials.Context-Providers) on startup.

> :information_source: **Note:** If you want to clean up and start over again you can do so with the following command:
> [!NOTE]
> If you want to clean up and start over again you can do so with the following command:
>
> ```console
> ./services stop
Expand Down Expand Up @@ -360,7 +361,7 @@ not supply any measurements from the real world.
This example shows how a real IoT Agent would send commands to an actuator. The **Irrigation System** has supplied an
endpoint `/iot/water001` where it is listening for commands.

#### :one: Request:
#### 1️⃣ Request:

```console
curl -iX POST 'localhost:3001/iot/water001' \
Expand Down Expand Up @@ -388,7 +389,7 @@ If you are viewing the device monitor page, you can see the state of the water s
This example shows how to turn off the irrigation system. In this case, the device is also listening for multiple
commands off a single endpoint and interpreting the payload body.
#### :two: Request:
#### 2️⃣ Request:
```console
curl -L -X POST 'localhost:3001/iot/water001' \
Expand Down Expand Up @@ -419,7 +420,7 @@ This example shows how a real IoT Agent would send an Ultralight command to a **
to an active state. The unit with the **Tractor** itself has already supplied an endpoint `/iot/tractor001` where it is
listening for commands.

#### :three: Request:
#### 3️⃣ Request:

```console
curl -iX POST \
Expand Down Expand Up @@ -447,7 +448,7 @@ monitor page.
This example shows how a real IoT Agent would send an Ultralight command to a **Tractor** FMIS to return the vehicle to
an idle state. The **Tractor** has already supplied an endpoint `/iot/tractor001` where it is listening for commands.

#### :four: Request:
#### 4️⃣ Request:

```console
curl -iX POST \
Expand All @@ -471,7 +472,7 @@ Once the lamp is switched off the gps location does not alter. The latest Ultral

To turn the **Tractor** back on again repeat the following command:

#### :five: Request:
#### 5️⃣ Request:

```console
curl -iX POST \
Expand Down Expand Up @@ -499,7 +500,7 @@ Measurements will be sent to the IoT Agent as the state changes.
This example shows how a real IoT Agent would send an Ultralight command to a **Filling Station** to unload the barn.
The **Filling Station** has already supplied an endpoint `/iot/filling001` where it is listening for commands.

#### :five: Request:
#### 5️⃣ Request:

```console
curl -iX POST \
Expand Down Expand Up @@ -537,7 +538,7 @@ This example simulates a request coming from the device `humidity001`
The request to the previously provisioned resource `iot/d` is in UltraLight 2.0 format and identifies the device
`humidity` and passes a known API key.

#### :six: Request:
#### 6️⃣ Request:

```console
curl -L -X POST 'http://localhost:7896/iot/d?k=4jggokgpepnvsb2uv4s40d59ov&i=humidity001' \
Expand Down

0 comments on commit 28b8108

Please sign in to comment.