340 Commits

Author SHA1 Message Date
Dennis
ba4526ee89 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)
2017-11-25 19:53:15 -05:00
Dennis
4b7e4d6bad Merge remote-tracking branch 'refs/remotes/pascallanger/master'
# Conflicts:
#	Multiprotocol/Multiprotocol.h
2017-11-25 17:45:58 -05:00
Dennis
1da1d8af19 Merge remote-tracking branch 'refs/remotes/pascallanger/master' 2017-11-25 17:35:33 -05: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
3353637c8f S-FHSS update 2017-11-24 13:39:50 +01:00
Dennis
8b8812a194 Merge remote-tracking branch 'refs/remotes/pascallanger/master'
# Conflicts: all resolved by taking the master's code since all changes
were already taken into master
#	Multiprotocol/CABELL_nrf224l01.ino
#	Multiprotocol/Multiprotocol.h
#	Multiprotocol/Multiprotocol.ino
#	Multiprotocol/NRF24l01_SPI.ino
#	Multiprotocol/Validate.h
#	Multiprotocol/_Config.h
2017-11-24 00:13:31 -05: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
6bf873f4db timing 2017-11-23 15:53:15 +01:00
Pascal Langer
1318f1a29b S-FHSS failsafe again... 2017-11-23 15:51:07 +01:00
Pascal Langer
205d728798 S-FHSS Failsafe: SFHSS_FAILSAFE_THROTTLE 2017-11-22 15:21:36 +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
b15a5d4a45 Flysky and Assan output map 2017-11-20 19:12:37 +01:00
Pascal Langer
113caf4970 AVR Boards: auto bootloader setting 2017-11-20 17:04:38 +01:00
Pascal Langer
8ea70a1b77 Tons of updates 2017-11-20 16:01:12 +01:00
pascallanger
af88abb13f
Delete FrSkyX_cc2500.ino 2017-11-20 15:53:00 +01:00
Dennis
c6efd0f87a Fixed typos in comments 2017-08-10 08:12:59 -04:00
hexfet
a1fb4a0ac5 Revert terminating newline. 2017-07-22 22:41:34 -04:00
hexfet
ebf0c4fae6 Change spaces to tabs. 2017-07-22 22:39:26 -04:00
hexfet
44a086a27b Revert terminating newline. 2017-07-22 22:35:43 -04:00
hexfet
4624075112 Update sequence number logic to send invalid sequence indicator when invalid sequence detected. Works to resync telemetry stream as tested with EU firmware version. 2017-07-22 22:07:42 -04:00
Dennis
37337b427b Changed CABELL protocol number to 34 2017-06-18 16:09:37 -04:00
Dennis
4f880ec083 Changed telemetry to 250 kbps and adjustable packet period - imporves reliability/range 2017-05-29 16:22:18 -04:00
Dennis
d26404ca85 Telemetry working; moved power override bit 2017-05-07 19:10:02 -04:00
Dennis
810b8a07ac Fixed telemetry conditional compiles in CABELL protocol 2017-05-02 00:15:12 -04:00
Dennis
354770d136 Updated packet layout comments 2017-04-20 20:25:17 -04:00
Dennis
f78447e146 Added MODE_CABELL to frsk_link_frame 2017-04-19 18:28:54 -04:00
Dennis
8a56be3d23 Added analog values to telemetry packet that could be used for LIPO voltage 2017-04-19 18:27:29 -04:00
Dennis
76f1ec65f0 struct change for checksum 2017-04-19 18:26:19 -04:00
Dennis
255353a054 Split checksum into MSB and LSB fields to avoid endian issue 2017-04-19 18:25:44 -04:00
Dennis
f1089ad268 Pins back to stock configuration 2017-04-15 21:11:13 -04:00
Dennis
58a4be6979 RSSI Telemetry for CABELL protocol 2017-04-15 21:06:57 -04:00
Arne Schwabe
3850ce88d3 DSM: Remove special bind stick positionsD
Spektrum own remotes transmit normal values during bind and actually use this (e.g. Nano CP X) to select the transmitter mode (e.g. computer vs non-computer radio, so always end normal output
2017-04-12 16:10:18 +02:00
pascallanger
700b922350 Fix AFHDS2A power issue 2017-04-10 11:33:26 +02:00
pascallanger
bdfeeb9a41 Fix STM32 issue and OrangeTX compilation 2017-04-10 11:24:21 +02:00
pascallanger
32c59cb583 DM002 2017-03-23 20:48:34 +01:00
pascallanger
940a89fa38 DM002: 2 TX ID/RF & features addition 2017-03-23 18:05:00 +01:00
pascallanger
59af0594dc DM002: correct channels 2017-03-22 16:17:12 +01:00
pascallanger
8cf6d4f7d8 add DM002 2017-03-22 14:58:59 +01: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
Dennis
8466d49a3a 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.
2017-03-14 20:52:16 -04:00
Dennis
8b8b26e675 Opened up a free bit in the option byte for future use 2017-03-14 20:50:50 -04:00
Dennis
efaca3c6e7 Merge remote-tracking branch 'refs/remotes/pascallanger/master' 2017-03-14 13:40:26 -04:00
Dennis
90c50293df Added sub-protocol for setting failsafe values 2017-03-11 13:03:22 -05:00
Dennis
b67e0ec6a7 Corrected permutation calculation 2017-03-11 12:57:16 -05:00
pascallanger
d7076f5295 PPM: add MIN_PPM_CHANNELS and MAX_PPM_CHANNELS 2017-02-28 10:36:35 +01:00