Jeremy Lakeman
8fea1523b1
More consistent use of sleep_ms
2013-08-27 15:14:17 +09:30
gardners
d01e958b51
improve radio setup (its still an ugly hack) to try to avoid
...
failure to setup in mesh extenders running at 230400.
2013-07-31 10:27:10 +09:30
Jeremy Lakeman
3306cda3ab
Fix typo in uart baud rate
2013-07-12 15:43:25 +09:30
Jeremy Lakeman
944f718ff7
Convert baud rates into appropriate constant values, report any failures
2013-06-24 16:15:44 +09:30
gardners
09540c568b
reverse change that broke android compilation.
2013-05-21 12:48:14 +09:30
gardners
42c637b021
removed extraneous argument to tcgetattr()
2013-05-08 13:32:24 +09:30
gardners
d02bcdd882
report uart speed actually obtained.
2013-05-08 13:32:01 +09:30
gardners
3e7de24bdf
added uartpbs and ctsrts config options to packet radio serial
...
interface configuration options.
2013-04-26 15:16:51 +09:30
Andrew Bettison
300ec986f1
Fix warnings from gcc 4.6.3
2013-03-18 16:48:15 +10:30
gardners
fea06932e5
added new slip.c with 7-bit-high packet encapsulation, packet length
...
and CRC32.
Also added in-line RSSI report reception for RFD900 radios.
2013-02-20 15:36:24 +10:30
Jeremy Lakeman
45efb3f899
Add more raw options to serial interface
2013-02-20 15:36:24 +10:30
Jeremy Lakeman
6d9bbe2e2c
Refactor interface handling to separate encapsulation from stream type
2013-02-20 15:36:23 +10:30
Jeremy Lakeman
c7caec488a
Don't aggregate packets together on radio links
2013-02-20 15:36:23 +10:30
Jeremy Lakeman
84ad4debfa
Throttle serial radio devices when tx buffer is in use
2013-02-20 15:36:22 +10:30
gardners
0de64d0363
decoder state bug fix.
2013-02-20 15:36:22 +10:30
gardners
92f2573998
hex constants are easier to read than octal.
...
debug encapsulation.
2013-02-20 15:36:22 +10:30
gardners
69ae7e1706
prune some debugging.
...
avoid some segfaults due to lack of IP addresses in packet radio
native MDP payloads.
problems remain with SLIP encapsulation/extraction, but some packets
are already getting through.
2013-02-20 15:36:22 +10:30
gardners
834239863c
fixed some packet radio encapsulation bugs.
2013-02-20 15:36:21 +10:30
gardners
e82d2e73da
fixed handling of POLL flags on packet radio interface
...
(was not calling watch() when changing them).
2013-02-20 15:36:21 +10:30
gardners
e20cfdb59d
closer to working.
...
POLLOUT seems to get stuck once triggered.
2013-02-20 15:36:21 +10:30
gardners
7f0a22408a
more work on SLIP encoding/decoding for packet radio interfaces.
2013-02-20 15:36:21 +10:30
gardners
b70aa9b8c6
fixed problems with interface ticking on packetradio interfaces.
...
still crashes and burns.
2013-02-20 15:36:21 +10:30
gardners
a4bfdc6c75
fixed serial port reading and interface setup bugs.
...
now crashes when trying to tick packet radio interface.
2013-02-20 15:36:20 +10:30
gardners
7287a2d599
add hook for transmitting packet via packet radio interface.
...
make serial port non-blocking (which for some reason has also
killed our ability to read from it :/).
2013-02-20 15:36:20 +10:30
gardners
0268ccd21a
setup serial port mode when opening packet radio interface.
...
(now reads bytes over serial line)
2013-02-20 15:36:20 +10:30
gardners
190a5e693f
refactored packet radio code mostly into separate file.
...
began writing stateful packet decoder.
2013-02-20 15:36:20 +10:30