Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 2.58 KB

File metadata and controls

27 lines (19 loc) · 2.58 KB

getFieldInfo(source)

Return detailed information about field (source)

The list of valid sources is available:

OpenTX Version Radio
2.0 all
2.1 X9D and X9D+, X9E
2.2 X9D and X9D+, X9E, Horus
2.3 X9D and X9D+, X9E, X7, Horus

@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