model.getModule(index)
Get RF module parameters
Type
values:
0 NONE
1 PPM
2 XJT_PXX1
3 ISRM_PXX2
4 DSM2
5 CROSSFIRE
6 MULTIMODULE
7 R9M_PXX1
8 R9M_PXX2
9 R9M_LITE_PXX1
10 R9M_LITE_PXX2
11 R9M_LITE_PRO_PXX1
12 R9M_LITE_PRO_PXX2
13 SBUS
14 XJT_LITE_PXX2
subType
values for XJT_PXX1:
-1 OFF
0 D16
1 D8
2 LR12
@status current Introduced in TODO
Parameters
index
(number) module index (0 for internal, 1 for external)
Return value
nil
requested module does not existtable
module parameters:subType
(number) protocol indexmodelId
(number) receiver numberfirstChannel
(number) start channel (0 is CH1)channelsCount
(number) number of channels sent to moduleType
(number) module typeif the module type is Multi additional information are available
protocol
(number) protocol numbersubProtocol
(number) sub-protocol numberchannelsOrder
(number) first 4 channels expected order
Last updated