299 Commits

Author SHA1 Message Date
Pascal Langer
8cc1b07456 Failsafe version 2017-12-07 18:16:16 +01:00
Pascal Langer
19f879da7f Failsafe 2017-12-07 17:28:01 +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
7debad6c67 SPORT polling 2017-12-01 17:55:24 +01:00
Pascal Langer
dc9b84ea8b _MyConfig.h 2017-12-01 16:46:42 +01:00
Pascal Langer
199c254838 Merge branch 'master' of https://github.com/pascallanger/DIY-Multiprotocol-TX-Module 2017-12-01 15:02:29 +01:00
Pascal Langer
7ff482dafe Rates in Bayang and MJXQ 2017-12-01 15:02:24 +01:00
Dennis
cec654a75b Update Protocol Details for CABELL protocol (#117)
* Added CABELL Protocol

* Added additional disclaimer to license.

* Revert "Added additional disclaimer to license."

This reverts commit a00bc9956a155a1a73dbbcd21fd19633d6d121ff.

* Added additional disclaimer

* Added CABELL_NRF24L01_INO define to config

* Updated available protocol list

Added CABELL protocol

* Removed unused variables

* Changed changel range to 45 channels that comply with USA FCC part 97 rules.

This change allows licenced HAMs to operate under part 97 rules instead
of part 15.  These channels are still in the ISM band, but overlap with
the part 97 amateur portion of the band.

* Changed protocol number to 33

Was previously 30, but the main branch has now allocated up to 32, so
changing to 33

* Corrected permutation calculation

* Added sub-protocol for setting failsafe values

* Opened up a free bit in the option byte for future use

* Fixed packet errors when trying to unbind when in bind mode

This use case didn't really make any sense, but it should not cause
packet errors, so fixed it.

* RSSI Telemetry for CABELL protocol

* Pins back to stock configuration

* Split checksum into MSB and LSB fields to avoid endian issue

* struct change for checksum

* Added analog values to telemetry packet that could be used for LIPO voltage

* Added MODE_CABELL to frsk_link_frame

* Updated packet layout comments

* Fixed telemetry conditional compiles in CABELL protocol

* Telemetry working; moved power override bit

* Changed telemetry to 250 kbps and adjustable packet period - imporves reliability/range

* Changed CABELL protocol number to 34

* Fixed typos in comments

* Fix ATMEGA BASH_SERIAL buffer overrun

Changed the compare to TXBUFFER_SIZE to >=
If next wasn't set to zero until > TXBUFFER_SIZE then the next time the
routines get called the the array index references outside the buffer
(e.g tail+1)

* Revert "Fix ATMEGA BASH_SERIAL buffer overrun"

This reverts commit ba4526ee89c2b5a946a659eea2c9581c36254809.

* Updated documentation for CABELL V3 Protocol

* Updated Documentation for the CABELL V3 Protocol
2017-12-01 14:13:06 +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
Pascal Langer
28868e4c78 _MyConfig.h 2017-11-30 13:00:10 +01:00
Pascal Langer
01bef23ac9 CG023 & H8_3D protocols
- Removed sub_protcol H8_3D under protocol CG023
 - Added protocol H8_3D (36)
 - Added sub_protocols H8_3D/H8_3D (0)
 - Added sub_protocols H8_3D/H20H (1)
 - Added sub_protocols H8_3D/H20Mini (2)
 - Added sub_protocols H8_3D/H30Mini (3)
2017-11-29 14:13:12 +01:00
Pascal Langer
cc83177542 Protocol DM002: add 1 more TX ID/RF set
Total of 3 known TX IDs & RFs sets.
2017-11-28 17:24:24 +01:00
Pascal Langer
5a342cf8e6 Protocol Bayang: new subprotocol IRDRONE
Protocol Bayang (14)
new subprotocol IRDRONE (3)
2017-11-28 17:17:02 +01:00
Pascal Langer
9bf5b0c9a7 ESKY 150: new protocol
New protocol number 35
No sub protocols
option=0->4 channels, option=1->7 channels
2017-11-27 11:20:57 +01:00
Pascal Langer
5cb2326ea7 Using Serial for debug 2017-11-26 20:58:36 +01:00
Pascal Langer
a3c2628359 Replaced debug serial routines 2017-11-26 20:38:30 +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
1318f1a29b S-FHSS failsafe again... 2017-11-23 15:51:07 +01:00
Pascal Langer
bd9c772a52 S-FHSS: fix failsafe 2017-11-22 14:51:45 +01:00
Pascal Langer
76e9002995 S-FHSS failsafe 2017-11-22 13:56:42 +01:00
Pascal Langer
41f0a712fd S-FHSS improvements 2017-11-21 21:45:03 +01:00
Pascal Langer
35089febab SFHSS subprotocols 2017-11-20 22:02:14 +01:00
Pascal Langer
a95fd1e1d8 SFHSS sub protocols 2017-11-20 21:58:01 +01:00
Pascal Langer
8ea70a1b77 Tons of updates 2017-11-20 16:01:12 +01:00
midelic
57a78535f2 updated version number 2017-10-20 17:06:45 +01:00
midelic
2753f6c4e5 added Mike Blandord modifications
- used bootloader to flash multi-module with TX
-updated  FrslyX protocol telemetry sequence
2017-07-28 23:39:51 +03:00
pascallanger
995bb921c1 DM002 protocol
protocol number 33
sub_protocol none=0
ch5=flip
ch6=led
ch7=headless
2017-03-22 14:55:55 +01:00
pascallanger
d7076f5295 PPM: add MIN_PPM_CHANNELS and MAX_PPM_CHANNELS 2017-02-28 10:36:35 +01:00
pascallanger
55bc6f9a00 FrSkyX telemetry RSSI and LQi 2017-02-24 13:27:19 +01:00
pascallanger
548390b0d7 GW008 protocol addition
Protocol number: 32
No sub_protocol
2017-02-24 11:00:10 +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
68e9948493 . 2017-02-07 12:09:13 +01:00
pascallanger
c02f273d57 New feature: end bind
This new feature is available:
- in serial mode and when binding from the GUI. As soon as the Bind
window is closed = serial bind bit was set and cleared, the current bind
operation will be terminated.
- if the bind was initiated from the Bind on channel feature (bind
channel goes high) then as soon as the bind channel goes low the current
bind operation will be terminated.
Tested on ersky9x which does open a bind window, not sure about
OpenTX...

Some protocols (Hubsan, Assan, FY326, Shenqi...) which are waiting for
model/RX to reply will stay in bind mode.
2017-02-06 18:46:34 +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
9ce23c3d61 Protocol change: make sure that main loop is aware 2017-02-02 14:30:46 +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
4f5dfcc65b Few comments tweak 2017-01-31 09:12:06 +01:00
pascallanger
e30ebd39fd FrSkyX LBT EU addition
Add support for LBT EU 16/8 channels accessible through sub protocols
EU_16 and EU_8
Also includes modification of FrSkyV, D, X CC2500 initialization
2017-01-30 16:11:45 +01:00
pascallanger
ba7290fdda New protocol Q303
Q303 protocol number: 31
Sub ptotocols:
-  Q303 = 0
-  CX35 = 1
- CX10D = 2
- CX10WD = 3
2017-01-24 16:58:48 +01:00
pascallanger
8677e73d75 WK2x01: subprotocols addition
WK2801 number 0, 8 channels, fixed id is not supported
WK2401 number 1, 4 channels
W6_5_1 number 2, 6 channels
W6_6_1 number 3, 7 channels
W6_HEL number 4, 6 channels, option is used to limit COL
W6_HEL_I number 5, 6 channels, COL inverted, option is used to limit COL
2017-01-03 19:56:20 +01:00
pascallanger
fbb919d767 New protocol WK2x01
Protocol WK2x01 number 30
Sub protocols:
- WK2801 number 0, 8 channels, fixed id not supported
- WK2601 number 1, 6/7 channels, option is used see doc for details
- WK2401 number 2, 4 channels
Extended limits supported
Autobind protocol
Most receivers support WK2801 so always start trying this sub protocol
first.
2017-01-03 19:19:53 +01:00
pascallanger
6d0e4d5a38 Fix Bind channel 2017-01-02 18:22:03 +01:00
pascallanger
0d0acb9d10 Bind function on channel 16
Toggling channel 16 (-100%->+100%->-100%) will execute a bind only if
the loaded protocol is an autobind protocol or autobind is set AND
throttle is low (below -95%).
2017-01-02 17:04:50 +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