Details
-
Type:
extRequest
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:IoT
-
HD-Enabler:IDAS
Description
Hello,
I've used the fiware Orion context broker and iotagent-ul in my project .
I registered a virual device by sending a json message carrying the device
attributes , the command attributes , device endpoint address and the used
protocol (UL2.0).
Now when i update the command attribute of the device entity in the context
broker , How can i check that the command is sent to the iotagent
successfully before it is forwarded to the device virtual device itself.
- and can i make the ip address of a Raspberrypi the endpoint itself and
assign a port to a device connected to the raspberrypi . and how could this
be done .
-in case i have no physical device could i consider the iot agent's address
an endpoint to check whether any update on the command attribute in the
context broker will be forwarded to that endpoint ( iotagent in this case)
thanks
Best Regards
Ahmad
[Created via e-mail received from: ahmad essam <ahmad.elsayfy@gmail.com>]
Issue Links
- relates to
-
HELP-8258 [fiware-stackoverflow] checking command from orion to iot agent in Fiware
-
- Closed
-
In case the physical device does not have an address, polling commands could be used. Check the following links for further information:
https://github.com/telefonicaid/iotagent-node-lib#commands
https://github.com/telefonicaid/iotagent-ul/blob/master/docs/usermanual.md#sending-commands
Concerning the status check for commands, whenever a new command has been issued to the IoTAgent, the IoTAgent updates the device entity with a new attribute named "<command-name>_status" that indicate the current status of the command request (i.e.: whether it is pending, has succeeded or has ended up as an error).