24 Commits

Author SHA1 Message Date
pascallanger
db442d81dd Fix all compilation issues (?) 2019-11-11 19:15:39 +01:00
pascallanger
31ff27b1d3 PPM mode FrSkyX to FrSkyD
If TELEMETRY_FRSKYX_TO_FRSKYD is defined in PPM mode FrSkyX simple telemetry will be sent using FrSkyD format:
RX_RSSI, RX_Batt, TX_RSSI, TX_LQI
2019-10-12 19:50:41 +02:00
pascallanger
cd7ede006c Sync radio -> module 2019-10-10 23:12:09 +02:00
Pascal Langer
655ea98bf1 Hubsan/H501: removed useless channels headless2 and osd 2018-08-31 00:01:05 +02:00
Pascal Langer
f515ba79af Hubsan sub_protocol 501 features
sub_protocol H501
Model H122D: add flip on ch13 and OSD on ch14
Model H123D: add flight modes on ch16 -> -100% Sport mode 1,0% Sport mode 2, +100% Acro
2018-08-29 17:29:50 +02:00
Pascal Langer
984aa3f413 Switch all protocols to use a resolution of 2048
- Change how PPM is handled with a resolution of 2048 and scaled to match serial input range. PPM is now fully scaled for all protocols which was not the case before. If you are using PPM, you might have to adjust the end points depending on the protocols.
 - Change all range conversions to use 2048 where possible
 - Updated all protocols with new range functions
 - Protocols which are taking advantage of 2048 are Assan, FrSky V/D/X, DSM, Devo, WK2x01
 - Renamed AUX xto CHx for code readbility
2018-01-08 19:37:14 +01:00
Pascal Langer
5cc49a8862 A7105 dynamic tuning on channel 15 2018-01-04 14:37:05 +01:00
Pascal Langer
70db505dd9 New Corona protocol and autobind bug fix 2018-01-03 13:04:58 +01:00
Pascal Langer
e4f4d278a8 Hubsan protocol
Added subprotocol H107 (0)
Added subprotocol H301 (1)
Added subprotocol H501 (2)
2017-11-30 20:12:23 +01:00
pascallanger
41d75da33f FrSkyD telemetry
- rewritten the handling of the incoming over the air telemetry packet
- rewritten the TX_RSSI calculation (link frame[4])
- added RX LQI and TX_LQI information in the link frame (frame[5] and
frame[6])
2017-02-01 09:28:35 +01:00
pascallanger
dfd8d0fa3d Added: Bayang telemetry
Changed telemetry configuration and validation for AFHDS2A and HUBSAN
Added default Bayang telemetry from Silverxxx:
- Option=1 to activate telemetry (option=0 -> standard Bayang protocol)
- Value returned to the TX: RX RSSI, TX RSSI, A1=uncompensated battery
voltage, A2=compensated battery voltage
2016-12-06 22:30:48 +01:00
pascallanger
909fb2eb2b AFHDS2A: working version
- Wait for transmit completion before switching to RX (no more fixed
delays...)
- Verify if data has been received before processing it (better handling
of telemetry)
- Added TX_RSSI (along with the existing RX_RSSI)
Known issue: RX_RSSI value needs to be looked at. I'm seeing only values
between 157 (bad) and 196 (good). Is this normal for this protocol?
2016-10-26 13:51:54 +02:00
pascallanger
b2209eaad0 AFHDS2A fix 2016-10-24 23:14:42 +02:00
pascallanger
999c630c5a AFHDS2A protocol addition: UNTESTED
Protocol number: 28
Sub protocols:  PWM_IBUS = 0, PPM_IBUS = 1, PWM_SBUS = 2, PPM_SBUS = 3
Option value =0->50Hz, =1->400Hz, =2->5Hz
Extended channel range supported
Telemetry supported for voltage and RSSI (RX RSSI)
2016-10-20 19:29:52 +02:00
pascallanger
236ac52925 Fix global ID random 2016-09-12 16:41:40 +02:00
pascallanger
6d546094ef New protocols and optimizations
New protocols:
- FQ777 for FQ777-124
- MT99xx -> "LS" for 114/124
2016-08-01 21:57:27 +02:00
pascallanger
b9e45c4bb0 Fix: Hubsan telemetry packet check function 2016-01-28 19:31:03 +01:00
pascallanger
9d3b1d75d1 Revert "Fix: Hubsan telemetry packet check function & Change: Telemetry variables to static"
This reverts commit ac78ddcc8240970b153ad0fddad54e8800187656.
2016-01-28 19:27:56 +01:00
pascallanger
ac78ddcc82 Fix: Hubsan telemetry packet check function & Change: Telemetry variables to static 2016-01-28 18:43:59 +01:00
pascallanger
85548d6e8e Add: Telemetry display for Hubsan TX RSSI 2016-01-28 17:25:15 +01:00
pascallanger
b50bedef39 Hub telemetry and fix compilation warnings/errors if protocols are commented 2016-01-27 17:57:33 +01:00
pascallanger
151e82a2c3 _Config.h file and all protocol settings for PPM mode 2016-01-22 16:23:59 +01:00
pascallanger
bc42dbf88a Core and all protocols have been updated
Lot of changes in this new master
ChangeLog:
- Core: LED flashing when an invalid protocol has been selected
- Core: Channels 5 to 12 available as switches for all protocols: code
and size optimization
- Documentation (readme.md): fully updated, all protocols/sub
protocols/channels described, models example, many improvements
- All protocols have been updated in some way, here are some highlights:
* Bayang: added picture, video and inverted channels
* CG023->H8_3D: added light and calibration channels
* CX10: added sub protocols Q282, JC3015_1, JC3015_2, MK33041
* ESky: added new protocol - untested
* Hubsan: added compatibility with the new Hubsan Plus protocol
* KN: fully rewritten protocol: added sub protocols WLTOYS and FEILUN,
11 channels support

New version successfully tested on all my models: Flysky RX/F939/V911
protocol Flysky, Frsky RX protocol Frsky, Hubsan X4 protocol Hubsan,
Hisky HCP100/HCP80 protocol Hisky, HK-3000/HK3100 RX protocol
Hisky/HK310, XINXUN X39 protocol YD717/XINXUN, Symax X5C-1 protocol
SymaX/SYMAX, Cheerson CX-10A protocol CX10/BLUE, Eachine 3D-X4 protocol
CG023.

To access new protocols from er9x/ersky9x, you need to build a version
from this github repository https://github.com/pascallanger/mbtx based
on the latest er9x r820 and ersky9x r218.
2016-01-20 10:51:17 +01:00
pascallanger
e4ab6fd1b0 First commit 2015-12-30 01:41:12 +01:00