model.getModule(index)

Get RF module parameters

@status current Introduced in TODO

Parameters

  • index (number) module index (0 for internal, 1 for external)

Return value

  • nil requested module does not exist

  • table module parameters:

    • rfProtocol (number) protocol index
    • modelId (number) receiver number
    • firstChannel (number) start channel (0 is CH1)
    • channelsCount (number) number of channels sent to module