getFieldInfo(source)

Return detailed information about field (source)

The list of valid sources is available:

OpenTX Version
Radio

@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