57 Commits

Author SHA1 Message Date
Pascal Langer
ebb8a33c1a Fix potential bug with wait loops 2020-12-10 16:52:34 +01:00
Pascal Langer
43c2843490 Update AFHDS2A_a7105.ino 2020-09-23 23:08:26 +02:00
Pascal Langer
c6ab696949 AFHDS2A: fix X6B telemetry issue? 2020-09-21 10:57:19 +02:00
Pascal Langer
69c95ca153 Fix compilation issues when Telem is disabled 2020-07-22 15:27:06 +02:00
Pascal Langer
d6da230369 Flysky AFHDS2A: 16 channels + LQI
Use the 2 new sub protocols to extend the protocol to 16 channels on IBUS
2020-07-15 23:58:41 +02:00
pascallanger
db442d81dd Fix all compilation issues (?) 2019-11-11 19:15:39 +01:00
pascallanger
c5d4e8c191 Failsafe improvement 2019-11-07 02:30:03 +01:00
pascallanger
0fddd9c119 Fix AFHDS2A RX_LQI forward on CH
Hopefully...
2019-10-25 22:03:39 +02: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
pascallanger
ff96146b04 Enhanced serial protocol
Protocol 0..255
RX_Num 0..63
Disable channel mapping -> not implemented yet
Disable telemetry
Data 0-9 bytes
2019-10-07 19:06:00 +02:00
pascallanger
821732bba9 Initial S.Port send
!!! No retransmit for now !!!
2019-09-30 17:35:12 +02:00
Pascal Langer
11f4e636e3 AFHDS2A telemetry fix
Discard RX config packets
2019-09-19 10:51:24 +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
259d550d04 AFHDS2A: stop bind process as requested 2019-05-10 19:39:14 +02:00
Pascal Langer
1a8f9c5a12 AFHDS2A extended telemetry forward 2019-05-10 18:17:09 +02:00
Pascal Langer
1916eb3095 AFHDS2A: add debug on full telemetry frames 2019-05-10 11:04:21 +02:00
Pascal Langer
2b47958207 Debug on AFHDS2A telemetry 2019-05-06 22:39:18 +02:00
Pascal Langer
5538d4d1c4 AFHDS2A update RF channels and Failsafe
You need to bind all the RXs again...
2019-04-26 17:51:14 +02:00
Pascal Langer
bd78739217 AFHDS2A: LQI to RX channel 2018-11-20 21:04:29 +01: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
ad18856f7a AFHDS2A limit to 12 channels 2018-07-20 19:11:03 +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
Pascal Langer
8906c85d06 Few modifications 2018-05-04 16:08:29 +02:00
Pascal Langer
6fea0c2a93 Force latest board versions 2018-01-24 10:17:23 +01: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
bef562964d Revert "Merge branch 'Pascal' into master"
This reverts commit fc5495b6d1d68177634fcd92932ba44b8e47d91e, reversing
changes made to f3838ae4b0512f0970f6bafa0d5a9e493ffc0c40.
2017-12-30 05:32:43 +01:00
midelic
fc5495b6d1
Merge branch 'Pascal' into master 2017-12-24 20:24:59 +01:00
Pascal Langer
880e463b01 FrSkyX failsafe 2017-12-10 09:48:20 +01:00
Pascal Langer
4418cab3a5 Failsafe: default for PPM and set on radio for Serial 2017-12-07 16:02:18 +01:00
Pascal Langer
8ea70a1b77 Tons of updates 2017-11-20 16:01:12 +01:00
midelic
f9e6b30550
Fix AFHDS2A failsafe problem 2017-11-04 20:40:20 +01:00
pascallanger
700b922350 Fix AFHDS2A power issue 2017-04-10 11:33:26 +02:00
pascallanger
2ba3552578 AFHDS2A: prevent TX inbound swamping during bind 2017-02-23 10:07:09 +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
Arne Schwabe
a196b71d36 Implement Multiprotocol Telemetry
This allows the multi module to tell the TX software (e.g. OpenTX) which telemetry protocol is in use. Also Status of the module and signaling binding/invalid protocol
2016-12-18 15:40:05 +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
Arne Schwabe
7840438bfc Allow TX to request forwarding of FlySky telemetry data 2016-11-05 01:21:26 +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
3a3a2ec76d AFHDS2A 2016-10-22 13:36:07 +02:00
pascallanger
01ef79ac33 AFHDS2A again 2016-10-22 12:06:44 +02:00
pascallanger
f78e11057d ... 2016-10-21 19:57:48 +02:00
pascallanger
314ee96525 AFHDS2A: another trial 2016-10-21 19:39:59 +02:00
pascallanger
efc1223d45 AFHDS2A: again... 2016-10-21 18:37:27 +02:00
pascallanger
38d9aa4997 AFHDS2A: another trial... 2016-10-21 18:10:25 +02:00