getFieldInfo(source)

Return detailed information about field (source)

The list of valid sources is available:

OpenTX VersionRadio

2.0

2.1

2.2

2.3

@status current Introduced in 2.0.8, 'unit' field added in 2.2.0

Parameters

  • source can be an identifier (number) or a name (string) of the source.

Return value

  • table information about requested field, table elements:

    • id (number) field identifier

    • name (string) field name

    • desc (string) field description

    • 'unit' (number) unit identifier Full list

  • nil the requested field was not found

Last updated