[
{
"address": "00000000-0000-0000-0000-000000000000",
"name": "TCTGateway",
"class": "cls:Gateway",
"functions": [
{
"type": "BasicFunction",
"id": "fBasicFunction",
"assetId": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.439636Z",
"value": "SetByCertificationToolForTestPurpose"
},
"serial": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.439779Z",
"value": "SetByCertificationToolForTestPurpose"
},
"hwType": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.439895Z",
"value": "SetByCertificationToolForTestPurpose"
},
"swVersion": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.438286Z",
"value": "SetByCertificationToolForTestPurpose"
},
"timeZone": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.440045Z",
"value": "Europe/Madrid"
},
"location": {
"type": "AttributeLocation",
"timestamp": "2024-10-03T11:54:27.441087Z",
"value": {
"latitude": -90,
"longitude": 180,
"altitude": -430
}
}
},
{
"type": "CommunicationFunction",
"id": "fCommunicationFunction",
"physicalAddress": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.440239Z",
"value": "b0:76:8d:28:39:c0"
},
"parentAddress": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.440502Z",
"value": "00000000-0000-0000-0000-000000000000/fCommunicationFunction"
}
},
{
"type": "GatewayFunction",
"cmsUri": {
"type": "AttributeUri",
"timestamp": "2024-10-03T11:54:27.440576Z",
"value": "https://iothub-app-homol.whiteisland-d9d6c2f4.brazilsouth.azurecontainerapps.io/talq/"
},
"cmsAddress": null,
"gatewayUri": {
"type": "AttributeUri",
"timestamp": "2024-10-03T11:54:27.440611Z",
"value": "https://api.exati.talq-cert-tool.org:2543/talq.cms"
},
"gatewayAddress": null,
"retryPeriod": {
"type": "AttributeFloat",
"timestamp": "2024-10-03T11:54:27.440597Z",
"value": 10.0
},
"crlUrn": {
"type": "AttributeUri",
"timestamp": "2024-10-03T11:54:27.440602Z",
"value": "http://crl.url.example.com"
},
"vendor": {
"type": "AttributeString",
"value": "TALQ Consortium"
},
"id": "fGatewayFunction"
},
{
"type": "ElectricalMeterFunction",
"id": "fElectricalMeterFunction"
}
]
}
]curl --location --request POST 'https://iot.exati.com.br/staging/talq/devices?clientAddress=00000000-0000-0000-0000-000000000000' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"address": "00000000-0000-0000-0000-000000000000",
"name": "TCTGateway",
"class": "cls:Gateway",
"functions": [
{
"type": "BasicFunction",
"id": "fBasicFunction",
"assetId": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.439636Z",
"value": "SetByCertificationToolForTestPurpose"
},
"serial": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.439779Z",
"value": "SetByCertificationToolForTestPurpose"
},
"hwType": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.439895Z",
"value": "SetByCertificationToolForTestPurpose"
},
"swVersion": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.438286Z",
"value": "SetByCertificationToolForTestPurpose"
},
"timeZone": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.440045Z",
"value": "Europe/Madrid"
},
"location": {
"type": "AttributeLocation",
"timestamp": "2024-10-03T11:54:27.441087Z",
"value": {
"latitude": -90,
"longitude": 180,
"altitude": -430
}
}
},
{
"type": "CommunicationFunction",
"id": "fCommunicationFunction",
"physicalAddress": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.440239Z",
"value": "b0:76:8d:28:39:c0"
},
"parentAddress": {
"type": "AttributeString",
"timestamp": "2024-10-03T11:54:27.440502Z",
"value": "00000000-0000-0000-0000-000000000000/fCommunicationFunction"
}
},
{
"type": "GatewayFunction",
"cmsUri": {
"type": "AttributeUri",
"timestamp": "2024-10-03T11:54:27.440576Z",
"value": "https://iothub-app-homol.whiteisland-d9d6c2f4.brazilsouth.azurecontainerapps.io/talq/"
},
"cmsAddress": null,
"gatewayUri": {
"type": "AttributeUri",
"timestamp": "2024-10-03T11:54:27.440611Z",
"value": "https://api.exati.talq-cert-tool.org:2543/talq.cms"
},
"gatewayAddress": null,
"retryPeriod": {
"type": "AttributeFloat",
"timestamp": "2024-10-03T11:54:27.440597Z",
"value": 10.0
},
"crlUrn": {
"type": "AttributeUri",
"timestamp": "2024-10-03T11:54:27.440602Z",
"value": "http://crl.url.example.com"
},
"vendor": {
"type": "AttributeString",
"value": "TALQ Consortium"
},
"id": "fGatewayFunction"
},
{
"type": "ElectricalMeterFunction",
"id": "fElectricalMeterFunction"
}
]
}
]'{}