Commit Graph

780 Commits

Author SHA1 Message Date
gardners
92baae2a89 hopefully fixed acking of self-announcement frames when no route
to node exists.
2012-04-28 18:09:58 +09:30
gardners
6431b4fd0a fixing bug with sending of self-announce acks before route has been
established.
2012-04-28 17:49:39 +09:30
gardners
5497b8fd0d fixed broadcast listening bug. 2012-04-28 15:20:06 +09:30
gardners
ac5ce2b29a fixed file descriptor leak. 2012-04-28 14:24:57 +09:30
gardners
07768e27f7 fixed macro to select when to build lsif() 2012-04-28 12:32:02 +09:30
gardners
4c498afd19 changed macro used to select interface listing code 2012-04-28 12:29:29 +09:30
gardners
2ab32197a7 Put new linux-specific interface listing routine in that is needed
for android, where the portable method isn't easily available.
2012-04-28 12:25:19 +09:30
gardners
6fad530b28 fixed some bugs with node info and set sid 2012-04-27 14:17:41 +09:30
gardners
47f15bf259 converted node info to return each record as a set of strings to
make it easier to parse from Java.
2012-04-27 08:27:55 +09:30
gardners
c191f951fa added debug for termination of client socket path name. 2012-04-27 07:18:02 +09:30
gardners
ef6f2ef3d3 cleaned up id_self() output. 2012-04-27 07:17:50 +09:30
gardners
7f11e25922 added count to id self/list output to help debug calls from JNI
in batphone.
2012-04-27 05:58:31 +09:30
gardners
89c08fa2c3 improved diagnostics for incorrect command line invokations.
Fixed bug in servalwrap (needed to trim arg[0])
2012-04-26 16:59:55 +09:30
gardners
51d933d8e2 servalwrap.c now knows to use libserval instead of libdnalib 2012-04-26 16:50:58 +09:30
gardners
beb2ecbdf3 fixed Android.mk to have correct path to servalwrap.c 2012-04-26 16:43:12 +09:30
gardners
50c2581ae6 Reinstated commandline wrapper and library so that we can call
it from JAva, but don't waste 700KB on duplicating the contents
of the library in the command line control executable.
2012-04-26 16:39:22 +09:30
Andrew Bettison
7a3385112a Replace bcmp() with memcmp() 2012-04-26 16:13:04 +09:30
Andrew Bettison
18eb83ebf4 JNI-ify "keyring list" output 2012-04-26 15:54:40 +09:30
Andrew Bettison
f868d54bad ServalD.command() now accepts varargs 2012-04-26 15:54:40 +09:30
Andrew Bettison
72640ade4c First output field of "rhizome list" is column count 2012-04-26 15:54:40 +09:30
gardners
e74f6ca7c2 fixed bugs in _node_info() 2012-04-26 15:48:33 +09:30
gardners
3532e236d9 fixed relevant_bytes() bug for nodeinfo messages. 2012-04-26 15:47:37 +09:30
gardners
38c240be58 using cli_delim() where appropriate. more work on "id self" /
"id list".
2012-04-26 15:47:05 +09:30
gardners
88ba56b68b work towards "node info" command, and renamed stop/start etc to
drop node keyword, that in retrospect is not appropriate.
2012-04-26 07:14:01 +09:30
gardners
d56780852c added "id peers" with maximum reuse of "id self". 2012-04-26 06:06:04 +09:30
gardners
0a3b415772 Further refinements to MDP_GETADDRS, and inserted code for peer
list retrieval.
2012-04-26 06:04:19 +09:30
gardners
35f231dcb0 preparation for allowing MDP_GETADDRS to return either local IDs,
or SIDs of peers.
2012-04-26 05:58:16 +09:30
gardners
cf2216fecf "id self" now correctly does multi-packet lists for when we have
lots of identities.
2012-04-26 05:54:54 +09:30
gardners
3f81911e6f fixed bugs in MDP_GETADDRS, now returns multi-packet lists properly
by setting the sub-ranges correctly.
2012-04-26 05:54:14 +09:30
gardners
44a416b969 added "id self" command to get all local SIDs (BatPhone needs this) 2012-04-26 05:48:06 +09:30
gardners
98c3b72cf4 mdp based dna lookup works now, but lacks duplicate suppression. 2012-04-25 20:33:25 +09:30
gardners
0133ea972a fixed infinite loop when responding to DNA lookups. 2012-04-25 20:24:08 +09:30
gardners
a2880ada1e closer to dna lookup working via mdp.
Bug to be fixed in sending replies.
2012-04-25 20:14:56 +09:30
gardners
4972da1b58 dna lookup via mdp nearly working. 2012-04-25 15:55:04 +09:30
gardners
f8a1ffc4c9 dna lookup command line utility mostly done. Now to make server
respond.
2012-04-25 15:24:21 +09:30
gardners
cd00204893 sending voice packets should now result in their being marked
as high priority (priority dispatch still outstanding).
2012-04-25 14:35:44 +09:30
gardners
dde520c465 forwarding frames preserves priority of voice packets.
voice packets now just need to be marked with the right priority...
2012-04-25 14:35:44 +09:30
gardners
ac6271c715 voice packets get priority queued. getting ready for dna lookups
via mdp.
2012-04-25 14:35:44 +09:30
gardners
e41da4322e added note to explain why packetSetSid() has no prototype (deprecated) 2012-04-25 14:35:44 +09:30
gardners
dfb8d0d482 getting ready for making dna lookup work via mdp 2012-04-25 14:35:44 +09:30
Andrew Bettison
0cbdd5b37b Android NDK build sets HAVE_JNI_H 2012-04-25 09:06:12 +09:30
Andrew Bettison
219e863999 Add another JNI command-line interface test 2012-04-25 09:06:12 +09:30
gardners
6c044d5e8d sample times are now contiguous. DTMF tone length changed to 80ms
to be multiple of 20ms as used by most codecs.
2012-04-25 05:38:45 +09:30
gardners
12be1e326e fixed unix domain socket "no buffer space" message (sockets
are buffered on receive side, not send side).
2012-04-24 21:09:27 +09:30
gardners
993412184e cleaned out some debug messages. 2012-04-24 20:58:28 +09:30
gardners
d9fd7ce33e tried to fix unix domain socket "no buffer space available" bug,
but to no avail.
2012-04-24 20:57:59 +09:30
gardners
30471f19ef added system for resending recent samples as a form of
preemptive retransmission to deal with wifi packet loss.
2012-04-24 20:49:59 +09:30
gardners
2831507c8d Added sample time info to audio packets.
Added codec default sample block times.
2012-04-24 20:26:16 +09:30
gardners
5abcbc7995 passing audio samples for VoMP now works. Sample times are not set. 2012-04-24 18:56:41 +09:30
gardners
8c86cf3b0e Fixed various bugs towards getting audio flow happening. 2012-04-24 18:56:41 +09:30