1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 04:45:20 +03:00
Commit graph

52 commits

Author SHA1 Message Date
Hydra
fb64fa0d61 CF/BF - Prevent exceptions that result in a white content panel occuring
when unplugging USB cable while in CLI mode.

Note: Various different exception scenarious were encountered in testing, the main solution seemed to be not trying to send when disconnected (!).  Other state  related issues were found along the way.
2017-05-05 16:01:34 +12:00
cs8425
f765fd3e19 add 'self' back 2017-02-10 21:35:51 +08:00
cs8425
6b99981b3b remove doubled up on tcp port validity checks 2017-02-09 14:32:34 +08:00
cs8425
4b6c0ea423 fix tcp connect can't set port 2017-02-08 23:52:31 +08:00
cs8425
e3cb799898 a little better error handle 2017-02-08 16:36:44 +08:00
cs8425
2f505314f5 fixes / improvements some variable / branch 2017-02-08 15:02:09 +08:00
cs8425
a2adfa0457 add support for connect over raw tcp socket 2017-02-07 23:27:47 +08:00
nathan
cbb7122336 disable stats 2016-06-15 22:25:11 -07:00
Dominic Clifton
c0038b43cc Force a cleanup when a serial device is lost, this happens when VCP
targets reboot.
2016-03-24 14:51:13 +01:00
Dominic Clifton
d319132135 Avoid exceptions when serial break or overruns occur without info
object.
2016-02-22 18:46:33 +01:00
Dominic Clifton
dea4cef2c2 Handle 'overrun' conditions the same way as 'break' conditions. 2016-01-12 19:35:13 +01:00
Michael Corcoran
7e736242d7 Serial: Attempt recovery of break condition 2015-12-24 00:12:59 +00:00
Dominic Clifton
b4730034c8 Disconnect on F1 boards when 'break' is received if connected. This
happens when the device reboots due to incorrect hardware
initialisation.  This prevents the GUI saying 'waiting for data'.

See https://github.com/cleanflight/cleanflight/pull/1436

Since the problem is already fixed in firmware there's not much reason
to spent development working on additional GUI fixes.  A disconnect will
suffice.
2015-12-16 14:49:58 +01:00
cTn
21e414f4b3 fix method name mismatch in serial layer 2014-12-05 10:23:53 +01:00
cTn
92f085f561 fix failed indentation in last commit 2014-11-22 06:54:25 +01:00
cTn
de87fab530 reworked serial layer (more verbose), added checks for chrome.runtime.lastError in connect and disconnect api calls 2014-11-22 06:31:46 +01:00
cTn
88abe0969d EXPERIMENTAL delayed connect callback chain bugfix, this took months to track down 2014-11-21 13:50:02 +01:00
cTn
c34938b9d6 serial.send won't depend on callback anymore 2014-10-08 11:15:02 +02:00
cTn
e20806c7a8 only fire recovery routine once if bus is not recoverable 2014-09-14 14:08:28 +02:00
cTn
25edf3a4bf improving the async transmission part in serial layer 2014-09-13 15:01:32 +02:00
cTn
46b3151e37 initial cleanup on the lowest level of serial layer, "system_error" bug is still unknown 2014-09-09 13:55:58 +02:00
cTn
0bd4af89c9 catch lastError cleanly in current context 2014-09-01 14:56:13 +02:00
cTn
893671fa2b check if result exists before comparison 2014-09-01 14:46:46 +02:00
cTn
dbf528345e another run on undefined comparators 2014-08-14 16:41:49 +02:00
cTn
377853b58a recovery bugfix 2014-08-10 06:01:21 +02:00
cTn
f16b3a479a corrections of inline functions 2014-08-09 20:40:40 +02:00
cTn
36f456d2e7 turning on strict mode for various js files 2014-08-09 19:38:46 +02:00
cTn
04960012ca tiny method re-order in serial layer 2014-07-16 14:06:15 +02:00
cTn
85bee11712 use analytics exception API to handle/report serial related issues 2014-07-16 13:07:24 +02:00
cTn
1885fba5a0 analytics overhaul 2014-07-16 12:59:12 +02:00
cTn
a7975883ee use GUI status instead of UI status 2014-07-02 13:54:48 +02:00
cTn
343cb15e61 another experimental fix for serial "system_error" 2014-07-01 12:48:20 +02:00
cTn
0baad91237 track bus recovery so it wouldn't fall into infinite loop, experimental fix 2014-07-01 04:13:33 +02:00
cTn
f269c8a8b4 serial error events hookup 2014-06-30 02:37:29 +02:00
cTn
959edc85e7 onReceiverError handle implementation 2014-06-28 14:25:11 +02:00
cTn
854a17e0f2 preparing some stuff for dongs 2014-05-03 01:03:24 +02:00
cTn
13ce2dc11b polish 2014-03-29 22:27:21 +01:00
cTn
58d43c381b removal of char_counter, new port_usage, i18n
added bitrate to serial object, removed last bits of 'port_handler'
interval code forgotten in the kill routines, new port_usage is now
saved in a separate file
2014-03-29 00:59:39 +01:00
cTn
9b29f78e3e whitespace trimming run 2014-03-08 06:25:15 +01:00
cTn
4b2d5c4a48 upgrading serial lib 2014-02-03 10:02:49 +01:00
cTn
f5113a55e2 implementation for current canary 34 2014-01-31 15:51:47 +01:00
cTn
2402c1b49b global serial statistics, remove obsolete code 2014-01-27 21:14:49 +01:00
cTn
c51e6eb2fb add function name (listeners readability/clarity) 2014-01-27 01:59:40 +01:00
cTn
d2a7b4559b removing obsolete parameter 2014-01-27 01:52:01 +01:00
cTn
c98bdd9f54 traffic tracking inside serial backend 2014-01-27 01:48:34 +01:00
cTn
d258cab005 don't repeat the same code 2014-01-27 00:48:21 +01:00
cTn
c389a71ece adding method to empty send buffer, limits 2014-01-26 21:37:19 +01:00
cTn
c7dae0f5e3 speed up 2014-01-26 20:19:47 +01:00
cTn
476a04fda3 cleanup on disconnect 2014-01-26 20:14:21 +01:00
cTn
e907531114 internal serial output buffer 2014-01-26 20:01:46 +01:00