1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-04 15:24:12 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
bobh66
d8c30c36d4 Add error handling and optimize FileIO::doBuffer() in the Bridge library
Update FileIO::doBuffer() to check for TRANSFER_TIMEOUT and set buffered to 0, and optimize by incrementing readPos instead of moving all of the data one byte to the left in the buffer to skip the error code byte.
2014-01-04 18:05:06 -06:00
Cristian Maglie
583dafb576 Fixed return value of Bridge::get(..) (returning 0 also with valid data len >0) 2013-11-25 23:08:40 +01:00
Cristian Maglie
fe6295e124 Implemented multi-byte read in File::read of Bridge library. 2013-11-22 16:33:07 +01:00
Cristian Maglie
e5e9d536ab Fixed typo 2013-11-22 15:04:51 +01:00
Cristian Maglie
fcb20ea80c Added missing File::size() method to Bridge. 2013-11-22 15:04:23 +01:00
Cristian Maglie
bc584744f6 Detect version of bridge.py running on the Yun. 2013-11-22 14:34:43 +01:00
Cristian Maglie
258c7af469 Bridge library is now platform independent. 2013-11-15 12:54:59 +01:00
Federico Fissore
00bdd3df03 Run new astyle formatter against libs Bridge, SpacebrewYun and Temboo 2013-10-21 10:13:31 +02:00
Federico Fissore
b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Federico Fissore
fdf10eb663 Better parametric Bridge.begin() 2013-10-18 09:31:07 +02:00
Federico Fissore
ddcb89e1fa Removed wrong executable flag on many files 2013-09-27 18:18:51 +02:00
Federico Fissore
df7e5aef74 Missing YunServer and YunClient keyword highlight 2013-09-27 16:16:37 +02:00
Cristian Maglie
ca90bf75cb Bridge: Increased timeout when receiving "lenght" field.
Fixes a weird timing issue:
http://forum.arduino.cc/index.php?topic=188955.0
2013-09-21 23:47:37 +02:00
Cristian Maglie
43477bd9d6 Merge pull request #1583 from cow77/ide-1.5.x
Makes it possible to link Bridge to another linux-system.
2013-09-21 12:01:45 -07:00
cow77
b0941ad5c9 Makes it possible to link to another linux-system, not running with
250000 (not Yun, but f.i. an Arduino mega2560 with a modified/expanded
WR703N).

The default could stay at 250000 (Yun).
2013-09-20 17:09:44 +02:00
Cristian Maglie
be936dd590 Fixed buffer overflow in File::doBuffer() (dreggy)
Fixes #1580
2013-09-19 16:22:12 +02:00
Federico Fissore
65f0819b05 reviewed Bridge example headers 2013-09-10 10:23:29 +02:00
Federico Fissore
3e2008dfcc updated Bridge examples headers 2013-09-09 20:56:15 +02:00
Fede85
15fd2d1158 Added the header to the Bridge.ino example
Removed Serial.begin(), there are no serial prints in the sketch.
2013-09-09 13:37:40 +02:00
Fede85
81338e245b Bridge library to the 1.5 format 2013-09-06 15:38:07 +02:00