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
cTn
aa49e8c375
different approach to serial API logging
2014-01-25 13:48:31 +01:00
cTn
9caa5e251e
adding new serial object utilizing new serial api
2014-01-18 11:44:43 +01:00