Commit Graph

2291 Commits

Author SHA1 Message Date
gardners
bd848c73e2 expanded meshms tests and fixed a bug revealed in the process. 2013-05-09 21:54:20 +09:30
gardners
74a4ae5745 add numbers to messages in meshms list messages output. 2013-05-09 21:44:05 +09:30
gardners
a3bd19a9a9 begun writing tests for meshms functions. 2013-05-09 21:32:33 +09:30
gardners
f489d74c6c add message type field 2013-05-09 21:09:33 +09:30
gardners
82dc45f511 output of meshms thread list now conforms to cli_* interface. 2013-05-09 21:07:42 +09:30
gardners
32d33255fd meshms display thread now has most required functionality. Need
to clean up and harmonise output.
2013-05-09 20:56:43 +09:30
gardners
f549fce1bb cleaned out some debugging. 2013-05-09 20:26:57 +09:30
gardners
aee3eda3eb added delivery confirmation detection logic. 2013-05-09 20:26:11 +09:30
gardners
fb2bb43cad meshms merged thread display substantial progress 2013-05-09 20:21:21 +09:30
gardners
9fcc23f43d begin work on function to return merged conversation between two
parties.  Extracts message logs, but does nothing with them yet.
2013-05-09 19:05:50 +09:30
Jeremy Lakeman
ef1e93bf52 Establish neighbour links with nodes running our legacy routing engine 2013-05-09 16:57:33 +09:30
gardners
1112c9d2ad refactor out common core of appending a message block to a bundle. 2013-05-09 14:06:42 +09:30
gardners
4c21378f40 removed parsing of redundant arguments 2013-05-09 14:02:11 +09:30
gardners
9730548fab retrieve bundle author when required. 2013-05-09 13:26:12 +09:30
gardners
ab62694c21 fixed string termination bug. 2013-05-09 13:22:51 +09:30
gardners
f47d3b3e5f open keyring before trying to add meshms messages. 2013-05-09 13:21:24 +09:30
gardners
3dd9e8741a major refactor of meshms handling to de-duplicate functionality
and simply function interfaces.
2013-05-09 13:17:24 +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
gardners
7cbd0a98ed added missing copyright message. 2013-05-03 16:29:51 +09:30
gardners
db4ad96298 fixed message length field handling. 2013-05-03 16:27:19 +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
gardners
c9995dbf52 clean up more compiler warnings etc. 2013-05-03 16:11:26 +09:30
gardners
c3a7bfdb89 various cleanups. 2013-05-03 15:52:20 +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
alexandrasclapari
b8bc580af0 Two command lines working : read message log and add message but need to fix the length (calculated by the system and not provided 2013-04-30 20:49:53 -07:00
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