130 Commits

Author SHA1 Message Date
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
835cc3d0a2 Removed some dependencies to the SPI library 2017-12-19 22:44:20 +01:00
Ben Lye
b49584ec16 Add force tuning setting for CC2500 protocols (#124) 2017-12-19 20:14:49 +01:00
Pascal Langer
334e49c4ca STM32 final timer fix 2017-12-19 14:27:39 +01:00
Pascal Langer
3fc5be111b STM32 fix timer issues 2017-12-18 21:10:21 +01:00
Pascal Langer
dc9f738f30 STM32 timer hack 2017-12-17 01:13:43 +01:00
Pascal Langer
337216efac Fix for STM32 2017-12-15 17:31:25 +01:00
Ben Lye
5c568da125
Board Definition Updates (#121) 2017-12-11 20:55:24 +00:00
Pascal Langer
f46b8366b0 Small mods 2017-12-11 18:49:50 +01:00
Pascal Langer
544927b9b7 Fix typos 2017-12-11 13:00:08 +01:00
Pascal Langer
8b5bb0d358 Fix compilation errors based on config def 2017-12-10 15:41:50 +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
7debad6c67 SPORT polling 2017-12-01 17:55:24 +01:00
Pascal Langer
dc9b84ea8b _MyConfig.h 2017-12-01 16:46:42 +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
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
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
5e89d49bd9 Serial debug 2017-11-26 22:07:34 +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
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
76e9002995 S-FHSS failsafe 2017-11-22 13:56:42 +01:00
Pascal Langer
8ea70a1b77 Tons of updates 2017-11-20 16:01:12 +01:00
midelic
d451af365a
Fix telemetry FrSkyX protocol 2017-11-04 17:14:29 +01:00
midelic
ef2d4d6b12 Add flashing with TX for STM32_board 2017-07-31 22:21:41 +03: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
bdfeeb9a41 Fix STM32 issue and OrangeTX compilation 2017-04-10 11:24:21 +02: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
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
11650450c8 Chip select based on pin definition 2017-02-07 12:08:11 +01:00
pascallanger
bf5598515e Removed board option in _config.h 2017-02-06 21:51:03 +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
85f4dbd670 FrSkyD telemetry and serial TX buffer 2017-02-03 16:49:19 +01:00
pascallanger
9ce23c3d61 Protocol change: make sure that main loop is aware 2017-02-02 14:30:46 +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
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
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
e51fb06ceb WK2x01: added fixed id mode for WK2801 2017-01-04 11:35:38 +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
282b2a0a43 Bind from channel: Cosmetic code change 2017-01-03 12:00:25 +01:00
pascallanger
6d0e4d5a38 Fix Bind channel 2017-01-02 18:22:03 +01:00
pascallanger
43956bbf2c Bind channel fix 2017-01-02 17:45:08 +01:00
pascallanger
18e31b3821 Bind channel: configurable channel number
Bind channel can be configured between 5 and 16.
2017-01-02 17:26:35 +01:00