mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 04:45:18 +03:00
Add the GSM SMS telemetry option (#781)
This commit is contained in:
parent
be7e3698a1
commit
4cf10eedf9
3 changed files with 12 additions and 0 deletions
|
@ -891,6 +891,9 @@
|
|||
"portsFunction_TELEMETRY_IBUS": {
|
||||
"message": "IBUS"
|
||||
},
|
||||
"portsFunction_GSM_SMS": {
|
||||
"message": "GSM SMS"
|
||||
},
|
||||
"portsFunction_TELEMETRY_MSP": {
|
||||
"message": "MSP"
|
||||
},
|
||||
|
|
|
@ -50,6 +50,7 @@ var mspHelper = (function (gui) {
|
|||
'RANGEFINDER': 16,
|
||||
'VTX_FFPV': 17,
|
||||
'ESC': 18,
|
||||
'GSM_SMS': 19,
|
||||
};
|
||||
|
||||
// Required for MSP_DEBUGMSG because console.log() doesn't allow omitting
|
||||
|
|
|
@ -42,6 +42,14 @@ TABS.ports.initialize = function (callback) {
|
|||
);
|
||||
}
|
||||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.2.0")) {
|
||||
functionRules.push({
|
||||
name: 'GSM_SMS',
|
||||
groups: ['telemetry'],
|
||||
maxPorts: 1 }
|
||||
);
|
||||
}
|
||||
|
||||
// support configure RunCam Device
|
||||
functionRules.push({
|
||||
name: 'RUNCAM_DEVICE_CONTROL',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue