Skip to content

Config Protocol

Bryan Mayland edited this page Dec 19, 2023 · 4 revisions

CRSF Config Protocol

Sequence:

  • Host sends CRSF_FRAMETYPE_DEVICE_PING to discover connected devices, and determine the number of configurable values available.
  • All devices matching the Extended Destination field of the PING request respond with their CRSF_FRAMETYPE_DEVICE_INFO packets.
  • For each parameter index
  • To set a value, host sends an CRSF_FRAMETYPE_PARAMETER_WRITE with updated value
    • ExpressLRS: Host should requery all same-level parameters to determine if the parameter change has altered other sibling parameter values / options

Example loading

A full config load from tx module's perspective

IN: EE 04 28 00 EA 54 2B C0                         о.(.кT+А
OUT: EA 1C 29 EA EE                               к.)ко
53 49 59 49 20 46 4D 33 30 00 45 4C 52 53 00 00 SIYI FM30.ELRS..
00 00 00 00 00 00 13 00                         ........
CA

IN: EE 06 2C EE EF 01 00 76                         о.,оп..v
OUT: EA 3E 2B EA EE                               к>+ко
01 01 00 09 50 61 63 6B 65 74 20 52 61 74 65 00 ....Packet Rate.
35 30 28 2D 31 31 37 64 62 6D 29 3B 31 35 30 28 50(-117dbm);150(
2D 31 31 32 64 62 6D 29 3B 32 35 30 28 2D 31 30 -112dbm);250(-10
38 64 62 6D 29 3B 35 30 30 28                   8dbm);500(
E5

IN: EE 06 2C EE EF 01 01 A3                         о.,оп..Ј
OUT: EA 16 2B EA EE                               к.+ко
01 00 2D 31 30 35 64 62 6D 29 00 02 00 03 00 48 ..-105dbm).....H
7A 00                                           z.
E6

IN: EE 06 2C EE EF 02 00 6B                         о.,оп..k
OUT: EA 3E 2B EA EE                               к>+ко
02 00 00 09 54 65 6C 65 6D 20 52 61 74 69 6F 00 ....Telem Ratio.
4F 66 66 3B 31 3A 31 32 38 3B 31 3A 36 34 3B 31 Off;1:128;1:64;1
3A 33 32 3B 31 3A 31 36 3B 31 3A 38 3B 31 3A 34 :32;1:16;1:8;1:4
3B 31 3A 32 00 02 00 07 00 00                   ;1:2......
29

IN: EE 06 2C EE EF 03 00 60                         о.,оп..`
OUT: EA 21 2B EA EE                               к!+ко
03 00 00 09 42 54 20 54 65 6C 65 6D 65 74 72 79 ....BT Telemetry
00 4F 66 66 3B 4F 6E 00 00 00 01 00 00          .Off;On......
4C

IN: EE 06 2C EE EF 04 00 51                         о.,оп..Q
OUT: EA 25 2B EA EE                               к%+ко
04 00 00 09 53 77 69 74 63 68 20 4D 6F 64 65 00 ....Switch Mode.
48 79 62 72 69 64 3B 57 69 64 65 00 01 00 01 00 Hybrid;Wide.....
00                                              .
BF

IN: EE 06 2C EE EF 05 00 5A                         о.,оп..Z
OUT: EA 20 2B EA EE                               к +ко
05 00 00 09 4D 6F 64 65 6C 20 4D 61 74 63 68 00 ....Model Match.
4F 66 66 3B 4F 6E 00 00 00 01 00 00             Off;On......
D4

IN: EE 06 2C EE EF 06 00 47                         о.,оп..G
OUT: EA 11 2B EA EE                               к.+ко
06 00 00 0B 54 58 20 50 6F 77 65 72 00          ....TX Power.
75

IN: EE 06 2C EE EF 07 00 4C                         о.,оп..L
OUT: EA 2A 2B EA EE                               к*+ко
07 00 06 09 4D 61 78 20 50 6F 77 65 72 00 31 30 ....Max Power.10
3B 32 35 3B 35 30 3B 31 30 30 3B 32 35 30 00 04 ;25;50;100;250..
00 04 00 6D 57 00                               ...mW.
7B

IN: EE 06 2C EE EF 08 00 25                         о.,оп..%
OUT: EA 33 2B EA EE                               к3+ко
08 00 06 09 44 79 6E 61 6D 69 63 00 4F 66 66 3B ....Dynamic.Off;
4F 6E 3B 41 55 58 39 3B 41 55 58 31 30 3B 41 55 On;AUX9;AUX10;AU
58 31 31 3B 41 55 58 31 32 00 01 00 05 00 00    X11;AUX12......
C9

IN: EE 06 2C EE EF 09 00 2E                         о.,оп...
OUT: EA 1A 2B EA EE                               к.+ко
09 00 00 0B 56 54 58 20 41 64 6D 69 6E 69 73 74 ....VTX Administ
72 61 74 6F 72 00                               rator.
30

IN: EE 06 2C EE EF 0A 00 33                         о.,оп..3
OUT: EA 22 2B EA EE                               к"+ко
0A 00 09 09 42 61 6E 64 00 4F 66 66 3B 41 3B 42 ....Band.Off;A;B
3B 45 3B 46 3B 52 3B 4C 00 05 00 06 00 00       ;E;F;R;L......
E3

IN: EE 06 2C EE EF 0B 00 38                         о.,оп..8
OUT: EA 25 2B EA EE                               к%+ко
0B 00 09 09 43 68 61 6E 6E 65 6C 00 31 3B 32 3B ....Channel.1;2;
33 3B 34 3B 35 3B 36 3B 37 3B 38 00 00 00 07 00 3;4;5;6;7;8.....
00                                              .
66

IN: EE 06 2C EE EF 0C 00 09                         о.,оп...
OUT: EA 27 2B EA EE                               к'+ко
0C 00 09 09 50 77 72 20 4C 76 6C 00 2D 3B 31 3B ....Pwr Lvl.-;1;
32 3B 33 3B 34 3B 35 3B 36 3B 37 3B 38 00 00 00 2;3;4;5;6;7;8...
08 00 00                                        ...
50

IN: EE 06 2C EE EF 0D 00 02                         о.,оп...
OUT: EA 1C 2B EA EE                               к.+ко
0D 00 09 09 50 69 74 6D 6F 64 65 00 4F 66 66 3B ....Pitmode.Off;
4F 6E 00 00 00 01 00 00                         On......
13

IN: EE 06 2C EE EF 0E 00 1F                         о.,оп...
OUT: EA 14 2B EA EE                               к.+ко
0E 00 09 0D 53 65 6E 64 20 56 54 78 00 00 C8 00 ....Send VTx..И.
BE

IN: EE 06 2C EE EF 0F 00 14                         о.,оп...
OUT: 1C EA 1A 2B EA EE                               .к.+ко
0F 00 00 0B 57 69 46 69 20 43 6F 6E 6E 65 63 74 ....WiFi Connect
69 76 69 74 79 00                               ivity.
81

IN: EE 06 2C EE EF 10 00 CD                         о.,оп..Н
OUT: EA 1A 2B EA EE                               к.+ко
10 00 0F 0D 45 6E 61 62 6C 65 20 52 78 20 57 69 ....Enable Rx Wi
46 69 00 00 C8 00                               Fi..И.
B6

IN: EE 06 2C EE EF 11 00 C6                         о.,оп..Ж
OUT: EA 10 2B EA EE                               к.+ко
11 00 00 0D 42 69 6E 64 00 00 C8 00             ....Bind..И.
9D

IN: EE 06 2C EE EF 12 00 DB                         о.,оп..Ы
OUT: EA 17 2B EA EE                               к.+ко
12 00 00 8C 42 61 64 2F 47 6F 6F 64 00 30 2F 32 ...Bad/Good.0/2
35 30 00                                        50.
27

IN: EE 06 2C EE EF 13 00 D0                         о.,оп..Р
OUT: EA 1D 2B EA EE                               к.+ко
13 00 00 0C 6D 61 73 74 65 72 20 49 53 4D 32 47 ....master ISM2G
34 00 38 32 35 65 64 38 00                      4.825ed8.
4A