Added configuration of KISS ESC Telemetry

10.3.x-maintenance
Bas Delfos 2016-11-18 00:34:31 +01:00
parent 0123388a7f
commit 8aa40f1a2c
4 changed files with 144 additions and 135 deletions

View File

@ -527,6 +527,9 @@
"featureBLACKBOXTip": { "featureBLACKBOXTip": {
"message": "Configure via the BlackBox tab after enabling." "message": "Configure via the BlackBox tab after enabling."
}, },
"featureESC_TELEMETRY": {
"message": "KISS ESC 24A telemetry support"
},
"featureCHANNEL_FORWARDING": { "featureCHANNEL_FORWARDING": {
"message": "Forward aux channels to servo outputs" "message": "Forward aux channels to servo outputs"
}, },
@ -777,6 +780,9 @@
"portsFunction_TELEMETRY_SMARTPORT": { "portsFunction_TELEMETRY_SMARTPORT": {
"message": "SmartPort" "message": "SmartPort"
}, },
"portsFunction_TELEMETRY_ESC": {
"message": "ESC telemetry"
},
"portsFunction_RX_SERIAL": { "portsFunction_RX_SERIAL": {
"message": "Serial RX" "message": "Serial RX"
}, },

View File

@ -21,7 +21,8 @@ var Features = function (config) {
{bit: 15, group: 'rssi', name: 'RSSI_ADC'}, {bit: 15, group: 'rssi', name: 'RSSI_ADC'},
{bit: 16, group: 'other', name: 'LED_STRIP'}, {bit: 16, group: 'other', name: 'LED_STRIP'},
{bit: 17, group: 'other', name: 'DISPLAY'}, {bit: 17, group: 'other', name: 'DISPLAY'},
{bit: 19, group: 'other', name: 'BLACKBOX', haveTip: true} {bit: 19, group: 'other', name: 'BLACKBOX', haveTip: true},
{bit: 27, group: 'other', name: 'ESC_TELEMETRY'}
]; ];
if (semver.gte(config.apiVersion, "1.12.0")) { if (semver.gte(config.apiVersion, "1.12.0")) {

View File

@ -20,6 +20,7 @@ function MspHelper () {
'RX_SERIAL': 6, 'RX_SERIAL': 6,
'BLACKBOX': 7, 'BLACKBOX': 7,
'TELEMETRY_MAVLINK': 8, 'TELEMETRY_MAVLINK': 8,
'TELEMETRY_ESC': 10
}; };
} }

View File

@ -13,6 +13,7 @@ TABS.ports.initialize = function (callback, scrollPosition) {
{name: 'TELEMETRY_FRSKY', groups: ['telemetry'], sharableWith: ['msp'], notSharableWith: ['blackbox'], maxPorts: 1}, {name: 'TELEMETRY_FRSKY', groups: ['telemetry'], sharableWith: ['msp'], notSharableWith: ['blackbox'], maxPorts: 1},
{name: 'TELEMETRY_HOTT', groups: ['telemetry'], sharableWith: ['msp'], notSharableWith: ['blackbox'], maxPorts: 1}, {name: 'TELEMETRY_HOTT', groups: ['telemetry'], sharableWith: ['msp'], notSharableWith: ['blackbox'], maxPorts: 1},
{name: 'TELEMETRY_SMARTPORT', groups: ['telemetry'], maxPorts: 1}, {name: 'TELEMETRY_SMARTPORT', groups: ['telemetry'], maxPorts: 1},
{name: 'TELEMETRY_ESC', groups: ['telemetry'], maxPorts: 1},
{name: 'RX_SERIAL', groups: ['rx'], maxPorts: 1}, {name: 'RX_SERIAL', groups: ['rx'], maxPorts: 1},
{name: 'BLACKBOX', groups: ['logging', 'blackbox'], sharableWith: ['msp'], notSharableWith: ['telemetry'], maxPorts: 1}, {name: 'BLACKBOX', groups: ['logging', 'blackbox'], sharableWith: ['msp'], notSharableWith: ['telemetry'], maxPorts: 1},
]; ];