186 Commits

Author SHA1 Message Date
pascallanger
49a1ecea00 Merge branch 'master' into SPort_Send 2019-10-02 21:07:08 +02:00
pascallanger
11f0e55bb1 SPort_Send sequencer 2019-10-02 20:09:18 +02:00
goebish
f3d2ab61e4 Protocol Flysky AFHDS2A receiver (#275)
* Add skeleton for AFHDS2A receiver protocol

* Bind & data Ok

* Send channels to TX via telemetry

* Add RSSI

* Fix AVR compilation

* Fix channel number
2019-10-01 20:44:26 +02:00
Ben Lye
e8b5f071fe Move signature conditionals to separate file, add channel order (#274) 2019-10-01 11:05:37 +02:00
pascallanger
c2404d4f0d Code cleanup 2019-09-30 20:53:10 +02:00
pascallanger
821732bba9 Initial S.Port send
!!! No retransmit for now !!!
2019-09-30 17:35:12 +02:00
pascallanger
e783ce5788 Failsafe modification
The following protocols are supporting failsafe: FrSkyX, Devo, WK2x01, SFHSS, HISKY/HK310 and AFHDS2A
In Serial mode failsafe is configured on the radio itself.
In PPM mode and only after the module is up and fully operational, press the bind button for at least 5sec to send the current stick positions as failsafe to the RX.
2019-09-27 16:20:43 +02:00
pascallanger
b89c23fe7c PPM channel remapping 2019-09-23 18:13:25 +02:00
pascallanger
96bc4f7cdf Revert Fix FrskyX failsafe hold/no pulse inversion 2019-09-22 20:00:04 +02:00
pascallanger
61a1c3742c Fix FrskyX failsafe hold/no pulse inversion 2019-09-22 17:12:00 +02:00
goebish
2be2dce584 Protocol FrSky D16 receiver (#266)
* Add skeleton for FrSkyX receiver protocol

* Binds & receives data packets

* Store bind information

* Fix compilation

* Bypass LNA since intended usage implies tx & rx are close together

* Bind channel has FS_AUTOCAL

* Add freq fine tune & low power mode (disable lna)

* Add TX ID check

* Retry longer until first packet is catched

* Fix chanskip for first packet

* Fix defines

* Fix bind

* Send channels to TX

* Fix RSSI reading

* Add missing static keyword

* Fix Validate.h

* Fix compilation
2019-09-17 23:35:19 +02:00
Ben Lye
48a52ae5b2 Update Multiprotocol.ino (#265) 2019-09-17 09:37:18 +02:00
Pascal Langer
078dc2ab17 AFHDS2A telemetry AA and AC 2019-09-14 16:34:19 +02:00
Pascal Langer
6f4522caa6 Revert "AFHDS2A telemetry AA and AC"
This reverts commit 3c76ce9f39c3d4e48a2a7d9482fc152533a189aa.
2019-09-14 16:31:27 +02:00
Pascal Langer
3c76ce9f39 AFHDS2A telemetry AA and AC 2019-09-14 16:27:07 +02:00
Pascal Langer
303c4615e9 Fix scanner compilation issue 2019-09-11 12:23:36 +02:00
Pascal Langer
7d327c1622 Scanner 2.4GHz
Thanks to Goebish for this spectrum analyzer.
It will work soon with the OpenTX 2.3 Spectrum Analyser tool.
2019-09-10 23:37:54 +02:00
Ben Lye
d80c218744 Add timeout to serial debug (#253)
* Wait 30s for serial debug instead of waiting forever
* Delay of 50ms to allow FTDI debugger to connect at startup
2019-09-05 08:33:01 +02:00
Pascal Langer
1ffb5c405b New protocol: Flyzone
Models compatible with TX FZ-410
Protocol 53
No sub protocol
2019-08-17 22:37:00 +02:00
Pascal Langer
ad29409407 New protocol ZSX
Model JJRC ZSX-280
Protocol number 52 ,no sub protocol
CH3: Throttle
CH4: Rudder
CH5: Light
2019-08-10 21:43:14 +02:00
Pascal Langer
6f33abb25e New protocol Traxxas
Protocol number: 43
Compatible with receivers 6519
Extended limits supported
CH1=AUX3
CH2=AUX4
CH3=THROTTLE
CH4=STEERING
2019-08-06 17:27:42 +02:00
Pascal Langer
2c9693389e Fix DSM telemetry and global cyrf6936 freq tunning
- Fixed DSM telemetry with some RXs (R720X)
 - Global frequency tunning for all protocols using the CYRF6936 by adjusting channel 15 when enabled
 - Changed default DSM_THROTTLE_KILL_CH to use channel 14
2019-08-01 14:23:08 +02:00
Pascal Langer
4671700b7d Devo protocol: number of channels 2019-06-23 17:13:30 +02:00
Pascal Langer
521b819b8a New protocol POTENSIC
Model: A20
Protocol number: 51
Sub protocol: none
Channels:
- CH5 TAKE_OFF/LANDING: momentary switch -100% -> +100%
- CH6 EMERGENCY: Stop +100%
- CH7 MODE: MODE: Beginner -100%, Medium 0%, Advanced +100%
- CH8 HEADLESS: Off -100%, On +100%
2019-06-19 11:25:21 +02:00
Pascal Langer
d940a7e49a New Redpine protocol
Protocol Redpine: 50
Sub protocol: Fast=0, Slow=1
Option=freq tunning
2019-06-17 17:16:39 +02:00
Pascal Langer
e8c6225ef0 New XN297L 250Kbps emu layer based on CC2500
This layer can be enabled/disabled with the option XN297L_CC2500_EMU in _config.h
Protocols which are using it so far:
GD00X, KF606 and MJXQ/E010&PHOENIX
2019-06-05 21:54:47 +02:00
Pascal Langer
a15a911f8e New protocol KF606
Model: KF606
Protocol: 49
No sub protocol
Channels: throttle, aileron and trim on ch5
2019-06-04 21:44:40 +02:00
Pascal Langer
443e1cec75 New protocol V761
Protocol number: 48
Sub_protocol: none
Channel 5: +100% expert, 0% mid=gyro on no rate limits, -100% beginer=gyro on and axis rate limited.
ONLY 1 ID IS AVAILABLE SO BE CAREFUL WHILE FLYING.
2019-05-17 16:25:39 +02:00
Pascal Langer
259d550d04 AFHDS2A: stop bind process as requested 2019-05-10 19:39:14 +02:00
Pascal Langer
6748f6ce78 Add XN297 Dump protocol
Protocol number: 63
Sub protocols: 0=250Kb, 1=1Mb, 2=2Mb
Option: -1=scan RF channels, 0-84=RF channel
DEBUG_SERIAL must be enabled
If a valid frame is received the frame will be sent on the serial port.
2019-05-08 22:01:24 +02:00
Pascal Langer
103acb8294 Add PPM protocol list definition in _MyConfig.h 2018-12-10 11:34:11 +01:00
Pascal Langer
22711fad28 Update GD00X 2018-11-15 23:49:26 +01:00
Pascal Langer
903982afb7 V911S protocol
Protocol number 46
No sub protocol
CH5: yaw calib
2018-11-09 00:31:26 +01:00
Pascal Langer
c658a892f2 Fix some compilation issues 2018-11-07 15:52:39 +01:00
Pascal Langer
3f0d6cfcf1 Typo fix 2018-11-07 10:48:11 +01:00
Pascal Langer
c3ff49e86e E01X new protocol
New protocol E01X number 45
Sub protocol E012 number 0
Sub protocol E015 number 1
Channels:
ARM_SW      CH5
FLIP_SW     CH6
LED_SW      CH7
HEADLESS_SW CH8
RTH_SW      CH9
2018-11-06 22:06:19 +01:00
Pascal Langer
ea96c328fc Protocol NCC1701
CH5: Warp
Telemetry:
A1 voltage is used for crash detection. In case of a crash A1=0V. You can be assign a sound to the crash.
2018-11-03 17:24:47 +01:00
Pascal Langer
f42da14413 New NCC1701 protocol
NCC1701 - 44
Model: Air Hogs Star Trek USS Enterprise NCC-1701-A
Autobind protocol
Only 9 IDs available, cycle through them using RX_Num.
2018-11-02 21:20:57 +01:00
Pascal Langer
10788976b6 New protocol BUGSMINI
Models: MJX Bugs 3 Mini and 3H
Protocol BUGSMINI = 42
No sub_protocol
Telemetry = RX RSSI and battery voltage  good/warning/bad
RX_Num is used to give a number to a given model. You must use a different RX_Num per MJX Bugs Mini. A maximum of 16 Bugs Mini are supported.
Channels:
ARM	CH5
ANGLE	CH6
FLIP		CH7
PICTURE	CH8
VIDEO	CH9
LED		CH10
2018-10-17 13:23:27 +02:00
Pascal Langer
b40e7d6e97 Bugs: fixed telemetry disable compilation error 2018-10-11 17:58:07 +02:00
Pascal Langer
09c6adaa95 BUGS: fix 2018-09-10 21:28:37 -04:00
Pascal Langer
e7449897f9 BUGS new protocol
BUGS new protocol (number 41)
Models: Bugs 3, 6 and 8
Autobind protocol
Telemetry: TX & RX RSSI, Battery voltage good/bad
ARM	CH5
LED		CH6
FLIP		CH7
PICTURE	CH8
VIDEO	CH9
2018-08-28 16:13:28 +02:00
Pascal Langer
4bb4bd9792 New protocol WFLY (40)
Use the CYRF6936 RF component
Extended limit supported
No sub protocol
option=number of channels between 4 and 9. If outside of the range default=9.
2018-08-21 14:58:44 +02:00
Pascal Langer
9b30a3d72a FrSky X: SPORT polling
Mike's corrections to make SPORT working on Taranis.
2018-08-04 23:47:15 +02:00
Pascal Langer
d9f343e20b Hitec: new protocol
Hitec protocol using the CC2500 RF component
Protocol number: 39
Sub protocols:
 - Optima (0): the TX must be really close to the RX for the bind negociation to complete.
- Minima (1): untested
Optima supports basic telemetry using the FrSky Hub format: RX volt, TX RSSI,&LQI
2018-08-03 18:29:24 +02:00
Pascal Langer
f9f265271a Fix AFHDS2A
Fix bind issue with AFHDS2A
Add frskyd hub telemetry voltage 2 from external battery
Removed cflie warnings...
2018-07-20 15:24:33 +02:00
Arne Schwabe
add3fb13ef Fix module id returned to be 0 when saved to eeprom (#170)
Also fix that stm32 id is always either 0 or stm32 id
2018-06-12 12:41:38 +02:00
James Hagerman
07adeaf60d Adding CFlie protocol (#159) 2018-05-04 16:12:04 +02:00
Pascal Langer
aa8a059553 Documenattion: PPM protocol selection 2018-02-11 14:58:30 +01:00
Pascal Langer
ab27ee50b0 Introduction of Banks for the switch protocol selection 2018-01-30 12:02:45 +01:00