optimise mavlink SS packet size (#3029)
[ExpressLRS.git] / src / lua / mockup / elrsmock.lua
blob73860c91e2d56deb1d61ade636f0c03fc45707b3
1 return {
2 {name='Packet Rate', id=0, type=9, values={'250(-108dBm)','500(-105dBm)'}, value=1, unit='Hz'},
3 {name='Telem Ratio', id=1, type=9, values={'Off','1:128'}, value=1, unit=''},
4 {name='Switch Mode', id=2, type=9, values={'Hybrid','Wide'}, value=1, unit=''},
5 {name='Model Match', id=3, type=9, values={'Off',''}, grey=true, value=0, unit='(ID:1)'},
6 {name='TX Power', id=4, type=11},
7 {name='Max Power', id=5, type=9, parent=4, values={'10','25','50'}, value=2, unit='mW'},
8 {name='Dynamic', id=6, type=9, parent=4, values={'Off','On','AUX9'}, value=1, unit=''},
9 {name='Fan Thresh', id=7, type=9, parent=4, values={'10mW','25mW','50mW', '250mW'}, value=3, unit=''},
10 {name='VTX Administrator', id=8, type=11},
11 {name='Band', id=9, type=9, parent=8, values={'Off', 'A', 'B', 'F', 'R', 'L'}, value=0, unit=''},
12 {name='Channel', id=10, type=0, parent=8, value=1, step=1, min=1, max=8, unit=''},
13 {name='Pwr Lvl', id=11, type=9, parent=8, values={'-', '1', '2', '3' }, value=0, unit=''},
14 {name='Pitmode', id=12, type=9, parent=8, values={'Off', 'On'}, value=0, unit=''},
15 {name='Send VTx', id=13, type=13, parent=8},
16 {name='Bind', id=14, type=13},
17 {name='Wifi Update', id=15, type=13},
18 {name='BLE Joystick', id=16, type=13},
19 {name='master', id=17, type=16, value='f00fcb'},
20 {name='Float Tst', id=18, type=8, value=-15, step=5, prec=1000, min=-50, max=50, unit='flt', fmt='%.3fflt'},
22 {name="----BACK----", type=14, parent=255},
23 {name="----EXIT----", type=14, exit = true}
24 }, "0/500 C", "ExpressLRS TX"