Commit Graph

2385 Commits

Author SHA1 Message Date
Jeremy Lakeman
a213872f09 Don't ack if we aren't being used in a route 2013-05-29 11:58:05 +09:30
Jeremy Lakeman
5b4e4919cf Mark resent packets so they can be dropped 2013-05-29 11:58:05 +09:30
Jeremy Lakeman
e519633f7a Resend last ACK if it is explicitly NACKed 2013-05-29 11:58:05 +09:30
Jeremy Lakeman
e5856225cf Add packet retransmissions due to missed ack's 2013-05-29 11:58:05 +09:30
Jeremy Lakeman
b10746b3a5 Add stub functions for retransmission / throttling 2013-05-29 11:58:04 +09:30
Andrew Bettison
b4100590f6 Improve configuration documentation 2013-05-29 10:52:35 +09:30
Jeremy Lakeman
e2c34b62fd Allow mdp ping to flood packets rapidly 2013-05-27 14:25:59 +09:30
Jeremy Lakeman
5fc9264c49 Make sure audio clock doesn't jump back due to out of order packets 2013-05-27 14:24:33 +09:30
Jeremy Lakeman
6a89f7a321 Improve accuracy of routing print output 2013-05-27 14:24:33 +09:30
Jeremy Lakeman
abfe6963d2 Wait for servald daemon to enter main loop for more reliable tests 2013-05-27 14:24:33 +09:30
Andrew Bettison
dfd6989a7f Fix broken links in README.md 2013-05-22 16:15:49 +09:30
Jeremy Lakeman
a71c3f3c1f Don't send broadcast payloads on interfaces with no neighbours 2013-05-22 11:57:38 +09:30
gardners
09540c568b reverse change that broke android compilation. 2013-05-21 12:48:14 +09:30
Andrew Bettison
630c7cd57d Fix bug in new bcmp() function
Was revealed by ndk-build, ie, on a system with HAVE_BCMP false
2013-05-21 12:45:33 +09:30
Andrew Bettison
f8386d5aed Define bcmp() using memcmp() on systems lacking native bcmp()
See 1e61e7a02f for equivalent changes
for bzero() and bcopy()
2013-05-17 13:59:42 +09:30
Andrew Bettison
628fba6208 Improve README.md
Add VoMP to list of new technologies

Add links to new Wiki Technology Roadmap pages for key technologies

Simplify contributor agreement PDF download links

Add link to SPI page on Wiki
2013-05-16 18:04:47 +09:30
Andrew Bettison
3c8643289e Fix bug in rotbuf_next_chunk() when rotation == 0
Caused occasional infinite loop in "keyring add" command and others
2013-05-15 16:46:39 +09:30
Jeremy Lakeman
118dcca40b Improve quality and readability of some routing tests 2013-05-10 12:05:28 +09:30
Jeremy Lakeman
ef1e93bf52 Establish neighbour links with nodes running our legacy routing engine 2013-05-09 16:57:33 +09:30
gardners
ca8dc56aaf Merge branch 'development' of github.com:servalproject/serval-dna into development 2013-05-08 13:50:44 +09:30
Jeremy Lakeman
dcdb8fcdd4 Announce all links on connection to monitor interface 2013-05-08 13:42:11 +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
Jeremy Lakeman
a59b306173 Allow for out of order packets, reduce link state spam 2013-05-08 11:37:31 +09:30
Jeremy Lakeman
c0b31a2774 Report packet acks, make routing decisions based on dropped packets 2013-05-08 11:37:02 +09:30
gardners
7fc5c0d6c0 fix unforgivable typo that broke compilation. 2013-05-08 11:03:30 +09:30
gardners
56460c29c3 add new debug option to show received byte stream. 2013-05-07 17:29:37 +09:30
gardners
109fe77df9 add new debug option to show packet radio byte stream.
make uartbps default to 57600.
2013-05-07 17:29:11 +09:30
gardners
2f4230ba2a add interface name information when reporting link score changes. 2013-05-07 15:12:00 +09:30
gardners
74245f6f57 fix building on android. 2013-05-07 15:09:22 +09:30
gardners
d44e678a4e use generate_nonce() to generate a nonce, instead of reading from
/dev/urandom every time.
2013-05-07 14:43:35 +09:30
gardners
dc49671583 take sleep() out of urandomdev(), since it just causes problems, and
read() should block if there aren't bytes available yet.
2013-05-07 14:42:47 +09:30
gardners
3f77702ee6 add nonce generation function to remove strain on /dev/urandom on
slow embedded devices. Wrote test to make sure that nonces are
indeed unique.
2013-05-07 14:41:59 +09:30
gardners
243a26707e reset urandomfd if it delivers an EBADF (seeing this on Mesh Extenders) 2013-05-07 13:52:19 +09:30
gardners
0898981807 add time stamp to rssi.csv 2013-05-07 13:40:38 +09:30
gardners
3692a959d5 add rssi.csv http request 2013-05-07 13:40:07 +09:30
Jeremy Lakeman
af14aaa740 Fix network scanning 2013-05-03 17:00:39 +09:30
Jeremy Lakeman
f405ba5337 Send sequence number on all broadcast frames 2013-05-03 16:23:23 +09:30
Jeremy Lakeman
b316de041e Extra tests for failures 2013-05-03 16:21:30 +09:30
Jeremy Lakeman
b8a2026618 Use appropriate cli interface functions for console output 2013-05-03 16:21:29 +09:30
Jeremy Lakeman
79f4a78278 Add link state monitor commands 2013-05-02 16:19:59 +09:30
Jeremy Lakeman
a29c1d3468 Don't override subscriber interface due to unicast probe packets 2013-05-02 14:29:31 +09:30
Jeremy Lakeman
dd03014b44 Choose the best link from a neighbour 2013-05-02 14:29:31 +09:30
Jeremy Lakeman
9ee09e36a0 Replace old routing engine with new link state engine 2013-05-02 14:29:28 +09:30
Jeremy Lakeman
c6a9564dc3 Track incoming neighbour links w. multiple common interfaces 2013-05-02 14:28:32 +09:30
Andrew Bettison
4e48725c93 Merge branch 'new-keyring' into 'development' 2013-04-30 17:57:59 +09:30
Andrew Bettison
cf26a77019 Use "keyring dump" command in back-compatible keyring test 2013-04-30 17:56:10 +09:30
Andrew Bettison
1f10f05302 Add "keyring dump" command 2013-04-30 17:29:06 +09:30
Andrew Bettison
74c82648f2 Fix rotbuf_advance(), add rotbuf_remain() 2013-04-30 17:28:32 +09:30
Andrew Bettison
ba57855160 Add alloca_str_toprint_quoted() macro to str.h 2013-04-30 17:27:10 +09:30