Commit Graph

2257 Commits

Author SHA1 Message Date
gardners
c871296b4f meshms list conversations implemented, and covered by simple test. 2013-05-10 20:47:33 +09:30
gardners
020ea915f3 add "meshms list conversations" command. 2013-05-10 20:30:25 +09:30
gardners
63339f4d18 all meshms tests now pass, including new encrpytion mode auto selection
tests.
2013-05-10 15:42:32 +09:30
gardners
860d402775 removed duplicated command line interface definition.
all rhizomeops tests now pass.
2013-05-10 14:08:12 +09:30
gardners
a1f32792c6 fixed automatic encryption of bundles with sender/recipient. 2013-05-10 14:05:13 +09:30
gardners
0f587fd0df fixed failing tests/rhizomeops test 38 2013-05-10 12:30:49 +09:30
gardners
82b10de0f4 Merge in recent work on meshms in servald by Alexandra and myself.
Merge commit 'dfcd35143eac7cfc35aa49e5ae6c3ca15c572e52' into meshms

Conflicts:
	commandline.c
	sourcefiles.mk
2013-05-10 12:22:16 +09:30
gardners
dfcd35143e added test for message acking. 2013-05-10 12:11:38 +09:30
gardners
fad28fbe55 prevent creation of duplicate or retrograde acks: only acks that
advance the ack position are written.
2013-05-10 12:03:37 +09:30
gardners
197f3960dd fixed name of ack message offset argument.
acks now work and are reflected in the message list output.
2013-05-09 22:40:27 +09:30
gardners
6a3ba87ec9 fixed bug handling length of ack blocks 2013-05-09 22:36:51 +09:30
gardners
0807417618 fixed bug where ack blocks were written as message blocks 2013-05-09 22:36:04 +09:30
gardners
e09cb20ef5 fixed typo in name of meshms ack commands definition. 2013-05-09 22:30:24 +09:30
gardners
89983258ad work on meshms ack messages.
put function prototypes into rhizome.h and fixed some inconsistencies
detected in the process.
2013-05-09 22:28:04 +09:30
gardners
da83ab57dc pruned out deprecated meshms messagelog command. 2013-05-09 22:13:11 +09:30
gardners
6578f3e630 further expanded two-ply meshms list test. 2013-05-09 22:11:39 +09:30
gardners
c88da2d363 expanded tests 2013-05-09 22:10:15 +09:30
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
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