Compare commits

..

5 Commits

Author SHA1 Message Date
pascallanger
5984216fbd Update Protocols_Details.md 2026-08-14 14:27:51 +02:00
pascallanger
1fa5452c89 SGF22/T28 new protocol 2026-08-14 14:19:30 +02:00
MRC3742
0f8aceb79f Few updates
Thanks @MRC3742
2026-08-13 20:20:53 +02:00
pascallanger
3bf4ffa764 MT99X/PA18:new try 2026-08-12 11:10:59 +02:00
pascallanger
d750e3b303 Update README.md
Fix code status
2026-08-05 01:13:09 +02:00
12 changed files with 39 additions and 27 deletions

View File

@@ -231,6 +231,8 @@
97,0,SGF22,F22,1,Mode,Flip,LED,Pict,Video,TrRes,Bal,HiBal 97,0,SGF22,F22,1,Mode,Flip,LED,Pict,Video,TrRes,Bal,HiBal
97,1,SGF22,F22S,1,Mode,Flip,LED,Pict,Video,TrRes 97,1,SGF22,F22S,1,Mode,Flip,LED,Pict,Video,TrRes
97,2,SGF22,J20,1,Mode,Flip,LED,Pict,Video 97,2,SGF22,J20,1,Mode,Flip,LED,Pict,Video
97,3,SGF22,CX10,1,Mode,Flip,LED,Pict,Video
97,4,SGF22,T28,1,Mode,Flip
61,0,EazyRC 61,0,EazyRC
98,0,Kyosho3,ASF,0 98,0,Kyosho3,ASF,0
100,0,YuXiang,Std,0,Lock,Rate,Land,Manual,Flip,Mode,Pitch 100,0,YuXiang,Std,0,Lock,Rate,Land,Manual,Flip,Mode,Pitch

View File

@@ -54,7 +54,7 @@ static void __attribute__((unused)) KF606_send_packet()
packet[len-2] = convert_channel_8b_limit_deadband(AILERON,0x00,0x80,0xFF,40); // Aileron: High rate:2B..80..DA packet[len-2] = convert_channel_8b_limit_deadband(AILERON,0x00,0x80,0xFF,40); // Aileron: High rate:2B..80..DA
uint8_t p3; uint8_t p3;
p3 = convert_channel_8b(CH5)>>3; // Aileron trim must be on a separated channel 01..10..1F p3 = convert_channel_8b(CH5)>>3; // Aileron trim must be on a separated channel 01..10..1F
p3 += (packet[2]-0x80)>>3; // Drive trims for more aileron authority p3 += (packet[len-2]-0x80)>>3; // Drive trims for more aileron authority
if(p3 > 0x80) if(p3 > 0x80)
p3 = 0x01; p3 = 0x01;
else if(p3 > 0x1F) else if(p3 > 0x1F)

View File

@@ -129,13 +129,18 @@ static void __attribute__((unused)) MT99XX_send_packet()
static uint8_t seq_num=0; static uint8_t seq_num=0;
//Set RF freq //Set RF freq
if(sub_protocol == LS) if(IS_BIND_IN_PROGRESS && sub_protocol == PA18+8)
XN297_RFChannel(0x2D); // LS always transmits on the same channel XN297_RFChannel(0x02);
else else
if(sub_protocol==FY805) {
XN297_RFChannel(0x4B); // FY805 always transmits on the same channel if(sub_protocol == LS)
else // MT99 & H7 & YZ & A180 & DRAGON & F949G & PA18 XN297_RFChannel(0x2D); // LS always transmits on the same channel
XN297_Hopping(hopping_frequency_no); else
if(sub_protocol==FY805)
XN297_RFChannel(0x4B); // FY805 always transmits on the same channel
else // MT99 & H7 & YZ & A180 & DRAGON & F949G & PA18
XN297_Hopping(hopping_frequency_no);
}
if(IS_BIND_IN_PROGRESS) if(IS_BIND_IN_PROGRESS)
{ {

View File

@@ -93,7 +93,7 @@
94,Scorpio 94,Scorpio
95,BlueFly 95,BlueFly
96,BumbleB 96,BumbleB
97,SGF22,F22,F22S,J20 97,SGF22,F22,F22S,J20,CX10,T28
98,Kyosho3 98,Kyosho3
99,XK2,X4,P10 99,XK2,X4,P10
100,YuXiang 100,YuXiang

View File

@@ -192,7 +192,7 @@ const char STR_SUBTYPE_MOULDKG[] = "\x05""A4444""D4444""A664\0";
const char STR_SUBTYPE_KF606[] = "\x06""KF606\0""MIG320""ZCZ50\0"; const char STR_SUBTYPE_KF606[] = "\x06""KF606\0""MIG320""ZCZ50\0";
const char STR_SUBTYPE_E129[] = "\x04""E129""C186"; const char STR_SUBTYPE_E129[] = "\x04""E129""C186";
const char STR_SUBTYPE_FX[] = "\x05""FX816""FX620""9630\0""Q560\0""QF012""BM26\0""A570\0"; const char STR_SUBTYPE_FX[] = "\x05""FX816""FX620""9630\0""Q560\0""QF012""BM26\0""A570\0";
const char STR_SUBTYPE_SGF22[] = "\x04""F22\0""F22S""J20\0""CX10"; const char STR_SUBTYPE_SGF22[] = "\x04""F22\0""F22S""J20\0""CX10""T28\0";
const char STR_SUBTYPE_JIABAILE[] = "\x04""Std\0""Gyro"; const char STR_SUBTYPE_JIABAILE[] = "\x04""Std\0""Gyro";
#define NO_SUBTYPE nullptr #define NO_SUBTYPE nullptr
@@ -480,7 +480,7 @@ const mm_protocol_definition multi_protocols[] = {
{PROTO_SCORPIO, STR_SCORPIO, NO_SUBTYPE, 0, OPTION_NONE, 0, 0, SW_CYRF, SCORPIO_init, SCORPIO_callback }, {PROTO_SCORPIO, STR_SCORPIO, NO_SUBTYPE, 0, OPTION_NONE, 0, 0, SW_CYRF, SCORPIO_init, SCORPIO_callback },
#endif #endif
#if defined(SGF22_NRF24L01_INO) #if defined(SGF22_NRF24L01_INO)
{PROTO_SGF22, STR_SGF22, STR_SUBTYPE_SGF22, 4, OPTION_NONE, 0, 0, SW_NRF, SGF22_init, SGF22_callback }, {PROTO_SGF22, STR_SGF22, STR_SUBTYPE_SGF22, 5, OPTION_NONE, 0, 0, SW_NRF, SGF22_init, SGF22_callback },
#endif #endif
#if defined(SHENQI_NRF24L01_INO) #if defined(SHENQI_NRF24L01_INO)
{PROTO_SHENQI, STR_SHENQI, NO_SUBTYPE, 0, OPTION_NONE, 0, 0, SW_NRF, SHENQI_init, SHENQI_callback }, {PROTO_SHENQI, STR_SHENQI, NO_SUBTYPE, 0, OPTION_NONE, 0, 0, SW_NRF, SHENQI_init, SHENQI_callback },

View File

@@ -19,7 +19,7 @@
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_REVISION 4 #define VERSION_REVISION 4
#define VERSION_PATCH_LEVEL 63 #define VERSION_PATCH_LEVEL 65
#define MODE_SERIAL 0 #define MODE_SERIAL 0
@@ -515,6 +515,7 @@ enum SGF22
SGF22_F22S = 1, SGF22_F22S = 1,
SGF22_J20 = 2, SGF22_J20 = 2,
SGF22_CX10 = 3, SGF22_CX10 = 3,
SGF22_T28 = 4,
}; };
enum JIABAILE enum JIABAILE
{ {

View File

@@ -639,7 +639,8 @@ void setup()
if (protocol==PROTO_ARES) if (protocol==PROTO_ARES)
option = FORCE_ARES_TUNING; // Use config-defined tuning value for ARES option = FORCE_ARES_TUNING; // Use config-defined tuning value for ARES
else else
#endif option = (uint8_t)PPM_prot_line->option; // Use radio-defined option value #endif
option = (uint8_t)PPM_prot_line->option; // Use radio-defined option value
if(PPM_prot_line->power) POWER_FLAG_on; if(PPM_prot_line->power) POWER_FLAG_on;
if(PPM_prot_line->autobind) if(PPM_prot_line->autobind)

View File

@@ -25,10 +25,12 @@ Multiprotocol is distributed in the hope that it will be useful,
#define SGF22_PAYLOAD_SIZE 12 #define SGF22_PAYLOAD_SIZE 12
#define SGF22_BIND_COUNT 50 #define SGF22_BIND_COUNT 50
#define SGF22_RF_NUM_CHANNELS 4 #define SGF22_RF_NUM_CHANNELS 4
#define SGF22_BIND_RF_CHANNEL 78 #define SGF22_BIND_RF_CHANNEL 78
#define SGF22_F22S_BIND_RF_CHANNEL 10 #define SGF22_F22S_BIND_RF_CHANNEL 10
#define SGF22_J20_BIND_RF_CHANNEL 28 #define SGF22_J20_BIND_RF_CHANNEL 28
#define SGF22_CX10_BIND_RF_CHANNEL 48 #define SGF22_CX10_BIND_RF_CHANNEL 48
#define SGF22_T28_BIND_RF_CHANNEL 28
//packet[8] //packet[8]
#define SGF22_FLAG_3D 0x00 #define SGF22_FLAG_3D 0x00
@@ -111,7 +113,7 @@ static void __attribute__((unused)) SGF22_send_packet()
packet[10] = 0x42; // no fine tune packet[10] = 0x42; // no fine tune
packet[11] = 0x10; // no fine tune packet[11] = 0x10; // no fine tune
} }
if(sub_protocol == SGF22_F22S) if(sub_protocol == SGF22_F22S || sub_protocol == SGF22_T28)
packet[0] += 6; packet[0] += 6;
else if (sub_protocol == SGF22_J20) else if (sub_protocol == SGF22_J20)
packet[0] += 3; packet[0] += 3;
@@ -200,7 +202,7 @@ static void __attribute__((unused)) SGF22_RF_init()
XN297_SetRXAddr((uint8_t*)"\xC7\x95\x3C\xBB\xA5", SGF22_PAYLOAD_SIZE); XN297_SetRXAddr((uint8_t*)"\xC7\x95\x3C\xBB\xA5", SGF22_PAYLOAD_SIZE);
#endif #endif
const uint8_t bind_chan[] = {SGF22_BIND_RF_CHANNEL, SGF22_F22S_BIND_RF_CHANNEL, SGF22_J20_BIND_RF_CHANNEL, SGF22_CX10_BIND_RF_CHANNEL}; const uint8_t bind_chan[] = {SGF22_BIND_RF_CHANNEL, SGF22_F22S_BIND_RF_CHANNEL, SGF22_J20_BIND_RF_CHANNEL, SGF22_CX10_BIND_RF_CHANNEL, SGF22_T28_BIND_RF_CHANNEL};
XN297_RFChannel(bind_chan[sub_protocol]); // Set bind channel XN297_RFChannel(bind_chan[sub_protocol]); // Set bind channel
} }

View File

@@ -387,12 +387,9 @@
#ifdef MULTI_AIR #ifdef MULTI_AIR
#undef JOYSWAY_A7105_INO #undef JOYSWAY_A7105_INO
//#undef KYOSHO_A7105_INO
//#undef PELIKAN_A7105_INO
#undef LOSI_CYRF6936_INO //Need DSM to be enabled #undef LOSI_CYRF6936_INO //Need DSM to be enabled
#undef TRAXXAS_CYRF6936_INO #undef TRAXXAS_CYRF6936_INO
#undef EAZYRC_NRF24L01_INO #undef EAZYRC_NRF24L01_INO
//#undef KYOSHO2_NRF24L01_INO
#undef KYOSHO3_CYRF6936_INO #undef KYOSHO3_CYRF6936_INO
#undef MOULDKG_NRF24L01_INO #undef MOULDKG_NRF24L01_INO
#undef SHENQI_NRF24L01_INO #undef SHENQI_NRF24L01_INO

View File

@@ -845,10 +845,11 @@ const PPM_Parameters PPM_prot[14*NBR_BANKS]= {
PROTO_SCORPIO PROTO_SCORPIO
NONE NONE
PROTO_SGF22 PROTO_SGF22
SGF22 SGF22_F22
F22S SGF22_F22S
J20 SGF22_J20
CX10 SGF22_CX10
SGF22_T28
PROTO_SHENQI PROTO_SHENQI
NONE NONE
PROTO_SHENQI2 PROTO_SHENQI2

View File

@@ -143,7 +143,7 @@ CFlie|AIR|38|CFlie||||||||NRF24L01|
[Redpine](Protocols_Details.md#Redpine---50)||50|FAST|SLOW|||||||NRF24L01|XN297 [Redpine](Protocols_Details.md#Redpine---50)||50|FAST|SLOW|||||||NRF24L01|XN297
[Scanner](Protocols_Details.md#Scanner---54)||54|||||||||CC2500| [Scanner](Protocols_Details.md#Scanner---54)||54|||||||||CC2500|
[Scorpio](Protocols_Details.md#Scorpio---94)||94|||||||||CYRF6936| [Scorpio](Protocols_Details.md#Scorpio---94)||94|||||||||CYRF6936|
[SGF22](Protocols_Details.md#SGF22---97)||97|F22|F22S|J20|CX10|||||NRF24L01|XN297 [SGF22](Protocols_Details.md#SGF22---97)||97|F22|F22S|J20|CX10|T28||||NRF24L01|XN297
[Shenqi](Protocols_Details.md#Shenqi---19)||19|Shenqi||||||||NRF24L01|LT8900 [Shenqi](Protocols_Details.md#Shenqi---19)||19|Shenqi||||||||NRF24L01|LT8900
[Shenqi2](Protocols_Details.md#Shenqi2---105)||105|Shenqi2||||||||NRF24L01|XN297 [Shenqi2](Protocols_Details.md#Shenqi2---105)||105|Shenqi2||||||||NRF24L01|XN297
[Skyartec](Protocols_Details.md#Skyartec---68)||68|||||||||CC2500|CC2500 [Skyartec](Protocols_Details.md#Skyartec---68)||68|||||||||CC2500|CC2500
@@ -238,21 +238,21 @@ Option is used to change the servo refresh rate. A value of 0 gives 50Hz (min),
### Sub_protocol PWM_IBUS - *0* ### Sub_protocol PWM_IBUS - *0*
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|CH17 CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|CH17
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|--- ---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---
A|E|T|R|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14CH15|CH16|LQI A|E|T|R|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|LQI
RX output will match the Flysky standard AETR. RX output will match the Flysky standard AETR.
### Sub_protocol PPM_IBUS - *1* ### Sub_protocol PPM_IBUS - *1*
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|CH17 CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|CH17
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|--- ---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---
A|E|T|R|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14CH15|CH16|LQI A|E|T|R|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|LQI
RX output will match the Flysky standard AETR. RX output will match the Flysky standard AETR.
### Sub_protocol PWM_SBUS - *2* ### Sub_protocol PWM_SBUS - *2*
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|CH17 CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|CH17
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|--- ---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---
A|E|T|R|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14CH15|CH16|LQI A|E|T|R|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14|CH15|CH16|LQI
RX output will match the Flysky standard AETR. RX output will match the Flysky standard AETR.
@@ -1930,7 +1930,7 @@ FX9630 and FX9603 Gyro: -100%=6G small throw, 0%=6G large throw, +100%=3D
QIDI-550 Gyro: -100%=3D, 0%=6G, +100%=Torque QIDI-550 Gyro: -100%=3D, 0%=6G, +100%=Torque
### Sub_protocol Q560 - *3* ### Sub_protocol Q560 - *3*
Model: QIDI-560, QIDI-580 (Cirrus SR22) Model: QIDI-560, QIDI-580, QIDI-590
CH1|CH2|CH3|CH4|CH5|CH6|CH7 CH1|CH2|CH3|CH4|CH5|CH6|CH7
---|---|---|---|---|---|--- ---|---|---|---|---|---|---
@@ -2397,6 +2397,9 @@ Model: Cheerson CX-10 with red PCB
Mode -100% = Low, 0% = Medium, 100% = High Mode -100% = Low, 0% = Medium, 100% = High
### Sub_protocol T28
Model: FMS T28
## Shenqi - *19* ## Shenqi - *19*
Autobind protocol Autobind protocol

View File

@@ -21,7 +21,7 @@ If you like this project and want to support further development please consider
Multiprotocol downloads: <img src=https://img.shields.io/github/downloads/pascallanger/DIY-Multiprotocol-TX-Module/total.svg> Multiprotocol downloads: <img src=https://img.shields.io/github/downloads/pascallanger/DIY-Multiprotocol-TX-Module/total.svg>
Current Multiprotocol code check status: [<img src=https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/workflows/CI/badge.svg>](https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/actions). Download the latest **test** build [here](https://downloads.multi-module.org/latest-test/). Current Multiprotocol code check status: [![MULTI Test, Build, Deploy, Release](https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/actions/workflows/main.yml/badge.svg)](https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/actions). Download the latest **test** build [here](https://downloads.multi-module.org/latest-test/).
Current Multiprotocol boards check status: [![Travis Build Status for Multi Boards](https://api.travis-ci.com/pascallanger/DIY-Multiprotocol-TX-Module-Boards.svg?branch=master)](https://travis-ci.com/pascallanger/DIY-Multiprotocol-TX-Module-Boards) Current Multiprotocol boards check status: [![Travis Build Status for Multi Boards](https://api.travis-ci.com/pascallanger/DIY-Multiprotocol-TX-Module-Boards.svg?branch=master)](https://travis-ci.com/pascallanger/DIY-Multiprotocol-TX-Module-Boards)