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
Andrew Bettison
94c6562ee1
Add erealloc() function to mem.h, mem.c
2013-04-30 17:26:27 +09:30
Andrew Bettison
deed4665fe
Fix keyring test copyright and header comments
2013-04-29 17:38:01 +09:30
Jeremy Lakeman
559b270966
Only compare routes that have all links via the same neighbour
2013-04-29 17:07:36 +09:30
Andrew Bettison
e6438d74d3
Improve keyring pack code
2013-04-29 16:00:58 +09:30
Andrew Bettison
78b3a3a8c4
Add keyring test case (combined PINs)
2013-04-29 16:00:17 +09:30
Andrew Bettison
ae69da284f
Add keyring back-compatibility test case
2013-04-29 15:11:04 +09:30
Andrew Bettison
80280de998
Improve test framework: set TFWSOURCE env var
2013-04-29 15:10:16 +09:30
Andrew Bettison
6fd49099cb
Rewrite keyring pack/unpack for extensibility
...
Use new rotbuf primitives to handle rotated buffers
2013-04-29 14:31:50 +09:30
Andrew Bettison
06cb5de304
Add new rotbuf primitives
2013-04-29 14:30:44 +09:30
Jeremy Lakeman
d7caaf4973
Add length of link record for forward compatibility
2013-04-29 10:06:22 +09:30
Jeremy Lakeman
85b885dde2
Add basic link state routing
2013-04-26 16:54:01 +09:30
gardners
bca0145b13
detect when USB serial adapters have been pulled on OSX
...
(was spinning in poll())
2013-04-26 16:51:31 +09:30