...
Also, in the IoT Central Application portal under devices you should see the device is connected.
Image Removed
Image Added
Now the Azure Injector module is connected to the MQTT server in Azure IoT Central, we have to determine if there are are changes needed to the Tag Agent tab to be able to push data.
...
The first message shows the 'NBIRTH' message which is an indication that the Sparkplug Edge Node has come online. The second message is a Sparkplug DBIRTH message denoting that a Sparkplug Device has come online along with its 'metrics' or tags, tag metadata, and values. In this case only a single tag is included in the payload.
Image Removed
Image Added
This includes the following data messages.
| Code Block |
|---|
{
"_unmodeleddata": {
"topic": {
"namespace": "spBv1.0",
"edgeNodeDescriptor": "G1/E1",
"groupId": "G1",
"edgeNodeId": "E1",
"type": "NBIRTH"
},
"payload": {
"timestamp": 16382230731901659458670039,
"metrics": [
{
"name": "bdSeq",
"timestamp": 16382230731871659458670039,
"dataType": "Int64",
"value": 0
}
],
"seq": 0
}
},
"_eventtype": "Telemetry",
"_timestamp": "20212022-1108-29T2102T16:5744:5431.067Z511Z"
} |
| Code Block |
|---|
{
"_unmodeleddata": {
"topic": {
"namespace": "spBv1.0",
"edgeNodeDescriptor": "G1/E1",
"groupId": "G1",
"edgeNodeId": "E1",
"deviceId": "D1",
"type": "DBIRTH"
},
"payload": {
"timestamp": 16382230731921659458670049,
"metrics": [
{
"name": "T1",
"timestamp": 16382230731921659458670049,
"dataType": "Int32",
"metaData": {},
"properties": {
"Quality": {
"type": "Int32",
"value": 192
}
},
"value": 12
}
],
"seq": 1
}
},
"_eventtype": "Telemetry",
"_timestamp": "20212022-1108-29T2102T16:5744:5431.098Z527Z"
} |
Step 7: Force a data change
...
| Code Block |
|---|
{
"_unmodeleddata": {
"topic": {
"namespace": "spBv1.0",
"edgeNodeDescriptor": "G1/E1",
"groupId": "G1",
"edgeNodeId": "E1",
"deviceId": "D1",
"type": "DDATA"
},
"payload": {
"timestamp": 16382236638121659462601542,
"metrics": [
{
"name": "T1",
"timestamp": 16382236628001659462601542,
"dataType": "Int32",
"value": 10
}
],
"seq": 2
}
},
"_eventtype": "Telemetry",
"_timestamp": "20212022-1108-29T2202T17:0750:4302.998Z771Z"
} |
| Excerpt Include |
|---|
| CLD80:FAQ: Ignition Modules |
|---|
| CLD80:FAQ: Ignition Modules |
|---|
| nopanel | true |
|---|
|
...