@@ -36,9 +36,9 @@ The tutorial uses [cUrl](https://ec.haxx.se/) commands throughout, but is also a
3636- [ Start Up] ( #start-up )
3737- [ Provisioning an IoT Agent (UltraLight over MQTT)] ( #provisioning-an-iot-agent-ultralight-over-mqtt )
3838 - [ Checking Mosquitto Health] ( #checking-mosquitto-health )
39- - [ Start an MQTT Subscriber (: one : st Terminal)] ( #start-an-mqtt-subscriber-onest-terminal )
40- - [ Start an MQTT Publisher (: two : nd Terminal)] ( #start-an-mqtt-publisher-twond-terminal )
41- - [ Stop an MQTT Subscriber (: one : st Terminal)] ( #stop-an-mqtt-subscriber-onest-terminal )
39+ - [ Start an MQTT Subscriber (1️⃣st Terminal)] ( #start-an-mqtt-subscriber-onest-terminal )
40+ - [ Start an MQTT Publisher (2️⃣nd Terminal)] ( #start-an-mqtt-publisher-twond-terminal )
41+ - [ Stop an MQTT Subscriber (1️⃣st Terminal)] ( #stop-an-mqtt-subscriber-onest-terminal )
4242 - [ Show Mosquitto Log] ( #show-mosquitto-log )
4343 - [ Checking the IoT Agent Service Health] ( #checking-the-iot-agent-service-health )
4444 - [ Connecting IoT Devices] ( #connecting-iot-devices )
@@ -363,7 +363,7 @@ The device monitor can be found at: `http://localhost:3000/device/monitor`
363363We will start by mimicking the roles of both the IoT Agent and a dummy IoT device and send and receive some messages
364364using MQTT. This section of the tutorial requires several open terminals.
365365
366- # ## Start an MQTT Subscriber (:one:st Terminal)
366+ # ## Start an MQTT Subscriber (1️⃣st Terminal)
367367
368368Eventually once we have wired by the system correctly, IoT Agent will subscribe to all relevant events to listen for
369369northbound traffic in the form of sensor measurements. It therefore will need to make a subscription across all topics.
@@ -383,7 +383,7 @@ The terminal will then be ready to receive events
383383> **Note:** There is no change on whilst running this command. The on screen output will only respond once you have
384384> completed the next step.
385385
386- # ## Start an MQTT Publisher (:two:nd Terminal)
386+ # ## Start an MQTT Publisher (2️⃣nd Terminal)
387387
388388A sensor sending northbound measurements will publish to those measurements to the MQTT Broker to be passed on to any
389389subscriber than wants them. The sensor will not need to make a connection to the subscriber directly.
@@ -395,15 +395,15 @@ docker run -it --rm --name mqtt-publisher \
395395 --network fiware_default efrecon/mqtt-client pub -h mosquitto -m "HELLO WORLD" -t "/test"
396396` ` `
397397
398- # ### :one:st terminal - Result:
398+ # ### 1️⃣st terminal - Result:
399399
400400If the MQTT Broker is functioning correctly, the message should be received in the other terminal
401401
402402```
403403HELLO WORLD
404404```
405405
406- ### Stop an MQTT Subscriber (:two:nd Terminal)
406+ ### Stop an MQTT Subscriber (2️⃣nd Terminal)
407407
408408To terminate the MQTT subscriber, run the following Docker command:
409409
@@ -439,7 +439,7 @@ docker logs --tail 10 mosquitto
439439
440440You can check if the IoT Agent is running by making an HTTP request to the exposed port:
441441
442- #### : one : Request:
442+ #### 1️⃣ Request:
443443
444444``` console
445445curl -X GET \
@@ -541,7 +541,7 @@ The `resource` attribute is left blank since HTTP communication is not being use
541541optional attribute - if it is not provided, the IoT Agent uses the default context broker URL as defined in the
542542configuration file, however it has been added here for completeness.
543543
544- #### :two: Request:
544+ #### 2️⃣ Request:
545545
546546```console
547547curl -iX POST \
@@ -578,7 +578,7 @@ Three types of measurement attributes can be provisioned:
578578> ** Note** : in the case where individual ` id ` s are not required, or aggregated data is sufficient the ` attributes ` can
579579> be defined within the provisioning service rather than individually.
580580
581- #### : three : Request:
581+ #### 3️⃣ Request:
582582
583583``` console
584584curl -iX POST \
@@ -617,7 +617,7 @@ should subscribe to the `/<api-key>/<device-id>` **topic** to receive measuremen
617617You can simulate a dummy IoT device measurement coming from the ** Motion Sensor** device ` motion001 ` , by posting an MQTT
618618message to the following ** topic**
619619
620- #### : four : MQTT Request:
620+ #### 4️⃣ MQTT Request:
621621
622622``` console
623623docker run -it --rm --name mqtt-publisher --network \
@@ -652,7 +652,7 @@ raising a request with the Orion Context Broker.
652652You can see that a measurement has been recorded by retrieving the entity data from the context broker. Don't forget to
653653add the ` fiware-service ` and ` fiware-service-path ` headers.
654654
655- #### : five : Request:
655+ #### 5️⃣ Request:
656656
657657``` console
658658curl -X GET \
@@ -701,7 +701,7 @@ device is listening for commands. The array of commands is mapped to directly to
701701
702702The example below provisions a bell with the ` deviceId=bell001 ` .
703703
704- #### : six : Request:
704+ #### 6️⃣ Request:
705705
706706``` console
707707curl -iX POST \
@@ -735,7 +735,7 @@ REST request directly to the IoT Agent's North Port using the `/v2/op/update` en
735735eventually be invoked by the context broker once we have connected it up. To test the configuration you can run the
736736command directly as shown:
737737
738- #### : seven : Request:
738+ #### 7️⃣ Request:
739739
740740``` console
741741curl -iX POST \
@@ -764,7 +764,7 @@ If you are viewing the device monitor page, you can also see the state of the be
764764
765765The result of the command to ring the bell can be read by querying the entity within the Orion Context Broker.
766766
767- #### : eight : Request:
767+ #### 8️⃣ Request:
768768
769769``` console
770770curl -X GET \
@@ -797,7 +797,7 @@ both `attributes` and `command` attributes in the body of the request. Once agai
797797the communications protocol to be used, and no ` endpoint ` attribute is required as there is no HTTP URL where the device
798798is listening for commands.
799799
800- #### : nine : Request:
800+ #### 9️⃣ Request:
801801
802802``` console
803803curl -iX POST \
@@ -836,7 +836,7 @@ curl -iX POST \
836836
837837Similarly, a ** Smart Lamp** with two commands (` on ` and ` off ` ) and two attributes can be provisioned as follows:
838838
839- #### : one :: zero : Request:
839+ #### 1️⃣0️⃣ Request:
840840
841841``` console
842842curl -iX POST \
@@ -872,7 +872,7 @@ curl -iX POST \
872872
873873The full list of provisioned devices can be obtained by making a GET request to the ` /iot/devices ` endpoint.
874874
875- #### : one :: one : Request:
875+ #### 1️⃣1️⃣ Request:
876876
877877``` console
878878curl -X GET \
@@ -903,7 +903,7 @@ Therefore this section of registering and invoking commands **duplicates** the i
903903
904904To invoke the ` ring ` command, the ` ring ` attribute must be updated in the context.
905905
906- #### : one :: two : Request:
906+ #### 1️⃣2️⃣ Request:
907907
908908``` console
909909curl -iX PATCH \
@@ -927,7 +927,7 @@ If you are viewing the device monitor page, you can also see the state of the be
927927
928928To invoke the ` open ` command, the ` open ` attribute must be updated in the context.
929929
930- #### : one :: three : Request:
930+ #### 1️⃣3️⃣ Request:
931931
932932``` console
933933curl -iX PATCH \
@@ -947,7 +947,7 @@ curl -iX PATCH \
947947
948948To switch on the ** Smart Lamp** , the ` on ` attribute must be updated in the context.
949949
950- #### : one :: four : Request:
950+ #### 1️⃣4️⃣ Request:
951951
952952``` console
953953curl -iX PATCH \
0 commit comments