This device has 2 topics underneath it. I need to define this device with multiple topics using Fiware-IoTAgent. How can I configure Fiware-IoTAgent to handle a device with multiple topics like this?
<code>test:CD99{
ENV
Data ={
"OT_LOW_BUFF_RESET_CNT": 0,
"COAP_AA": 0,
"NRFX_AA": 28,
}
RSSI
Data={
{
"DA1C1C": "-37",
"000000": "0"
}
}
</code>
<code>test:CD99{
ENV
Data ={
"OT_LOW_BUFF_RESET_CNT": 0,
"COAP_AA": 0,
"NRFX_AA": 28,
}
RSSI
Data={
{
"DA1C1C": "-37",
"000000": "0"
}
}
</code>
test:CD99{
ENV
Data ={
"OT_LOW_BUFF_RESET_CNT": 0,
"COAP_AA": 0,
"NRFX_AA": 28,
}
RSSI
Data={
{
"DA1C1C": "-37",
"000000": "0"
}
}
The curl I prepared to create the device is as follows:
<code>curl --location 'http://192.168.2.205:4041/iot/devices'
--header 'fiware-service: acd'
--header 'fiware-servicepath: /pa/DEVICE31'
--header 'Content-Type: application/json'
--data '{
"devices": [
{
"device_id": "PA_DEVICE31",
"entity_name": "PA_DEVICE31",
"entity_type": "pa",
"transport": "HTTP",
"timezone": "Europe/Istanbul",
"attributes": [
{ "object_id": "Voltage_UL1_N", "name":"Voltage_UL1_N", "type":"Double"}
],
"static_attributes": [
{"name":"refStore", "type": "Relationship","value": "urn:ngsi-ld:pa_device31:001"}
],
"explicitAttrs": true
}
]
}'
</code>
<code>curl --location 'http://192.168.2.205:4041/iot/devices'
--header 'fiware-service: acd'
--header 'fiware-servicepath: /pa/DEVICE31'
--header 'Content-Type: application/json'
--data '{
"devices": [
{
"device_id": "PA_DEVICE31",
"entity_name": "PA_DEVICE31",
"entity_type": "pa",
"transport": "HTTP",
"timezone": "Europe/Istanbul",
"attributes": [
{ "object_id": "Voltage_UL1_N", "name":"Voltage_UL1_N", "type":"Double"}
],
"static_attributes": [
{"name":"refStore", "type": "Relationship","value": "urn:ngsi-ld:pa_device31:001"}
],
"explicitAttrs": true
}
]
}'
</code>
curl --location 'http://192.168.2.205:4041/iot/devices'
--header 'fiware-service: acd'
--header 'fiware-servicepath: /pa/DEVICE31'
--header 'Content-Type: application/json'
--data '{
"devices": [
{
"device_id": "PA_DEVICE31",
"entity_name": "PA_DEVICE31",
"entity_type": "pa",
"transport": "HTTP",
"timezone": "Europe/Istanbul",
"attributes": [
{ "object_id": "Voltage_UL1_N", "name":"Voltage_UL1_N", "type":"Double"}
],
"static_attributes": [
{"name":"refStore", "type": "Relationship","value": "urn:ngsi-ld:pa_device31:001"}
],
"explicitAttrs": true
}
]
}'
How do I configure this curl to listen for multiple threads for one device?