LUA Reference Guide
2.8
Search
⌃K
EdgeTX 2.8 Lua Reference Guide
Introduction
Part I - Script Type Overview
Part II - EdgeTX Lua API Programming Guide
Part III - EdgeTX Lua API Reference
Constants
General Functions
GREY()
accessTelemetryPush()
chdir(directory)
crossfireTelemetryPop()
crossfireTelemetryPush()
defaultChannel(stick)
defaultStick(channel)
flushAudio()
getAvailableMemory()
getDateTime()
getFieldInfo(source)
getFlightMode(mode)
getGeneralSettings()
getGlobalTimer()
getLogicalSwitchValue(id)
getOutputValue(outputIndex)
getRAS()
getRSSI()
getRotEncMode()
getRotEncSpeed()
getRtcTime()
getShmVar(id)
getSourceInfo(source)
getSourceIndex(sourceName)
getSourceName(sourceIndex)
getSourceValue(source)
getSwitchIndex(positionName)
getSwitchName(switchIndex)
getSwitchValue(switchIndex)
getTime()
getTxGPS()
getUsage()
getValue(source)
getVersion()
ghostTelemetryPop()
ghostTelemetryPush()
killEvents(key)
loadScript(file [, mode], [,env])
multiBuffer(address[,value])
playDuration(duration [, hourFormat])
playFile(name)
playHaptic(duration, pause [, flags])
playNumber(value, unit [, attributes])
playTone(frequency, duration, pause [, flags [, freqIncr]])
popupConfirmation(title, message, event)
popupInput(title, event, input, min, max)
popupWarning(title, event)
resetGlobalTimer([type])
serialRead([num])
serialWrite(str)
setSerialBaudrate(baudrate)
setShmVar(id, value)
setStickySwitch(id, value)
setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])
sources([first[, last]])
switches([first[, last]])
sportTelemetryPop()
sportTelemetryPush()
Model Functions
Lcd Functions
Bitmap Functions
Filesystem
Part IV - Advanced Topics
Appendix
Powered By
GitBook
getRSSI()
Get RSSI value as well as low and critical RSSI alarm levels (in dB)
@status current Introduced in 2.2.0
Parameters
none
Return value
rssi
RSSI value (0 if no link)
alarm_low
Configured low RSSI alarm level
alarm_crit
Configured critical RSSI alarm level
Previous
getRAS()
Next
getRotEncMode()
Last modified
6mo ago