Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.37 KB

File metadata and controls

36 lines (19 loc) · 1.37 KB

getFieldInfo(name)

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

  • name (string) name of the field

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