Apollon Q mioty Blueprint in JSON
Suchen Sie den mioty-Blueprint für den Apollon Q Füllstandssensor?
Das folgende JSON definiert den mioty‑Blueprint für den Sensor Apollon Q. Es beschreibt die Struktur der Uplink‑Payloads, die Datentypen, bedingte Felder sowie die Skalierungs‑ und Dekodierungslogik für Radar‑, TOF‑, Beschleunigungs‑ und Alarmdaten.
{
"component": {
"alarm": {
"littleEndian": false,
"size": 8,
"type": "uint",
"unit": ""
},
"amplitude": {
"littleEndian": false,
"size": 16,
"type": "int"
},
"bat_voltage": {
"func": "$ / 1000",
"littleEndian": false,
"size": 16,
"type": "uint",
"unit": "V"
},
"distance": {
"littleEndian": false,
"size": 16,
"type": "uint",
"unit": "mm"
},
"int16_t": {
"littleEndian": false,
"size": 16,
"type": "int"
},
"int8_t": {
"littleEndian": false,
"size": 8,
"type": "int"
},
"status": {
"littleEndian": false,
"size": 8,
"type": "uint"
},
"temperature": {
"func": "$ - 128",
"littleEndian": false,
"size": 8,
"type": "uint",
"unit": "°C"
},
"uint16_t": {
"littleEndian": false,
"size": 16,
"type": "uint"
},
"uint8_t": {
"littleEndian": false,
"size": 8,
"type": "uint"
},
"uplink_counter": {
"littleEndian": false,
"size": 8,
"type": "uint",
"unit": ""
},
"version": {
"littleEndian": false,
"size": 4,
"type": "uint",
"unit": ""
}
},
"meta": {
"firmwareVersion": "1.0",
"hardwareVersion": "1.0",
"name": "Apollon",
"vendor": "Sentinum"
},
"typeEui": "FCA84A0100000000",
"uplink": [
{
"id": 0,
"payload": [
{
"component": "version",
"name": "Modulecode"
},
{
"component": "version",
"name": "Major_Version"
},
{
"component": "version",
"name": "Minor_Version"
},
{
"component": "version",
"name": "Product_Version"
},
{
"component": "uplink_counter",
"name": "Uplink_Counter"
},
{
"component": "bat_voltage",
"name": "Battery_Voltage"
},
{
"component": "temperature",
"name": "Temperature"
},
{
"component": "alarm",
"name": "Alarm"
},
{
"component": "distance",
"name": "Master_value"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x01) == 0x01",
"name": "TOF_Status"
},
{
"component": "distance",
"condition": "($Product_Version & 0x01) == 0x01",
"name": "Tof_Distance"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x01) == 0x01",
"name": "TOF_Index"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x02) == 0x02",
"name": "Radar_Status"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x02) == 0x02",
"name": "Radar_No_peaks"
},
{
"component": "distance",
"condition": "($Product_Version & 0x02) == 0x02",
"name": "Radar_Distance_1"
},
{
"component": "int16_t",
"condition": "($Product_Version & 0x02) == 0x02",
"name": "Radar_Amplitude_1"
},
{
"component": "distance",
"condition": "($Product_Version & 0x02) == 0x02",
"name": "Radar_Distance_2"
},
{
"component": "int16_t",
"condition": "($Product_Version & 0x02) == 0x02",
"name": "Radar_Amplitude_2"
},
{
"component": "distance",
"condition": "($Product_Version & 0x02) == 0x02",
"name": "Radar_Distance_3"
},
{
"component": "int16_t",
"condition": "($Product_Version & 0x02) == 0x02",
"name": "Radar_Amplitude_3"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x04) == 0x04",
"name": "ACC_Status"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x04) == 0x04",
"name": "ACC_Orientation"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x04) == 0x04",
"name": "ACC_open"
},
{
"component": "uint16_t",
"condition": "($Product_Version & 0x04) == 0x04",
"name": "ACC_open_cnt"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x04) == 0x04",
"name": "ACC_Impact"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x08) == 0x08",
"name": "Hall_open"
},
{
"component": "uint16_t",
"condition": "($Product_Version & 0x08) == 0x08",
"name": "Hall_open_cnt"
},
{
"component": "uint8_t",
"condition": "($Product_Version & 0x01) == 0x01 && ($Minor_Version) >= 2",
"name": "Histo_Type"
},
{
"component": "uint8_t",
"condition": "($Histo_Type) == 0x00",
"name": "TOF_Hist_Status"
},
{
"component": "distance",
"condition": "($Histo_Type) == 0x00",
"name": "Tof_Hist_Distance"
},
{
"component": "uint8_t",
"condition": "($Histo_Type) == 0x00",
"name": "TOF_Peaks_Idx"
},
{
"component": "uint8_t",
"condition": "($Histo_Type) == 0x00",
"name": "Tof_Peaks_Num"
},
{
"component": "uint8_t",
"condition": "($Histo_Type) == 0x01",
"name": "TOF_NoHist_Status"
},
{
"component": "uint16_t",
"condition": "($Histo_Type) == 0x01",
"name": "Tof_NoHist_Distance"
},
{
"component": "uint8_t",
"condition": "($Histo_Type) == 0x01",
"name": "TOF_Hist_Status"
},
{
"component": "distance",
"condition": "($Histo_Type) == 0x01",
"name": "Tof_Hist_Distance"
},
{
"component": "uint8_t",
"condition": "($Histo_Type) == 0x01",
"name": "TOF_Peaks_Idx"
},
{
"component": "uint8_t",
"condition": "($Histo_Type) == 0x01",
"name": "Tof_Peaks_Num"
}
]
}
],
"version": "2.0"
}
© Sentinum GmbH – Alle Rechte vorbehalten.
Alle Inhalte dieses Dokuments, einschließlich Text, Tabellen und Bildern, sind urheberrechtlich geschützt und Eigentum der Sentinum GmbH.
Alle Bilder unterliegen dem Urheberrecht der Sentinum GmbH, sofern nicht anders angegeben.
Vervielfältigung, Verbreitung oder Nutzung — auch auszugsweise — ist ohne ausdrückliche schriftliche Genehmigung nicht gestattet.
Änderungen der Spezifikationen vorbehalten. Alle Angaben erfolgen ohne Gewähr.