67 Commits

Author SHA1 Message Date
Pascal Langer
7debad6c67 SPORT polling 2017-12-01 17:55:24 +01:00
Pascal Langer
a3c2628359 Replaced debug serial routines 2017-11-26 20:38:30 +01:00
Pascal Langer
2181d0b33c Final bit bashing fix? 2017-11-26 08:41:55 +01:00
Pascal Langer
41d579dc23 Invert serial atmega bug correction 2017-11-25 09:32:00 +01:00
Pascal Langer
7d41017850 Updates
Implemented debug output on uart1 for stm32
Replaced hardcoded eeprom offsets with documented constats
Fixed a bug affecting telemetry on Atmega328p using the invert_telemetry flag.
2017-11-24 23:01:47 +01:00
Pascal Langer
9e8978166e New CABELL protocol
Protocol number: 34
sub_protocols:
0 CABELL_V3
1 CABELL_V3_TELEMETRY
6 CABELL_SET_FAIL_SAFE
7 CABELL_UNBIND
2017-11-23 18:44:31 +01:00
Pascal Langer
8ea70a1b77 Tons of updates 2017-11-20 16:01:12 +01:00
pascallanger
55bc6f9a00 FrSkyX telemetry RSSI and LQi 2017-02-24 13:27:19 +01:00
pascallanger
997d31addd FrSkyX add telemetry TX_RSSI, RX_LQI, TX_LQI 2017-02-24 11:48:25 +01:00
pascallanger
0c5fae01b5 WAIT_FOR_BIND feature
This feature will not activate the selected protocol unless a bind is
requested using bind from channel or the GUI "Bind" button. It is only
enabled if bind from channel and autobind are set since I think they are
working well together.
The goal is to prevent binding other people's model when powering up the
TX, changing model or scanning through protocols.
There is a new blinking pattern associated to it as well as a new status
"Waiting for bind".
This feature is enabled by default in _config.h .
2017-02-10 17:38:07 +01:00
pascallanger
219beb4a0e Fix Multi_status bind flag when invalid protocol selected 2017-02-08 22:42:39 +01:00
pascallanger
0a7cd3d6e9 Reset invert serial when switching protocol 2017-02-06 15:50:43 +01:00
pascallanger
3516e5ae8a FrSkyD telemetry fix 2017-02-04 10:11:25 +01:00
pascallanger
04bbe3187f FrSky telemetry 2017-02-03 22:02:35 +01:00
pascallanger
21ab94c512 FrSkyD and X telemetry 2017-02-03 21:06:21 +01:00
pascallanger
85f4dbd670 FrSkyD telemetry and serial TX buffer 2017-02-03 16:49:19 +01:00
pascallanger
f81e7cb78a FrSkyD telemetry 2017-02-02 18:07:46 +01:00
pascallanger
47b4409f3e FrSkyD telemetry 2017-02-02 14:30:56 +01:00
pascallanger
4eb2d073ac SFHSS channels mapping 2017-02-01 17:51:04 +01:00
pascallanger
021c463d80 FrSkyD telemetry 2017-02-01 12:47:28 +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
c7e7a559a6 FrSkyD Telemetry update 2017-01-31 15:26:49 +01:00
pascallanger
7ee918ad49 Multiprotocol status
Along with the latest ersky9x version, display the module version and if
a specific protocol is available or not.
2017-01-30 16:11:46 +01:00
pascallanger
72ebe937fb Multi Telemetry: fixed DSM 2016-12-23 09:48:13 +01:00
pascallanger
8efa5bc1dc Multi Telemetry: update version 2016-12-22 10:31:00 +01:00
pascallanger
9b6d2bce58 Multi Telemetry: fix patch level 2016-12-21 20:26:31 +01:00
pascallanger
f56c9deb00 MULTI_TELEMETRY: couple of additions 2016-12-19 17:33:30 +01:00
Arne Schwabe
bdef0612f7 Keep old AFHDS2A format for ersky9x 2016-12-18 16:54:44 +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
Arne Schwabe
fff8116430 Describe multi telemetry protocol 2016-12-18 15:38:44 +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
7d7ca11c81 Telemetry: volatile 2016-12-05 21:51:27 +01:00
pascallanger
8f0ecac842 Core: stop transmitting if serial or ppm signal disappears 2016-12-04 18:58:29 +01:00
pascallanger
4f9f10ddf2 Core: blinking pattern for PPM signal detection 2016-11-18 16:51:52 +01:00
pascallanger
4348f4b0d4 STM32: USART init changed 2016-11-06 16:34:40 +01:00
Arne Schwabe
7840438bfc Allow TX to request forwarding of FlySky telemetry data 2016-11-05 01:21:26 +01:00
pascallanger
f56ca6318a STM32: align STM32 code with other platforms for tx_pause/tx_resume 2016-10-27 11:15:25 +02: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
01ef79ac33 AFHDS2A again 2016-10-22 12:06:44 +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
eb6fc4f8cf Fix for STM32 board 2016-10-17 08:37:09 +02:00
pascallanger
f557609e9e STM32 board & DSM fixes
Loads of changes:
STM32 board introduction: NOT TESTED
XMEGA renamed to ORANGE_TX to be more explicit
DSM: added reset if cyrf freezed
Validate: added a validate file to verify the different compilation
options
2016-10-16 19:51:52 +02:00
pascallanger
fbb7a684bf Fixed OrangeTX compilation 2016-09-21 14:45:17 +02:00
pascallanger
cfcd6e5f93 Code cleanup 2016-09-21 14:28:37 +02:00
pascallanger
fcd47ecec6 Correct pins... 2016-09-19 23:43:14 +02:00
Mike Morrison
bb9018c094 made pins configurable and added support for nano 2016-09-16 20:34:28 -07:00
pascallanger
99e8be227e PPM Telemetry: added serial speeds
Only supported for none invert telemetry:
FrSkyD (Incl Hubsan): 9600bps
FrSkyX: 57600bps
DSM: 125000bps
2016-09-16 10:39:44 +02:00
pascallanger
04bdf3f26a Multi core extended to support up to 63 protocols
Compatible with ersky9x at this time.
2016-09-15 12:38:49 +02:00
pascallanger
d4b85e3b1c Hontai protocol & Bit bashing pause/resume 2016-09-09 18:34:29 +02:00